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
rajendraongole1
Post Prodigy
Post Prodigy

Calculate Total Value instead of showing the percentage in chart

Hi

 

I have created one matrix viz and using the two columns with one with category and % value. getting the percentage for each and every category in total field instead of showing overall percentage and i want to showcase the summation (Total). how to get it.

 

i have used all function and allselected to but the output i am not able to get as required. Please suggest.

 

rajendraongole1_0-1642420754062.png

 

 

In total i want to get 347.53 value 

 

Please suggest

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @rajendraongole1 

 

Currently the total is an average value of the above two categories. (336.87% + 10.66%) / 2 = 173.76%. If the %value is a column, in Values well, expand %value field and select Sum for aggregation. 

22012002.jpg

 

If %value is a measure, then can you share its DAX code and some sample data? Or at least you can try the measure @Samarth_18 has suggested. 

 

If you have found a solution, can you share it here with the community?

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

mh2587
Super User
Super User

use HASONVALUE & HASONFILTER Function in the return 


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Samarth_18
Community Champion
Community Champion

Hi @rajendraongole1 ,

 

If you could share the code which you right with sample data in text format then it would be more helpful to answer but you can try to create a new measure like below and use it instead:-

 

Measure =
SUMX ( SUMMARIZE ( table, table[Process], "total", [%value] ), [total] )

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

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.