MSK Institute LogoMSK.Institute
HomeCourses
Book Free Demo➔Sign In
Free Demo➔
MSK Institute LogoMSK.Institute

Leading computer training academy in Shikohabad for software engineering, Python, web development, and digital literacy.

ISO 9001:2015 Certified Center
Follow & Connect
4.9

Programs & Admissions

  • All CoursesCatalog
  • Learning PathsRoadmaps
  • Student ProjectsShowcase
  • Live Classes & ScheduleLive
  • Upcoming Batches
  • Campuses & LocationsHub
  • Verify Certificates
  • Book Free Demo Class

Resources & Tools

  • Free Online Mock TestsAll Tests
  • NIELIT CCC Mock TestFree
  • Course & Career FinderQuiz
  • Study Material Hub
  • All MSK ToolsHub
  • Keyboard ShortcutsNew
  • TypeQuest Speed LabTyping
  • MSK Code PlaygroundCode
  • Interactive Tutorials
  • Quick Cheatsheets

Institute & Contact

  • About MSK Institute
  • Careers & InternshipsHiring
  • Publications & Blogs
  • Gali No. 3, Near Gyan Jyoti Public School,
    Adarsh Nagar, Shikohabad, Uttar Pradesh 283135
  • +91 83930 42166
  • mskshikohabad@gmail.com
  • Hours:Mon – Sat: 8:00 AM – 7:00 PM | Sun: 10:00 AM – 2:00 PM
  • 4.9 ★(38 Google Reviews)
© 2026 MSK Institute. All rights reserved.•Privacy Policy•Terms of Service•Disclaimer•Contact Us

Shikohabad's Leading Computer & Coding Academy

Home
Courses
Live
Material
Calculated Measures0%
Study MaterialsCheatsheet
Power BIProgress 0%
1.1What is Power BI?1.2Power BI Desktop vs Service1.3Power BI Workflow Overview
5.1What is DAX?5.2Basic Functions (SUM, AVERAGE, COUNT)5.3Calculated Measures
HomeTutorialsPower BICalculated Measures
Bar, Line, and Pie Charts

Calculated Measures

Beginner12 min read•Updated: 2026-11-18•By Er. Sumit Kumar (MSK Institute)
Study MaterialsCheatsheet

Reading Time: 8 Mins | Level: Beginner to Advanced


1. What is a Calculated Measure?

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.


2. The Concept of Filter Context

Consider this visual: A table showing Total Sales by City.

  • For the row showing "Delhi", the filter context is City = "Delhi".
  • The measure SUM(Sales[Revenue]) automatically evaluates only for rows where City == "Delhi".
  • For the "Mumbai" row, the filter context shifts to City = "Mumbai".

3. The Crown Jewel of DAX: 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:

1// Overrides active city filter to calculate Delhi Sales anywhere!
2Delhi Sales = CALCULATE(
3 [Total Sales],
4 Customers[City] == "Delhi"
5)
6 
7// Clears all filters to calculate Grand Total (% of Total)
8All Region Sales = CALCULATE(
9 [Total Sales],
10 ALL(Customers[Region])
11)
12 
13Percent of Total = DIVIDE([Total Sales], [All Region Sales], 0)

Interactive Quiz• Knowledge Check

Multiple Choice Questions

Question 1
Which function is considered the most powerful and fundamental in DAX because it can modify the active filter context?
Question 2
What does the ALL() function do when used inside CALCULATE([Total Sales], ALL(Product[Category]))?
Question 3
What is 'Filter Context' in Power BI?
Question 4
What is the recommended best practice for organizing DAX measures in a complex Power BI report?
Question 5
What does the USERELATIONSHIP() function do inside CALCULATE()?

Next Lesson

Bar, Line, and Pie Charts

Continue learning with hands-on practice, examples, and exercises in the upcoming topic.

Related Lessons

Previous LessonNext Lesson
Basic Functions (SUM, AVERAGE, COUNT)Bar, Line, and Pie Charts

Practice Quiz

Test your understanding of this lesson with 5 questions. Each question has one correct answer.

12-Month Data Analysis Mastery Program

Master Full-Stack Data Analytics (Excel, SQL, Python, Power BI & Tableau)

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.

View Full CourseBook Free Demo
PreviousNext
PreviousPrevNext