πThe Short Answer
If you remember one rule: if it goes on an axis or slicer, it can be a column; if it goes in the values of a visual, it should be a measure.
πHow a Calculated Column Works
Line Amount = Sales[Quantity] * Sales[UnitPrice]Price Band = IF ( Product[ListPrice] >= 1000, "Premium", "Standard" )πHow a Measure Works
Total Sales = SUMX ( Sales, Sales[Quantity] * Sales[UnitPrice] )Margin % = DIVIDE ( [Total Profit], [Total Sales] )πSide by Side
πExamples: Which Should It Be?
πWhy Margin % as a Column Is Wrong
A row level margin column, summed or averaged in a visual, gives the wrong answer because ratios are not additive. The correct margin is total profit divided by total sales in the current context, which only a measure gives.
πColumns: DAX vs Power Query vs SQL
If a column only depends on the same row, create it in Power Query or SQL instead of DAX. It compresses better, keeps logic upstream, and refresh is often faster. Use DAX calculated columns mainly when you need data from related tables or model level logic, such as RELATED or ranking across the table. See the Power Query tutorial.
πCalculated Tables
Calculated tables are created with DAX table expressions, for example a date table or a summary table:
Date = CALENDAR ( DATE ( 2023, 1, 1 ), DATE ( 2026, 12, 31 ) )They are stored like imported tables and recalculated at refresh.
πImplicit vs Explicit Measures
Dragging a numeric column into a visual creates an implicit measure (Power BI sums it automatically). Professionals write explicit measures instead:
You can discourage implicit measures in model settings.
πPerformance Impact
Too many calculated columns on large fact tables bloat memory and slow refresh. Too many complex measures in one visual slow queries. Balance them, and measure with Performance Analyzer. See the performance guide.
πInterview Answer Template
"A calculated column is computed row by row at refresh using row context and stored in the model, so it uses memory and does not respond to slicers. A measure is computed at query time in the filter context of each visual cell, is not stored, and responds to interaction. I use columns for attributes I slice or relate by, ideally created in Power Query or SQL, and measures for every aggregation and KPI."
More in Power BI interview questions.
πFrequently Asked Questions
Which is faster, a calculated column or a measure?
Columns cost memory and refresh time; measures cost query time. For aggregations, measures are the right choice and perform well on a good model.Can I use a measure in a slicer?
Not directly. Use a calculated column, or a field parameter, or a disconnected table pattern.Can a measure reference a calculated column?
Yes. Measures can aggregate calculated columns like any other column.What is row context vs filter context?
Row context is the current row in a column or iterator. Filter context is the set of filters on a calculation. See the DAX cheat sheet.πLearn It Live
Prakalpana's Power BI course teaches DAX concepts like row and filter context hands-on, taught live online with an optional 1-on-1 track. See the Power BI learning path, then WhatsApp or call +91 9180377502 for a free demo.