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
ErikBI
Resolver I
Resolver I

Creating a constant line for each bar in a bar chart

Hey everyone,

 

I have a short question of what the best way would be to eachieve something like this.

In my report I have a Bar chart, with 10 different bars. I'm looking to create a target line for each individual bar (illustrated below with red lines)

 

So for the first bar, they have achieved 59,8%, when their target was 61%. 

For the second bar, they have achieved 38,9%, when their target was 41%, Etc.

 

powerbi.png

 

As far as I'm aware, this is not possible with the default bar chart in Powerbi. So maybe I need to create 10 individual bullet charts?

Any suggestions? 😄

 

thanks.

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @ErikBI 

 

Try the custom visual bullet chart.

 

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380755?tab=Overview


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
MFelix
Super User
Super User

Hi @ErikBI 

 

Try the custom visual bullet chart.

 

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380755?tab=Overview


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Ah I see. I checked out another bulletchart and that supported the features that I needed. 

 

Thanks.

tex628
Community Champion
Community Champion

To my knowledge it is not possible to have multiple constant lines in the way that the image is displaying. What you could do instead is create another measure that calculates the difference between target and actual. 

The only concern about this is that you will no longer see the target line once it's passed. 

Br,
J


Connect on LinkedIn

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.