Introduction
DAX (Data Analysis Expressions) is the heart of Power BI.
Most users struggle not because DAX is hard but because they don’t know which formulas are used in real projects.
This DAX Cheat Sheet gives you:
50+ most-used DAX functions
Simple explanations
Practical examples
Interview + project-ready formulas
Basic Aggregation Functions
SUM
AVERAGE
MIN / MAX
COUNT / DISTINCTCOUNT
CALCULATE – Most Important DAX Function
CALCULATE
Changes filter context.
CALCULATE with Multiple Filters
Filter Functions
FILTER
ALL
Removes filters.
ALLSELECTED
Keeps slicer filters.
Time Intelligence Functions
TOTALYTD
SAMEPERIODLASTYEAR
YoY Growth
TOTALMTD / TOTALQTD
Logical Functions
IF
SWITCH
Mathematical Functions
DIVIDE (Recommended)
ROUND
Text Functions
CONCATENATE
FORMAT
Relationship Functions
RELATED
USERELATIONSHIP
Ranking Functions
RANKX
Table & Iterator Functions
SUMX
AVERAGEX
Variables (Best Practice)
VAR
✔ Faster
✔ Cleaner
✔ Easy to debug
Date & Time Functions
TODAY / NOW
Security (RLS)
USERPRINCIPALNAME
Common Interview DAX Patterns
Percentage of Total
Running Total
Performance Tips (VERY IMPORTANT)
✔ Prefer Measures over Calculated Columns
✔ Avoid FILTER on large tables
✔ Use VAR
✔ Reduce nested CALCULATE
✔ Use proper data model (Star Schema)
How to Use This DAX Cheat Sheet
- Bookmark this page
- Practice 5–6 formulas daily
- Apply them in real projects
- Revise before interviews
Conclusion
You don’t need to memorize all DAX functions.
Mastering core 20–30 formulas from this cheat sheet will make you confident in:
Projects
Interviews
Real business dashboards
👉 Save this page — it will help you again and again.
.png)