Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Calculate measure at aggregated level only

I have two tables with similar granularities and i want to calculate a simple KPI that divides one measure by another in the second table. the two tables are linked together by country, business type dimension, and date dimension. The KPI is simply dividing the total Sales of the first by the total Vol for each month. However i want this measure to always be done at country level and does not change if I select shop or store from the customer type dimension.

 

DateBusinessTypeCountrySales
01/01/2023ShopES100.00
02/01/2023ShopES200.00
03/01/2023ShopES300.00
01/01/2023ShopES500.00
02/01/2023ShopES600.00
03/01/2023ShopES700.00

 

DateBusinessTypeCountryVol
01/01/2023StoreES1000
02/01/2023StoreES1200
03/01/2023StoreES1300
01/01/2023StoreES1000
02/01/2023StoreES1200
03/01/2023StoreES1300

 

When I test in a table my table looks like this, which is correct at total. But I want this measure to be impacted no matter what i select in Business Type

 

DateBusinessTypeSalesVolPercentage
01/01/2023Shop600.00 0
01/01/2023Store 2,000.00 
Total 600.002,000.0030%

 

However when I select a Business Type from the slicer as Shop for example this is what I see.

DateBusinessTypeSalesVolPercentage
01/01/2023Shop600.00 0
Total   0%

 

Thank you!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

1 REPLY 1
lbendlin
Super User
Super User

lbendlin_0-1696098425253.png

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors