Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I would like a conditional formatting rule, like:
Please illuminate me:
Thank YOU!
Hi @webportal ,
Please try creating a new measure:
Color =
VAR __diff = DIVIDE([ThisYear], [PrevYear])-1
VAR __result = IF(__diff < 0, "Red", "Green")
RETURN
__result
And apply it to the field value:
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hello @Anonymous
Ok, but then for each measure I want a conditional formatting, I'll need another measure.
There should be a better way.
Try this
Please click the thumbs up and accept solution buttons.
Try learn basic Power BI with these free links efore asking more simple questions. Thanks.
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
https://www.youtube.com/watch?v=IgYiWRPqIZU
Hello,
Here it is:
@webportal , Can you provide details of column and conditions
Proud to be a Super User! |
|
Yes, it's just a annuall sales variation.
DIVIDE([ThisYear], [PrevYear])-1
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
84 | |
57 | |
45 | |
42 | |
37 |