Locked lesson.
About this lesson
It's now time to apply our knowledge of basic formulas, and build measures that add business intelligence value to our sample model.
Exercise files
Download this lesson’s related exercise files.
Basic Measures – Application.xlsx874 KB Basic Measures – Application - Completed.xlsx
871.3 KB
Quick reference
Basic Measures – Application
A demonstration of creating explicit measures.
When to use
When you want to begin writing basic DAX measure formulae for Power Pivot.
Instructions
Creating basic measures:
- Go to the Power Pivot tab and select
- Excel 2016 & Higher: Measures --> New Measure
- Excel 2013: Calculated Fields --> New Calculated Field
- Select the table on which to store the measure
- Enter the measure name
- Enter the formula for the measure
- Click the Check Formula tab to ensure the measure is working correctly
- Set the default formatting options
Modifying a measure:
- Go to the Power Pivot tab and select
- Excel 2016 & Higher: Measures --> Manages Measure
- Excel 2013: Calculated Fields --> Manage Calculated Fields
- Select the measure to change --> Edit
- Modify the measure as desired
Hints & tips
- When building your measure, it is recommended to use the TAB key to commit each piece of your formula to ensure you get the correct syntax
- When using an aggregation function, ensure you always preface any column name with the table name
- Updating a formula in the measure updates all visuals immediately
- When writing the measure formula, you can make the text bigger by holding down CTRL and rolling the mouse wheel
Lesson notes are only available for subscribers.