Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I am trying to apply different conditions on a Matrix to highlight the cells:
1)
value < Threshold1 --> Green
Threshold1 <= value < Threshold2 --> Yellow
value >= Threshold2 --> Red
As you can see from the photo I was able to do it, using conditional formatting by field value and by creating the measure Background_color:
The point where I'm struggling is:
When the Threshold is -1 (shown as blank value in the matrix), I would need the rows' background color to be formatted with a gradient:
GREEN for the smallest value in the row, RED for the highest value in the row, and a gradient for the values in between.
Is there a way to do it?
Thank you very much
Hi @tommasopela ,
This is the related document, you can view this content:
https://www.youtube.com/watch?v=TeeKcHjA8E0
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 67 | |
| 45 | |
| 41 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 191 | |
| 127 | |
| 106 | |
| 78 | |
| 53 |