
Power BI Power Query: Enterprise Guide 2026
Power BI Power Query enterprise guide — connector strategy, M-language patterns, query folding, Microsoft Fabric Dataflow Gen2, storage mode (Import/DirectQuery/DirectLake), incremental refresh, governance, M365 Copilot integration.
Power BI Power Query enterprise guide — connector strategy, M-language patterns, query folding, Microsoft Fabric Dataflow Gen2, storage mode (Import/DirectQuery/DirectLake), incremental refresh, governance, M365 Copilot integration.

Power Query (M language) is the data ingestion and transformation engine in Power BI, Microsoft Fabric, Excel, Power Apps, Power Automate, and Microsoft Dataverse. This is the working enterprise Power Query playbook EPC Group uses for Fortune 500 deployments — connector strategy, M-language patterns, query folding, dataflow architecture, governance, and Microsoft Fabric integration.
EPC Group has delivered Power Query / M / dataflow engagements for Fortune 500 healthcare, financial services, government, manufacturing, and technology since the Power BI Project Crescent beta (2010-2013).
| Decision | Default |
|---|---|
| Where to transform | Push to source (T-SQL) > Power Query > DAX measure |
| Ingestion topology | Microsoft Fabric Dataflow Gen2 for shared, semantic-model Power Query for solo |
| Query folding | Always preferred — verify with Native Query view |
| Storage mode | Import for small (<5GB), DirectQuery for live, DirectLake for OneLake-anchored |
| Refresh strategy | Incremental refresh for large fact tables, full for dimensions |
| Composite models | Mix Import + DirectQuery for performance + freshness balance |
200+ first-party connectors across:
500+ third-party connectors:
For systems without built-in connectors:
Query folding is the M language compiler pushing transformations to the source as native query. Without folding:
With folding:
Always verify folding via "View Native Query" in Power Query Editor.
Most filtering, joining, aggregating, and column operations fold to T-SQL:
Table.SelectRows (WHERE)Table.NestedJoin / Table.Join (JOIN)Table.Group (GROUP BY)Table.AddColumn with simple expressionsTable.Sort (ORDER BY)Table.Distinct (DISTINCT)Table.RenameColumnsTable.SelectColumns (column projection)Avoid these in early steps (they break folding):
Table.AddColumn with custom M functionTable.Buffer (forces local execution)Table.PromoteHeaders on certain sourcesIf you must use these, apply them last in the query (after folding-compatible operations).
Modern Power Query at enterprise scale:
Legacy pattern for shared Power Query at workspace scale:
EPC Group recommends Dataflow Gen2 (Microsoft Fabric) over Gen1 for new deployments.
Standard hub-and-spoke:
Source Systems (SQL, Snowflake, Salesforce)
→ Dataflow Layer 1: Raw Ingestion (minimal transformation)
→ OneLake Bronze
→ Dataflow Layer 2: Cleaned / Conformed
→ OneLake Silver
→ Dataflow Layer 3: Business-Aligned Marts
→ OneLake Gold
→ Power BI Semantic Models (Import / DirectLake)
→ Power BI Reports
Best for: Small to medium datasets (<5GB compressed), low-latency queries, predictable data freshness via scheduled refresh.
Pattern: Power Query → Power BI compressed in-memory model → fast queries.
Best for: Large datasets, real-time freshness needs, security pushed to source.
Pattern: Power Query → DirectQuery (no import) → live queries to source on each interaction.
Trade-off: Slower visual queries, but real-time data and no refresh cycles.
Best for: Microsoft Fabric Lakehouse / Warehouse data, Power BI Copilot use cases, low-latency over large data.
Pattern: Power Query writes to OneLake Delta tables → Power BI semantic model in DirectLake mode reads Delta directly.
Performance: 60-80% faster than Import for typical Fortune 500 workloads.
Mix Import + DirectQuery + DirectLake in same semantic model:
For fact tables larger than 1GB or refresh windows under 30 minutes.
RangeStart and RangeEnd parameters
Filter on date column: [Date] >= RangeStart AND [Date] < RangeEnd
Configure incremental refresh policy:
- Archive period: 5 years (data retained)
- Refresh period: 7 days (data refreshed)
- Detect data changes: optional, requires "modified" column
- Enable real-time refresh with DirectQuery on incremental partitions: optional
Microsoft Purview Data Map captures Power Query lineage:
Power Query writes to Microsoft Fabric Lakehouse in Delta Lake format:
Power Query writes to Microsoft Fabric Warehouse:
Power Query Copilot (preview):
For shared transformations across multiple semantic models or workspaces, use Microsoft Fabric Dataflow Gen2. For semantic-model-specific transformations, use Power BI Desktop. EPC Group standard pattern: shared dimensions and base facts in dataflows; model-specific transformations in semantic model.
Microsoft Fabric workspaces with Microsoft Entra security group access. CI/CD via Microsoft Fabric Git integration. Microsoft Purview lineage and sensitivity labels. Microsoft Sentinel audit ingestion.
Yes. Healthcare (HIPAA), financial services (FINRA, SEC), government (FedRAMP), and pharma (GxP) deploy Power Query / dataflows successfully. The combination with Microsoft Purview (lineage, sensitivity labels, audit) makes Power Query a foundational tool for regulated analytics.
Microsoft Power Query Copilot (preview) provides natural-language-to-M-code generation, transformation suggestions, and error correction. Available in Power BI Desktop and Microsoft Fabric Dataflow Gen2 with appropriate capacity tier.
EPC Group senior architects with Power BI / Power Query experience since the Project Crescent beta (2010-2013). Errin O'Connor was on the original Microsoft Power BI beta team and is a 4-time Microsoft Press author including a Power BI book.
Schedule a 30-minute Power Query / dataflow discovery call at /schedule or call (888) 381-9725. Senior architects (not sales) take discovery calls.
Related reading: Microsoft Fabric Quickstart Assessment, Microsoft Fabric Consulting Services Guide, Power BI Row-Level Security Enterprise Guide, Power BI Premium Pricing Licensing Guide, and Audit-Ready Analytics Compliance Framework Guide.
CEO & Chief AI Architect
Microsoft Press bestselling author with 29 years of enterprise consulting experience.
View Full ProfileWhy Fortune 500 enterprises are consolidating Tableau workloads to Microsoft Power BI in 2026. The 4-phase migration runbook, cost comparison, governance continuity, and Power BI Beta Team founding-member methodology from 29 years of Microsoft consulting.
Power BIMicrosoft is consolidating Power BI Premium capacity into Microsoft Fabric F-SKUs. When existing Power BI Premium customers should migrate, the F64 inflection point, and the migration playbook for Fortune 500.
Power BIPower BI May 2026 enterprise rollout: Visual Calculations GA, Exploration Perspective, Copilot Summarize. Governance patterns, migration plan, semantic model impact.
Our team of experts can help you implement enterprise-grade power bi solutions tailored to your organization's needs.