Forum Discussion

sunil222's avatar
sunil222
Icon for Helper II rankHelper II
2 years ago
Solved

conditional formating for percentages column

conditional formating for percentages column in report 0 to 10 % amber color 10 to 100% Red color <0% Green color   how to achieve this to get this format , please guide me i tried iam unable to...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi sunil222 

    You can try to create a measure to set the color then put it to conditional formatting.

    e.g Sample data 

    Create a measure 

    Measure = SWITCH(TRUE(),SUM('Table'[value])>0&&SUM('Table'[value])<=0.1,"#c36625",SUM('Table'[value])>0.1&&SUM('Table'[value])<=1,"red",SUM('Table'[value])<0,"green")

    Then put it to the conditional formatting of the value column.

     

     

    Output

    Best Regards!

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.