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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Yonko
Helper I
Helper I

Need horizontal stacked bar chart with target line

Hello. I making a vizual to show different kinds of working hours (3 measures) vs. plan hours and there is a problem - i want to use stacked horizontal bar chart with line for target value, and now i'm unable to make it.

There are two vizuals - first one is standard stacked bar chart, and i tried to add target line constant line, but it works incorrectly - there are may be different plans for different people, but line shows one value for all. The second one is bullet chart by OKVIZ and it shows targets correctly, but it works only with one measure (i used all hours together in this case), but i'd like to show different types of hours.

There is an option to use vertical bar chart with line and it works correctly, but the problem that it's not very convenient to use vertical chart with names as category - i'd prefer to stay with the vertical one.

Also i tried to search for other custom visual but found nothing, so if you'll help me i'll be very glad 🙂

image.png

1 ACCEPTED SOLUTION

Well, it isn't the solution that i was looking for. Instead i just substracted from planned hours all hours together and added this measure as unspent hours, and after that added total summ marker - it isn't the perfect solution, but it works.

Yonko_0-1664033997490.png

 

View solution in original post

3 REPLIES 3
TiagoLugatto
Frequent Visitor

https://github.com/data-goblin/powerbi-macguyver-toolbox/blob/main/bar-charts/bullet-chart/pbix-form...
This solution is the best I have discovered,
incredibly simple and within the standard PBI capabilities

TiagoLugatto_0-1702505977081.png

 

amitchandak
Super User
Super User

Well, it isn't the solution that i was looking for. Instead i just substracted from planned hours all hours together and added this measure as unspent hours, and after that added total summ marker - it isn't the perfect solution, but it works.

Yonko_0-1664033997490.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.