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

Bar chart with dynamic target line

Dear all,

 

is it possible to create a bar chart with dynamic target line ?

the problem with the bullet charts in the market place is that they do not allow the posibility of inserting a X time axis, therefore limit,

 

Best regards,

 

Miguel

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello

 

thank you again for your reply and support,

 

i ended up resolving the issue with the Bullet chart from okviz  https://okviz.com/bullet-chart/ 

 

Best regards,

yukipilas_0-1601450310105.png

 

View solution in original post

6 REPLIES 6
Tijazz
New Member

For other users that will be having this same issue.

The solution is for you to turn off the "Show Secondary" under the Y axis

Tijazz_0-1637918471273.png

expand the Y axis, and scroll down

 

Tijazz_1-1637918785496.png

 

Then, turn off the "Show Secondary" . That's all

amitchandak
Super User
Super User

@Anonymous , You can use clustered line visual and add a line measure

Anonymous
Not applicable

Hello thank you for the feedback,

 

this would not work, the lines available  are only constant,  i have a measure(target) which is dynamically changing depending on each product,

 

Best regards,

Miguel

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?

Could you please provide more details or expected result about it If it doesn't meet your requirement?

If you've fixed the issue on your own please kindly share your solution. If the above posts help, please kindly mark it as a solution to help others find it more quickly.

 

Best regards,

 

Community Support Team _ zhenbw

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

Anonymous
Not applicable

Hello

 

thank you again for your reply and support,

 

i ended up resolving the issue with the Bullet chart from okviz  https://okviz.com/bullet-chart/ 

 

Best regards,

yukipilas_0-1601450310105.png

 

Hi @Anonymous ,

 

Do you want to create a Target for each product like this?

 

bar1.jpg

 

If yes, you need to create some measures for each product. Because the line value will not sort by product. Like the following screenshot.

 

bar2.jpg

 

So in our sample, we need to create three Measures.

 

Measure Porduct1 = CALCULATE(SUM('Table'[Target]),FILTER('Table','Table'[product]="product1"))
Measure Porduct2 = CALCULATE(SUM('Table'[Target]),FILTER('Table','Table'[product]="product2"))
Measure Porduct3 = CALCULATE(SUM('Table'[Target]),FILTER('Table','Table'[product]="product3"))

 

At last put them in line values.

 

bar3.jpg

 

If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data and describe the fields of each tables and the relations between tables simply?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

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

 

BTW, pbix as attached.

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.