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.
Hi,
I created a new measure that results in a number value, I would like that if this value was greater than "0" this value would remain in green and if it was less than "0" it would remain in red. Is it possible to do that? Someone help me?
Hi,
when applying this formula, powerbi is returning the color code:
Hi @viniciusabreu ,
You need to apply it in the right places:
Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
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 @viniciusabreu ,
create a new measure for the conditional formatting that says
formatting =
SWITCH ( TRUE (), measure > 0, "#008000", "#FF0000" )
and then apply it on the visual viewing this measure
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
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 |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
44 | |
38 | |
37 |