Sales by customer tier with a disconnected tier table

Add up the sales of the customers in each tier, so a matrix shows how much of the business comes from Bronze, Silver, Gold and Platinum customers.

You will learn to

  • Use a filtered table of customers as a CALCULATE filter
  • Combine a tier’s limits with each customer’s sales
  • Check that the tiers add up to the total

How it works

Counting the customers in a tier is half the picture. The other half is how much they spend. The same filtered table does both jobs: `FILTER(VALUES(Customer[Customer]), …)` keeps the customers whose sales fall between the tier’s limits.

Before, you counted its rows. Now pass it to `CALCULATE` as a filter: it keeps the `Customer[Customer]` column, so `[Total Sales]` is evaluated for just those customers.

Blanks don’t need special care this time. A customer with no sales may slip into the Bronze list, but they add nothing to the sales. On the total row the limits span every tier, so the tiers add up to the total.

Practice it hands-on with a real data model and a live report that updates as you type.

Mid-Price Product Sales =
CALCULATE([Total Sales], FILTER(VALUES(Product[Product]), CALCULATE(MAX(Product[Price])) >= 100 && CALCULATE(MAX(Product[Price])) < 500))