TGViewer
Data Analytics Data Analytics @sqlspecialist · 111K subscribers
Post #3127 2.81K
These are generally better candidates for measures, because they need to respond dynamically to report filters.

🎯 Power BI Interview Questions

•

What is DAX? DAX is the formula language used in Power BI for analytical calculations.

•

What is the difference between a calculated column and a measure? A calculated column calculates values row by row and stores them in the model. A measure calculates dynamically based on the current filter context.

•

What is filter context? The set of filters affecting a DAX calculation.

•

What is row context? The current row being evaluated, particularly relevant to calculated columns and certain DAX iterators.

•

What does CALCULATE() do? It evaluates an expression after modifying the filter context.

•

Why use DIVIDE()? It provides safer division handling, especially when the denominator can be zero or blank.

🎯 Practice Task

Create these measures in a sample Sales model:

• Total Sales = SUM(Sales[Sales_Amount])

• Total Cost = SUM(Sales[Cost])

• Total Profit = [Total Sales] - [Total Cost]

• Profit Margin = DIVIDE([Total Profit], [Total Sales])

Then create Cards for each measure. Add a Region slicer. Change the region and observe what happens. This is one of the easiest ways to understand filter context practically.

💡 The biggest DAX concept to understand at this stage is: A measure doesn't simply calculate a number. It calculates a number based on the current context of your report.

Power BI Resources: https://whatsapp.com/channel/0029Vai1xKf1dAvuk6s1v22c

Double Tap ❤️ For Part-5
  • ❤ 5
More from @sqlspecialist
  1. Oct 4, 20269️⃣ How would you calculate month-over-month growth? Sample Answer: “I would first retriev…
  2. Oct 4, 2026📊 Data Analyst Interview Series — Part 3 Guys, let's continue our Data Analyst Interview…
  3. Sep 29, 2026🔟 How would you find duplicate records in SQL? Sample Answer: "I would first identify the…
  4. Sep 29, 2026📊 Data Analyst Interview Series — Part 2 Guys, let's continue our Data Analyst Interview…
  5. Sep 29, 2026𝗙𝗥𝗘𝗘 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀 𝗧𝗼 𝗟𝗲𝗮𝗿𝗻 𝗔𝗜 𝗶𝗻 𝟮𝟬𝟮𝟲🚀 ​ Explore 6 free resource…
  6. Sep 29, 2026"After identifying duplicates, I investigate whether they are genuine duplicate records or…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →