Forum Discussion

nandhini2607's avatar
nandhini2607
New Member
2 years ago
Solved

Need help in Power Bi - Conditional formatting for legend

We have a 100% stacked column chart with Year in x-axis , Duration (Hours) in y-axis and Category as legend.

We have an independent table which has color codes associated with categories, specific color code for each category.

The expectation is to apply conditional formatting for the legend based on this color code field value, so that the categories will have unique, pre-defined colors in the visual. But power bi doesn’t support conditional formatting for legend. Pleas let us know if this could be achieved.

Sample screenshots provided below.

 

 

 

3 Replies