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
Dear friends, I want my value to turn red when it is negative and green when it is positive.
This value is current year - (minus) last year
Regards
Solved! Go to Solution.
Hi @BeingAslam
You can create a measure like :
Result
PBIX is attached
If this post helps, then please consider Accepting it as the solution to help the other
members find it more quickly
Hi @BeingAslam
You can create a measure like :
Result
PBIX is attached
If this post helps, then please consider Accepting it as the solution to help the other
members find it more quickly
Hi Ritaf this is solution not work properly, suggest another.
This solution should work perfectly according to the description,
If it is not, please share the dummy file to check why.
I have a measure which is adding current year sales minus last year, but when I apply filter then this condition is not working properly.
do it like in the screenshot
Hi Ahmed this is solution not work properly, suggest another.
explain why it doesn't work
I have a measure which is adding current year sales minus last year, but when I apply filter then this condition is not working properly.
screenshot to the studio so we can understand you
and when you change the filter, does the measure give the correct result?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |