Module 04 · DAX basics
Calculated columns
Add a new column computed row-by-row.
-
Step 1: Select the Sales table, then Table tools → New column, and type this DAX expression:
DAXProfit = Sales[Revenue] - Sales[Cost] -
Step 2: The new column appears in the Data pane, ready to use in visuals.
Watch out: Columns are stored in the model and use memory. For aggregations, prefer measures.