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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Asantos2020
Advocate II
Advocate II

Percentage of Total between 02 columns

Hello guys! I've got this one I can't solve!

 

I need to get the market share on a pie chart and be able to slice it on Date (year) basis. I have tried all kinds of DIVIDE, SUM, etc, but none of them gives me the result below (last column).

MarketShare.PNG

 

Any help is greatly appreciated!

 

Cheers,

Antonio Santos

1 ACCEPTED SOLUTION

Hi Asantos2020,

You need to understand that the percentage of total and your last column is different. The percentage of total is based on measure result/total of current measure(the Denominator is  the same), but the denominator of your last column(share fileld in your image) are different.

If you want to show last column's value, you could try to use below measure in pie chart(value in () is percentage of total)

Measure 4 = SUM(t3[ourexport])/SUM(t3[allexport])

373.PNG

Best Regards,
Zoe Zhi

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
Greg_Deckler
Community Champion
Community Champion

Have you looked at Show As, Percent of Grand Total?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I've tried that one, as well.

If I plot it on a matrix table, it works, but not on a pie chart.

 

Cheers,

Antonio

Hi Asantos2020,

You need to understand that the percentage of total and your last column is different. The percentage of total is based on measure result/total of current measure(the Denominator is  the same), but the denominator of your last column(share fileld in your image) are different.

If you want to show last column's value, you could try to use below measure in pie chart(value in () is percentage of total)

Measure 4 = SUM(t3[ourexport])/SUM(t3[allexport])

373.PNG

Best Regards,
Zoe Zhi

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

 

Thanks, @dax !

I guess I had overcomplicated it!

One reason why I may have gotten lost was because I wasn't showing Category + Value, but instead Category + Percent of Total and it then got the representation of what was on the pie chart.

 

Thank you!

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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors