← Files Power BI Report CopilotARCHIVED FILE

references/power-query-folding.md

960 Bytes · Dec 2, 2026 · 18:44 UTC

↓ Download file

See the change to this file →

# Power Query transformations and folding
Establish connector, source location, privacy settings, data types, locale, nulls and intended grain. Push filters and projection to the source when practical and when documented folding behavior supports it. Folding varies by connector and step; never assert without query plan, diagnostics, or verifiable evidence.
Common failures: numeric conversion strips leading-zero IDs; locale changes decimal/date parsing; custom M functions prevent folding; type errors during service refresh; timezone conversions shift report dates; merges create multiplicity. Keep transformations auditable, reversible and appropriately placed at source, Power Query or semantic model.
M code should have named steps, stable column names and explicit type transforms. Test with null/empty/bad-type rows; do not claim native query exists when none was observed.
Official: https://learn.microsoft.com/en-us/power-query/query-folding-basics

SHA-256: 43f4982275f832aa99a57aba120310ba34ec73302ef3c0325bd753771e22a175