Forum Discussion
Anonymous
3 years agoNot applicable
Conditional colors for line chart legend
Hello,
I am trying to create a line chart to display my data in Power BI. I want the following conditions to be met:
- When I select the "All" option in my dashboard slicer, all lines on my line chart should be displayed in gray.
- When I select a single value in my dashboard slicer, the line displayed on my line chart should be in orange.
When I have all sites:
When I have only one selected site in the slicer:
I have tried several methods but have not been able to find a solution that meets these requirements. I would like to know how to set up my line chart to correctly display colors when these conditions are met.
If anyone could provide any guidance or suggestions on how to achieve this goal, I would greatly appreciate it. Thank you!
1 Reply
- ArulSuper User
Anonymous ,
FYI - Conditional formatting is not supported Power BI line chart till date. We can change the line color based on the legend values but conditional formatting is not supported.
Thanks,
Arul