Forum Discussion

Sweden_25's avatar
Sweden_25
New Member
9 months ago
Solved

Stacked column chart conditional formatting power bi

Hi,  I'm using a stacked column chart to show my data which has two important variables (a unique name and a grouping, where several items can be within one group). I can show each item's unique nam...
  • DataNinja777's avatar
    9 months ago

    Hi Sweden_25 ,

     

    You can create your required conditional formatting by adding a stacked column chart with the following set up:

    Your item is consistently colored depending on which grouping they belong to.   It turns out that without doing any special configuration, Power BI's native function supports coloring like above.  Does this address your issue properly?  

     

    I have attached an example pbix file for your reference.

     

    Best regards,

     

     

  • danextian's avatar
    9 months ago

    Hi Sweden_25 

    To create stacks, adding a field to the legend tile is required. Legends do not currently support conditional formatting but the the colors can be manually assigned.