A community-driven Power Query M function reference, hosted at pqm.guide.
PQM.guide documents 161 Power Query M functions across 27 categories with clear syntax references, visual output examples, and practical best practices. Think of it as DAX.guide for the M language.
PQM.guide is open to contributions from the Power Query community. Whether you want to fix a typo, improve an example, or add a new function page, here's how:
- Fork this repository
- Find the function file you want to edit in
src/content/functions/(e.g.,table-addcolumn.mdx) - Make your changes and submit a pull request
Function pages are MDX files in src/content/functions/ with YAML frontmatter. Use any existing file as a template. Key rules:
- File naming:
category-functionname.mdxin lowercase (e.g.,text-contains.mdx) - Examples must use shared sample tables (Sales, Customers, Products, Employees, OrderLog) — never
Table.FromRecordsfor sample data - Output format: Wrap expected output in
<!--output ... -->HTML comments as JSON withcolumnsandrows - See the Sample Tables page for available data
npm install
npm run devOpen http://localhost:3000 to preview the site.
If you're not comfortable with pull requests, you can:
- Open an issue to report errors or suggest improvements
- Start a discussion to propose new content or features
- Next.js 16 with App Router
- React 19
- Tailwind CSS 4
- TypeScript, MDX, PrismJS