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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.