Compare to a company benchmark with ALL
Show how far each region’s sales per customer sit above or below the company-wide figure, using ALL to hold the benchmark still.
You will learn to
- Compute a fixed benchmark that ignores the row’s filter
- Subtract the benchmark from the row’s own value
- Choose which table ALL should clear
How it works
A benchmark is a number that should stay the same down a column so every row can be compared against it. Inside CALCULATE, `ALL(Customer)` clears every filter on the Customer table, so the benchmark ignores the row’s Region, Segment or customer.
`ALL` clears only the table you name. Filters on Product or Date still apply, so with a Bikes slicer the benchmark becomes the company figure **for bikes**, which is exactly the fair comparison.
Subtract the benchmark from the row’s own value: a positive result is above the company figure, a negative one below.
Practice it hands-on with a real data model and a live report that updates as you type.
Company Order Average = CALCULATE(DIVIDE([Total Sales], COUNTROWS(Sales)), ALL(Customer))