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
Anonymous
Not applicable

Stacked bar chart with % Axis x and numeric data label

Hi everyone.

 

I need support, I have to show a stacked bar chart with X axis as % and the data label should be numeric, having the rest of the bar in grey until 100%, something like this:

ruz_lee_0-1621242721055.png

This is my model,

ruz_lee_1-1621242882836.png

Where Reson field is a dimesion tablle with the different type of reason, and the table OrderDetails is my fact table. Show, in the visualization, the field reason of the ClosureReason table is the Axis Y, and the measure is a distinct count of OrderID in the table OrderDetails.

First, I used the visualization 100% stacked bar chart, but it was impossible show the data like the picture, because only show data if exist data related in both table, and I couldn´t add other value like numeric:

ruz_lee_2-1621244175738.png

Then, used the normal stacked bar chart, but I couldn´t change the X Axis to percent and show the data label like numeric:

ruz_lee_3-1621244287901.png

Showing the value of the measure like % of grand total=>

ruz_lee_4-1621244450959.png

I don´t know how could I do it, for now Im using two visualization, one like background using only data of the table reason:

ruz_lee_5-1621244570059.png

And other inside using the Reason field from the table Reason, and in the axis X  the count of oder from the table OrderDetails:

ruz_lee_6-1621245054666.png

The problem of this is that the X axis percent is not really correct, does anyone know how to do it on the same object?Thanks

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try this:

stacked.gif

 

Then, you will get this:

slicer stacked.gif

 

Best Regards,

Icey

 

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

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try this:

stacked.gif

 

Then, you will get this:

slicer stacked.gif

 

Best Regards,

Icey

 

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

Anonymous
Not applicable

Thanks a lot!

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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