Forum Discussion
Horizontal Scale per metric in a Matrix
Hello,
I have been tasked with creating a horizontal scale for 20 metrics in a matrix visual that also displays the actual and target for that month. This horizontal scale should also show an arrow to show the actual value and target line and where it falls on that 0-4 scale. The 0-4 is consistent for all but will have each threshold value under the area. The data structure is setup where I have the actual, target, and threshold values from 0-4. I tried doing it with SVG using the code below, however its not rendering into the full cell (attached image). Is there a way to fix this or build a visual that would give me the same result?
Needs to look like this:
PBI is rendering this using the SVG code below:
Hi hwaheed629
Do you have a requirement to do this using the matrix visual only? Or have you tried creating it using Power BI's built-in Python visual?
https://www.youtube.com/watch?v=3_DOF_qjguA&t=239sYou can publish the attached sample PBIX file to the service and check how the visual renders.
Hi hwaheed629,
We would like to confirm if our super user answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support
5 Replies
- kushanNa
Super User
Hi hwaheed629
Do you have a requirement to do this using the matrix visual only? Or have you tried creating it using Power BI's built-in Python visual?
https://www.youtube.com/watch?v=3_DOF_qjguA&t=239sYou can publish the attached sample PBIX file to the service and check how the visual renders.
- amitchandak
Super User
hwaheed629 , Can you check if bullet char can help
https://marketplace.microsoft.com/en-sa/product/power-bi-visuals/WA104380755?tab=Overview
- hwaheed629Frequent Visitor
No. I need to add this to a matrix that has the metric name, actual and target listed out in the other columns. Moreover, I would need the 0-4 scale in the horizontal chart has to be consistent for all metrics. Each metric has their own format as well (#,$,%) which is controlled by a format field. Unless there is a way to make this possible with the bullet graph, but I am not seeing as an option to add to a matrix.
- v-prasare
Community Support
Hi hwaheed629,
We would like to confirm if our super user answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support - v-prasare
Community Support
Hi hwaheed629,
We would like to confirm if our super user answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support