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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Calculate Total

I have raw data with below format. Each station and each date can have a multiple parameter name but the Total Qty will be the same as it it a qty of testing unit on that station / day. 

 

yaneedolruedej_0-1667962649958.png

 

I'm creating a overall total by

Total Test = sumx(
    SUMMARIZE(sample1,sample1[Station],sample1[Date],sample1[Total Qty]),sample1[Total Qty])
Grand Total = CALCULATE([Total Test],REMOVEFILTERS(sample1[Parameter Name]))
 
The total is correct. AFter that I need to generate % of each pareto based on the grand total.
I want to be able to hide some parameter but still keep the grand total the same (in this case, 691).
 
yaneedolruedej_1-1667962728656.png

 

 

However, if i filter to some parameters, the grand total change. How can I keep the grand total unchange ?

 

yaneedolruedej_2-1667962810979.png

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

I can't reproduce your question. Because in my computer the value is normal.

Please look these screenshots:

vyinliwmsft_0-1668074358781.png

vyinliwmsft_1-1668074370156.png

vyinliwmsft_2-1668074384530.png

vyinliwmsft_3-1668074394958.png

And here is my file, could you please try again?

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

4 REPLIES 4
v-yinliw-msft
Community Support
Community Support

Hi @Anonymous,

 

Because in the screenshot I can only see the top 18 rows data.

So I use them to take a test.

vyinliwmsft_0-1667987428657.png

 

 

And I use the formula you post in the case to try, it works well.

vyinliwmsft_1-1667987428659.png

 

vyinliwmsft_2-1667987428661.png

 

 

 

Could you please provide more information about your options? Here is my PBIX file.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks for the reply. Same file, if you select only parameter 10, the total will be wrong.

 

 

yaneedolruedej_0-1668015532773.png

 

 

 

Hi @Anonymous ,

 

I can't reproduce your question. Because in my computer the value is normal.

Please look these screenshots:

vyinliwmsft_0-1668074358781.png

vyinliwmsft_1-1668074370156.png

vyinliwmsft_2-1668074384530.png

vyinliwmsft_3-1668074394958.png

And here is my file, could you please try again?

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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