This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
how to apply the background color based on below conditions.
thanks,
raja.
Solved! Go to Solution.
Hi, @PBIraja
You can try the following methods.
Measure:
Measure =
IF (
SELECTEDVALUE ( 'Table'[Change] ) <= -0.05,
"Red",
IF ( SELECTEDVALUE ( 'Table'[Change] ) >= 0.05, "Green", "Yellow" )
)
Apply Measure to the background color of the percentage as shown in the figure.
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @PBIraja
You can try the following methods.
Measure:
Measure =
IF (
SELECTEDVALUE ( 'Table'[Change] ) <= -0.05,
"Red",
IF ( SELECTEDVALUE ( 'Table'[Change] ) >= 0.05, "Green", "Yellow" )
)
Apply Measure to the background color of the percentage as shown in the figure.
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi all
Any Logic for the above issue?
@PBIraja , Assume you measure based on that you need that +/-
a new measure =
Switch(True() ,
[Measure] *.95 , "Red",
[Measure] * 1.05 , "Green",
"Yellow"
)
use this conditional formatting using the field value option
How to do conditional formatting by measure and apply it on pie? : https://youtu.be/RqBb5eBf_I4
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 25 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 23 | |
| 23 |