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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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