Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

M Language (Power Query Formula) Cheat Sheet

M Language (Power Query Formula) Cheat Sheet

Back to Business Intelligence
Updated 2026-03-18
Next Topic: Marketing Analytics and Attribution Modeling Cheat Sheet

M Language (Power Query Formula Language) is a functional, case-sensitive mashup language used in Microsoft Power Query for data transformation and preparation across Power BI, Excel, and other Microsoft platforms. Built on a let-in expression structure, M enables powerful ETL operations including filtering, combining, and reshaping data from diverse sources. Understanding M's query folding capability—where transformations are pushed to the data source—is critical for performance, while its lazy evaluation and extensive function library (700+ functions) provide flexibility for complex data workflows without sacrificing efficiency.

What This Cheat Sheet Covers

This topic spans 25 focused tables and 245 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Language FundamentalsTable 2: Data TypesTable 3: OperatorsTable 4: Conditional LogicTable 5: Error HandlingTable 6: Type ConversionTable 7: Text FunctionsTable 8: Number FunctionsTable 9: Date FunctionsTable 10: Time and Duration FunctionsTable 11: List FunctionsTable 12: Table Construction and InformationTable 13: Table Column OperationsTable 14: Table Row OperationsTable 15: Table Sorting and GroupingTable 16: Table Combining OperationsTable 17: Custom FunctionsTable 18: Record FunctionsTable 19: Data Source ConnectorsTable 20: JSON and XML ParsingTable 21: Performance and Query FoldingTable 22: Advanced PatternsTable 23: Splitter and Combiner FunctionsTable 24: Null and Missing Value HandlingTable 25: Type System Functions

Table 1: Language Fundamentals

ConceptExampleDescription
let-in expression
let
Source = 1,
Result = Source + 1
in
Result
• Core syntactic structure defining variables (after let) and returning a final value (after in)
• every query uses this pattern
case sensitivity
Text.Upper("abc")
text.upper("abc") // error
• All identifiers, keywords, and function names are case-sensitive
• Text.Upper and text.upper are different
each keyword
List.Transform({1,2,3}, each _ * 2)
• Shorthand for creating single-parameter lambda functions
• each is syntactic sugar for (_) => ...
underscore (_) iterator
Table.SelectRows(data, each [Sales] > 100)
• Represents the current item in iteration contexts when using each
• refers to current row, list item, or value

More in Business Intelligence

  • Looker Studio Cheat Sheet
  • Marketing Analytics and Attribution Modeling Cheat Sheet
  • Agentic Analytics and AI Copilots in BI Cheat Sheet
  • Data Literacy and Data Democratization Cheat Sheet
  • Financial Analytics and FP&A Cheat Sheet
  • Power BI Cheat Sheet
View all 46 topics in Business Intelligence