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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Seantb
Frequent Visitor

Horizontal Stacked Bar Chart Totals Labels - Different column value total as label

Hi all, 

I'm hoping you might be able to assist with a problem I have with totals data labels for a horizontal stacked bar chart. I have horizontal stacked bar chart showing the top 10 vendors for a company by their invoice count, with the legend splitting the bars for each vendor by whether the invoice was paid on time or paid late. I would like to add a totals label at the end of each bar which has the total $ value for the sum of all invoices for each vendor, but I'm unsure how to do this.

 

The only totals label i can add is for the total invoice count as the invoice count is the column in the values field of the visualisation. Can you please advise if this is possible if so, how i can do this? 

 

For clarity, the columns involved are - 

 

Invoice document # (what I'm using for invoice count) 

Invoice Value $  (the $ value for each invoice document)  

Paid on Time? (the legend, Late/On-time)

Vendor Name (the axis value for top 10 vendors) 

 

Any help is appreciated. 

5 REPLIES 5
grantsamborn
Solution Sage
Solution Sage

Hi @Seantb 

I'm wondering if you can come up with sample data.  Preferably in a pbix but Excel would help.

It would save a lot of time.

Hi @grantsamborn ,
Sure, I've created an example pbix in the following link - StackedBarChartExample 

 

To clarify further after looking at the pbix, I am wanting to have the sum total value of all invoices (column Invoice Value $) for each vendor as a label at the end of each bar, per below highlighted in green.

Seantb_0-1677718668114.png

 

Hi @Seantb 

I've taken a look at the pbix and I don't really think there is a feasible option.

Maybe someone else can help.

Thanks for taking a look @grantsamborn. The closest solution I've come up with is to add the value into the tooltip, but then this requires the user to hover over each vendor individually, not ideal if they're wanting to compare vendor-vendor by invoice count and value. 

 

Anyone else got any ideas?

Same thing I thought I'd try but with the same success.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.