Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello there,
I'm having trouble calculating correct subtotals. I have a visual which is filtered by multiple slicers. I have struggled with this for hours and the best I achieved is that it calculates correct totals by region but whenever I choose a random amount of values to show it outputs the totals for the whole region. Furthermore, it should switch and calculate on the basis of field parameters which are country and project id. I'm attaching a screenshot of the setup.
Here's my formula:
Solved! Go to Solution.
Hi @Kate_Lashko ,
You can create a new measure and place it on the visual object.
NewTotalMeasure = SUMX(VALUES(Table[Country]), [Total])
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kate_Lashko ,
You can create a new measure and place it on the visual object.
NewTotalMeasure = SUMX(VALUES(Table[Country]), [Total])
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
57 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
54 | |
45 | |
40 |