- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.
Date | BusinessType | Country | Sales |
01/01/2023 | Shop | ES | 100.00 |
02/01/2023 | Shop | ES | 200.00 |
03/01/2023 | Shop | ES | 300.00 |
01/01/2023 | Shop | ES | 500.00 |
02/01/2023 | Shop | ES | 600.00 |
03/01/2023 | Shop | ES | 700.00 |
Date | BusinessType | Country | Vol |
01/01/2023 | Store | ES | 1000 |
02/01/2023 | Store | ES | 1200 |
03/01/2023 | Store | ES | 1300 |
01/01/2023 | Store | ES | 1000 |
02/01/2023 | Store | ES | 1200 |
03/01/2023 | Store | ES | 1300 |
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
Date | BusinessType | Sales | Vol | Percentage |
01/01/2023 | Shop | 600.00 | 0 | |
01/01/2023 | Store | 2,000.00 | ||
Total | 600.00 | 2,000.00 | 30% |
However when I select a Business Type from the slicer as Shop for example this is what I see.
Date | BusinessType | Sales | Vol | Percentage |
01/01/2023 | Shop | 600.00 | 0 | |
Total | 0% |
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
05-28-2017 10:39 PM | |||
10-17-2024 06:07 AM | |||
09-04-2024 09:26 AM | |||
07-28-2024 01:06 PM | |||
04-24-2024 01:04 AM |
User | Count |
---|---|
86 | |
81 | |
53 | |
39 | |
37 |