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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
raragan
Frequent Visitor

Sum distinct values within a stacked bar chart

I am trying to see if its possible to sum distinct values and have it displayed within a stacked bar chart.

2 REPLIES 2
raragan
Frequent Visitor

To clarify, I want to display the sum of a distinct value. Showing the total of the column would be incorrect as there are multiple repeat values associated with multiple Product ID's.

I want to know how I can pull the distinct Product ID and a distinct dollar amount and have the displayed within a stacked bar chart. 

amitchandak
Super User
Super User

@raragan , Stacked chart has an option to show total if needed

https://medium.com/@amitchandak/power-bi-when-total-label-on-stacked-visual-is-not-sufficient-72e5de...

 

if you want add an additional bar , then you need to follow this approach

Power BI - Show Grand total row or Avg Grand total row in Visual: https://youtu.be/OSwRZ4GUhxc
https://medium.com/@amitchandak/power-bi-add-grand-total-row-in-the-bar-visual-44c3d1d463be

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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