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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
coatsy35
Frequent Visitor

How to create a horizontal stacked bar chart where both sets of data start from zero

I wish to recreate this "bottle filling up" horizontal bar chart I use in Excel for Target vs Sales YTD. It acts like the bottle filling up as they head towards their target. The visual needs to be horizontal due to the sapce available. The excel version is made with a combo chart and set to horizontal and two axis as you can see. How do I replicate this in Power BI?

 

48548a0b-f15f-4697-a7cf-7905ff6383c6.png

This is what I get in Power BI using a stacked horizontal chart, however on the first item on the X axis starts from zero, the other starts at the end of the first set of data. I want them both to start at zero. Esentially I want a clustered bar chart with the colums set on top of each other rather than side by side 

Screenshot 2024-04-02 135024.png

1 ACCEPTED SOLUTION
Bmejia
Solution Specialist
Solution Specialist

Hi,  

Create a regular "Crustered Bar Chart" Add both the target and YTD Invoiced.

Bmejia_0-1712090535111.png

Then go into your formating panel "Bars",  Turn on Overlap = On,  Space between series =100% and Sort by value = On 

Output should look like this:

Bmejia_1-1712090571913.png

Hope this helps!!

View solution in original post

2 REPLIES 2
Bmejia
Solution Specialist
Solution Specialist

Hi,  

Create a regular "Crustered Bar Chart" Add both the target and YTD Invoiced.

Bmejia_0-1712090535111.png

Then go into your formating panel "Bars",  Turn on Overlap = On,  Space between series =100% and Sort by value = On 

Output should look like this:

Bmejia_1-1712090571913.png

Hope this helps!!

That is most helpful. Thank you. I hadn't spotted that option. So many settings to find and learn in power BI!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.