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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Total percentage doesn't add up to 100% in bar chart

Hi,

I have data 'count([customerID])', and I want to show that in % by [product category]. Like the screenshot shows. However, the % doesn't add up to 100%. What kind of measure I can use to fix this?

lyao716_0-1637672436995.png

Thank you in advance.

 

BR,

Lin

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

You can create a bar chart with the same setting as the one in below screenshot, please find the details in the attachment.

yingyinr_0-1637914464505.png

If the above one is not what you want, please provide some sample data with Text format and your expected result with more details(include calculation logic, special examples, screenshot etc.). Thank you.

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

You can create a bar chart with the same setting as the one in below screenshot, please find the details in the attachment.

yingyinr_0-1637914464505.png

If the above one is not what you want, please provide some sample data with Text format and your expected result with more details(include calculation logic, special examples, screenshot etc.). Thank you.

Best Regards

Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

You will probably need to use ALL() or ALLSELECTED().  Perhaps you might be able to dummy up some data to create a pbix or share your pbix with us.

https://www.youtube.com/watch?v=1KfTmRYRLZs orhttps://docs.microsoft.com/en-us/dax/allselected-function-dax might be useful.

Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel


Please read this post to get your question answered more quickly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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