Reading Time: 8 Mins | Level: Beginner to Advanced
A Calculated Measure is a dynamic DAX calculation that does not store values in tables. Instead, it computes values on demand in response to the active Filter Context created by visual elements, slicers, row headers, and column headers.
Consider this visual: A table showing Total Sales by City.
City = "Delhi".SUM(Sales[Revenue]) automatically evaluates only for rows where City == "Delhi".City = "Mumbai".CALCULATE()CALCULATE() is the most important function in all of Power BI. It is the only function that can modify, override, or clear the active Filter Context:
ALL() function do when used inside CALCULATE([Total Sales], ALL(Product[Category]))?USERELATIONSHIP() function do inside CALCULATE()?Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| Basic Functions (SUM, AVERAGE, COUNT) | Bar, Line, and Pie Charts |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.
Combine 15 complete courses, 150 chapters, 541 topics, live SQL/Power BI/Tableau dashboards, and Scikit-Learn capstones at MSK Institute Shikohabad or Live Online.