Forum Discussion
Conditional formatting based on value, not a category name for line chart
- 10 months ago
To the best of my knowledge, no. However, you could try Power BI’s built-in Python support for this. Keep in mind that Python visuals have lots of limitations—for example, (they do not support tooltip hovering, etc.)
Below is a Python visual example I have created, and I’ve attached the PBIX file for your reference.
For this to work, you need to have Python installed on your machine: Python setup tutorial, or you can publish the PBIX file to the Power BI Service to view the visual.
hi jaryszek
Right now, conditional line color formatting in line charts is not supported in Power BI. There’s an idea for this that you can upvote : https://community.fabric.microsoft.com/t5/Fabric-Ideas/Conditionally-format-Line-in-Line-Chart/idi-p/4510711
- jaryszek10 months agoSuper User
thank you very much,
no workaround with dax measure?
Best,
Jacek- kushanNa10 months agoSuper User
To the best of my knowledge, no. However, you could try Power BI’s built-in Python support for this. Keep in mind that Python visuals have lots of limitations—for example, (they do not support tooltip hovering, etc.)
Below is a Python visual example I have created, and I’ve attached the PBIX file for your reference.
For this to work, you need to have Python installed on your machine: Python setup tutorial, or you can publish the PBIX file to the Power BI Service to view the visual.
- jaryszek10 months agoSuper User
Thank you.