Percent of Total Measures
Part of the Power BI Roadmap
In short
"What share of sales does each store bring?" "What share of its category is this product?" Share-of-total measures answer these, and they're a favourite test of whether you really understand CALCULATE.
Percent of total measures divide a value by the same value with some filters removed, such as share of grand total, share of category or share of the selected total.

Think of it like this
Slices of a family thali budget
A family spends ₹12,000 on groceries a month. Vegetables are ₹3,000, so 25% of the whole budget. But of the ₹6,000 fresh-food budget, vegetables are 50%. Same ₹3,000, different total. Percent-of-total measures are about choosing the right total to divide by.
Watch it happen
Three totals for one product
1/4Masala Chips sold ₹1 lakh in the current filters.
The big ideas
What you need to know
Value ÷ bigger total
Every share is DIVIDE ( [Measure], CALCULATE ( [Measure], filters removed ) ).
Grand total
Remove all filters on the grouping table: REMOVEFILTERS ( 'Product' ).
Parent total
Remove only the child level: REMOVEFILTERS ( 'Product'[Product Name] ) keeps the category.
Selected total
ALLSELECTED shares add to 100% of what the user selected.
See it in code
Walk through the code
1% of Grand Total =2DIVIDE (3 [Total Sales],4 CALCULATE ( [Total Sales], REMOVEFILTERS ( 'Product' ) )5)6 7% of Category =8DIVIDE (9 [Total Sales],10 CALCULATE ( [Total Sales], REMOVEFILTERS ( 'Product'[Product Name] ) )11)12 13% of Selected =14DIVIDE (15 [Total Sales],16 CALCULATE ( [Total Sales], ALLSELECTED ( 'Product' ) )17)1/3All Product filters removed, including slicers on Product. Date and Store filters still apply.
Use these in a matrix with Category and Product Name on rows. Format them as percentages.
Save yourself the pain
Common mistakes
Oops
Using % of Category on a visual that has no category level.
Do this instead
Without a category filter, removing product name gives the grand total. Check what filters the visual actually applies.
Oops
Using Show value as > Percent of grand total and then reusing it in another measure.
Do this instead
That's a visual setting, not a measure. Write a DAX measure when you need to reuse or format it consistently.
Your mission
Three shares
Quick check
Which denominator gives each product's share of its own category in a Category > Product matrix?
Go deeper
- 1Build % of Grand Total, % of Category and % of Selected in one matrix.
- 2Use DIVIDE in each so blanks don't cause errors.
- 3Write down in plain words what the denominator is for each one.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.