Forum Discussion

ts94's avatar
ts94
New Member
1 year ago
Solved

Display legend for conditional formatting

Hi,   I have created a treemap and applied some conditional formatting for the color in that treemap. When setting the legend to show, it only shows me in which color the corresponding category was...
  • Greg_Deckler's avatar
    1 year ago

    ts94 I just did this in my Power BI World Championship EU submission. Life in Europe by Greg Deckler - Microsoft Fabric Community. It is on the Interactive Explorer. page.

     

    In the conditional formatting area, clip the gradient and place it on the page over top of the legend area. Bit hacky but works well. I also created measures for min and max and used Card visuals overlaying the gradient at both ends.