PQM.guide

Community-driven Power Query M language reference with visual table examples. No more Table.FromRecords.

New to M? Start Here →
An 8-step learning path from the M paradigm to query folding.
Practical Patterns →
Real-world M recipes: joins, pagination, fuzzy matching, and more.
Search 661 functions
Press Ctrl+K to search by name or description.

Recently Edited

Web.Contentsfunction
Downloads content from a URL as binary.
2026-04-07
API Authentication with Web.Contentspattern
Pass API keys, Bearer tokens, and query parameters to authenticated REST APIs using the Web.Contents options record — including how to handle token refresh and avoid hardcoding secrets.
2026-04-07
Where Power Query Runsconcept
A complete map of every environment where Power Query M can be executed — from desktop tools to cloud dataflows to the new Fabric programmatic API.
2026-04-03
The M Paradigmconcept
Why M is a functional language, what immutability means in practice, and how this shapes the way you write queries.
2026-03-11
Table.Joinfunction
Joins two tables on key columns, returning a flat combined table.
2026-03-08

Patterns

View all 18
Conditional Column LogicBeginner
Use if/then/else inside Table.AddColumn to classify, label, and derive values from row data — the most common M transformation pattern.
Null-Safe OperationsBeginner
Understand how null propagates silently through M expressions and learn the standard patterns for defaulting, filtering, and intentionally preserving null values.
Parameterized QueriesBeginner
Build queries that accept parameters — from simple Power BI parameters to dynamic function-based filtering — without hardcoding values.
Cross-Query Lookup (VLOOKUP in M)Intermediate
Look up values from one table in another — the M equivalent of VLOOKUP — using Table.NestedJoin or direct list lookup patterns.
Accessing Data
Functions for connecting to and reading from data sources.
70 functions
Binary
Functions for working with binary data.
40 functions
Combiner
Functions that combine multiple values into a single value.
5 functions
Comparer
Functions for comparing values with customizable comparison logic.
4 functions
Date
Functions for creating, manipulating, and extracting parts of date values.
58 functions
DateTime
Functions for working with combined date and time values.
26 functions
DateTimeZone
Functions for date/time values with timezone information.
16 functions
Duration
Functions for working with time duration values.
13 functions
Expression
Functions for evaluating and working with expressions.
12 functions
Function
Functions for working with function values.
6 functions
Lines
Functions for converting text to and from lists of lines.
4 functions
List
Functions for creating, manipulating, and transforming lists.
71 functions
Logical
Functions for logical (boolean) operations.
3 functions
Number
Functions for numeric calculations, conversions, and formatting.
52 functions
Record
Functions for creating, accessing, and transforming records.
17 functions
Replacer
Functions used as replacer arguments in other functions.
2 functions
Splitter
Functions used to split text values.
10 functions
Table
Functions for creating, transforming, and querying tables.
131 functions
Text
Functions for working with text (string) values.
43 functions
Time
Functions for creating and manipulating time values.
10 functions
Type
Functions for working with the M type system.
24 functions
URI
Functions for encoding and decoding URI components.
4 functions
Value
Functions for inspecting and comparing values of any type.
40 functions