Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 get it
Solved! Go to Solution.
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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |