DAX in Power BI for Data Science & Analytics

Measures vs Calculated Columns

Learn the difference between DAX measures and calculated columns in Power BI. Understand row-level calculations, dynamic aggregations, filter context, model design, and how to choose the right DAX object for real-world analytics questions.

8

Interactive Concepts

8

Practical Decisions

8

Related MCQs

Measure

  • • Designed for analytical calculations
  • • Evaluated when used
  • • Responds to filter context
  • • Common for KPIs and aggregations

Calculated Column

  • • Produces a value for each row
  • • Becomes part of the model
  • • Useful for row-level logic
  • • Can be used as a field in visuals

Concept 1 of 8

13%

CONCEPT 1

What Is a Measure?

Understand why measures are created for dynamic calculations that respond to the current filter context of a Power BI report.

Measure = Dynamic CalculationSales Data₹500K→MeasureTotal Sales→KPI₹500KApply a report filter → the measure can produce a different result.

A measure answers a business question dynamically

Imagine a Power BI report containing sales for several regions. A measure such as Total Sales can calculate the relevant sales amount when it is placed into a visual.

Total Sales = SUM(Sales[Amount])

The important idea is not just the formula. The result depends on the context in which the measure is being evaluated.

Which DAX object is designed for this type of dynamic analytical calculation?

Measures vs Calculated Columns in DAX

Measures and calculated columns are two important concepts in Power BI DAX. Understanding their different purposes helps analysts design models that answer business questions efficiently. A calculated column produces a value for each row, while a measure is generally used for dynamic analytical calculations that respond to the context in which the measure is used.

When to Use a Measure

Measures are commonly used for metrics such as Total Sales, Average Order Value, Profit, Profit Margin, and other calculations that need to respond to report filters and visual context.

When to Use a Calculated Column

Calculated columns are useful when you need a value associated with each individual row. Examples include calculating profit for each order, creating a classification from row-level information, or generating another field that can be used as part of the data model.

The Key Analytical Question

Before writing DAX, ask: “Am I trying to create a value for every row, or am I trying to calculate a business metric from the data?” This simple distinction can help guide the choice between a calculated column and a measure.

What This Interactive Lesson Covers

  • • Measures and dynamic analytical calculations
  • • Calculated columns and row-level calculations
  • • Measures versus columns using the same dataset
  • • Choosing the right DAX object
  • • Filter-driven measure behavior
  • • Data-model considerations
  • • Debugging poor DAX design choices
  • • Real-world business decision making