Forum Discussion

KrishnaKanjani's avatar
KrishnaKanjani
Regular Visitor
2 years ago

Stacked BarChart

I want to create a measure that shows a stacked bar chart with 'column1', 'column2' and 'column3'. But I also want that, all the values of bars between 4.5 to 5, should be of green color, between 3.5 to 4.5 should be of orange and less than 3.5 should be red (irrespective of legends). The visual should remain stacked bar graph. Is it possible ?

2 Replies

  • Daniel29195's avatar
    Daniel29195
    Community Champion

    KrishnaKanjani 

    when using legend in a visual, you can t use conditional formatting  and change the color base on specific conditions . 

     

     

     

     

     

     

     

     

     

     

  • Daniel29195's avatar
    Daniel29195
    Community Champion

    continuing my reply .... 

    KrishnaKanjani 

     

    if you are not using a legend and using  3 measures where each measure refer to its respective column, then you can use conditional formatting ,

    choose rules in the first dropdown list , and in the rules , put the rules that you want . then hit ok when done. 

     

     

     

    If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit thumbs up button 👍