94 in-depth articles — from Excel foundations to production machine learning. Filter by topic or difficulty to find exactly what you need.

Native Query Diagnostics only goes so far. Learn how to build a full diagnostic harness directly in M that captures per-step execution time, row counts, and anomaly detection — giving you precise bottleneck identification in complex multi-step pipelines.

Most Power Query practitioners either don't know fuzzy matching exists or apply it naively and produce garbage results. This deep-dive lesson covers how the n-gram Jaccard engine actually works, how to build multi-field probabilistic scoring with blocking for scalability, and how to validate your results with precision and recall — so you can trust what comes out.

Generic date tables break when fiscal years, ISO week numbering, and holiday-aware working day calculations enter the picture. This lesson walks you through building a fully parameterized Power Query M function that handles all three — with production-ready code you can deploy today.

Learn how to build production-ready cross-tabulated reports entirely in Power Query. This lesson goes beyond the Pivot Column dialog to teach you how to pre-aggregate data, add dynamic totals rows and columns, enforce column order, and handle the edge cases that break most pivot implementations.

Most Power Query users never touch binary data — but when a legacy system or API throws raw bytes at you, the M language has everything you need to parse it. This lesson teaches you how to read binary files, decode typed values from byte positions, and build a complete parser that converts any structured binary format into a clean, queryable table.

Learn how to filter and sort rows in Power Query with genuine control — not just clicking dropdowns, but understanding the M code behind each step. This lesson uses a realistic sales dataset to teach text filters, date ranges, number conditions, multi-column sorting, and troubleshooting the mistakes that trip up beginners.

Stop letting schema drift silently corrupt your Power Query reports. Learn how to build a full validation and type enforcement pipeline in M that checks column presence, type compatibility, and nullability against an explicit contract — and tells you exactly what went wrong when it doesn't match. This is the data quality architecture your Power BI models have been missing.
Most analytics models quietly corrupt historical data by overwriting dimension attributes without any tracking strategy. This deep-dive lesson teaches you to implement both Type 1 (overwrite) and Type 2 (version) SCD merge patterns entirely in Power Query M, with complete code, realistic scenarios, and honest guidance on when the tool reaches its limits.

Most Power BI developers hit a wall when their data source isn't natively supported — and reach for workarounds that create maintenance debt. This lesson teaches you to build production-grade custom connectors from scratch using M language, covering everything from HTTP authentication and cursor pagination to schema enforcement, signing, and gateway deployment.

Stop maintaining static date CSVs that break at year-end. This deep-dive lesson shows you how to build a fully dynamic, self-updating date dimension table in Power Query M code — complete with fiscal year logic, ISO week numbers, and relative date flags that update automatically on every refresh.

Most Power Query users hardcode column names and write static transformations — then their queries break the moment the source data changes. This lesson teaches you to use M's if-then-else, the each keyword, and predicate functions to write queries that think dynamically, adapt to schema changes, and classify rows with multi-condition logic.

Power Query doesn't run your steps in the order you wrote them — it uses a dependency-driven evaluation model that surprises almost every new user. Learn how the M engine actually decides what to compute, when, and why, so you can write faster and more reliable queries.