Forum Discussion
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
- Anonymous6 years ago
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,
6 Replies
- amitchandak
Super User
Anonymous , You can use clustered line visual and add a line measure
- AnonymousNot 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
- v-zhenbw-msft
Community Support
Hi Anonymous ,
Do you want to create a Target for each product like this?
If yes, you need to create some measures for each product. Because the line value will not sort by product. Like the following screenshot.
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.
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.
- TijazzNew 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 axisexpand the Y axis, and scroll down
Then, turn off the "Show Secondary" . That's all