Measures and filter context: reading a dashboard formula
A dashboard number is made by a formula, and the same formula can show different numbers on different pages. Learn what a measure is and why filters change it.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a till total for one cashier. A shop till shows the day's total. Ask for one cashier, or one hour, and it shows a different total. The till did not break. The question changed.
What it is: A is a formula that works out a number each time a report is read. In Power it is written in DAX (Data Analysis Expressions), and it lives in the data model, not in a single cell. Filter context in a report is the set of filters, slicers, and row labels active at that moment. A measure definition is the plain sentence that says what the number counts and what it leaves out. The nearest neighbour is a calculated column, stored on each row when the data loads. Another neighbour is the sum Power BI invents when you drag a numeric column onto a visual. That sum has no name you agreed, and it still defaults to adding the values.
Why it matters: A Daily List card can show 480 tasks and then 90 when Nina picks a team. If nobody can say what the dashboard measure counts, the room argues about the tool instead of the work.
A till has one tape. A model also has links between tables, and those links change which rows a filter reaches.
PLAIN WORDS · 2 in this section
- dashboard
- a screen showing live figures at a glance
- numeric
- made only of numbers
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB A shop till that shows a different total for each question.
- Define
- Filter
- Check
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The till total | A measure |
| Asking about one cashier | A filter |
| The question being asked | Filter context |
| The price list | The data model |
WHERE THIS PICTURE STOPS
- A till has one drawer, but a model has many tables.
- A till is fixed, but a formula can change the context.
- A till adds up money, but a measure can count or average.
HOOK
Same till, new question.
TELL A FRIEND
A shop till: the total depends on the question asked.
OFTEN MIXED UP WITH BI tools: measures, filter context and model design. That topic introduces measures, filters and models. This one explains why a measure changes with .
Sources & standards — 4 sources
- Implementation-specific
CALCULATE function (Microsoft Learn, Data Analysis Expressions reference) ↗ — Microsoft · CALCULATE remarks and examples: Boolean same-column replacement, context and filters retained elsewhere; reference updated 4 August 2026, read 7 November 2026.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Implementation-specific
Use calculation options in Power BI Desktop (Microsoft Learn) ↗ — Microsoft · Calculated columns versus measures, evaluation time, storage and filter context; selected functional article read 7 November 2026.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Implementation-specific
COUNTROWS function (DAX) ↗ — Microsoft · Return value; remarks; examples; empty table returns BLANK; reference updated 25 April 2024, read 7 November 2026.
Microsoft Learn last updated 2024-04-25; accessed 2026-11-06. Reviewed for the BA Tools complete-domain audit. Source-based teaching paraphrases product guidance; Daily List examples are synthetic and do not claim execution in a licensed vendor workspace. Public documentation access does not imply permission to redistribute its images.
- Implementation-specific
KEEPFILTERS function (DAX) ↗ — Microsoft · Remarks and nested state-filter example: intersection instead of replacing an existing same-column filter; updated 25 April 2024, read 7 November 2026.
Selected primary-source sections read for the BA Analytics audit. This record does not certify unrelated chapters or product features. No reuse permission for publisher images is inferred.
PRACTISE AND KEEP
Sources for this topic — 7 sources
- Market practice
Microsoft Learn: the basics of measures and formulas ↗ — Microsoft · Microsoft Learn quick start: a measure is a calculation added to the data model by writing a formula, and the guide covers syntax, functions and context (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Microsoft Learn: formula language overview ↗ — Microsoft · Microsoft Learn overview: a measure is a dynamic formula whose result changes depending on context (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Microsoft Learn: create your own measures (tutorial) ↗ — Microsoft · Microsoft Learn tutorial: a measure is built in the formula bar of the report tool, and quick measures offer templates for common calculations (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Implementation-specific
CALCULATE function (Microsoft Learn, Data Analysis Expressions reference) ↗ — Microsoft · CALCULATE remarks and examples: Boolean same-column replacement, context and filters retained elsewhere; reference updated 4 August 2026, read 7 November 2026.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Implementation-specific
Use calculation options in Power BI Desktop (Microsoft Learn) ↗ — Microsoft · Calculated columns versus measures, evaluation time, storage and filter context; selected functional article read 7 November 2026.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Implementation-specific
COUNTROWS function (DAX) ↗ — Microsoft · Return value; remarks; examples; empty table returns BLANK; reference updated 25 April 2024, read 7 November 2026.
Microsoft Learn last updated 2024-04-25; accessed 2026-11-06. Reviewed for the BA Tools complete-domain audit. Source-based teaching paraphrases product guidance; Daily List examples are synthetic and do not claim execution in a licensed vendor workspace. Public documentation access does not imply permission to redistribute its images.
- Implementation-specific
KEEPFILTERS function (DAX) ↗ — Microsoft · Remarks and nested state-filter example: intersection instead of replacing an existing same-column filter; updated 25 April 2024, read 7 November 2026.
Selected primary-source sections read for the BA Analytics audit. This record does not certify unrelated chapters or product features. No reuse permission for publisher images is inferred.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.