The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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! | |