Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi
How do i format a column with a color?
I have 2 columns: Profit and Profit variance(Profit-Budget)
i want to make if Profit variance<0 then the bar color ir red else green.
I dont see any conditional formating for that
I
@jja create a measure for color
Create a profit variance measure and color measure
Color Measure =
IF ( [Profit variance] < 0, "Red", "Green" )
and now in conditional formatting of the bar, use field value and use above measure
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k i cant find conditional formatiing. I guess @amitchandak is right that there is no such possibility
@jja can you share what visual you are using and sample data.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k
This is my example. Visual is line and clustered column chart. I want to make that red bar when it is <0 it is red else green or other color. Now i made it static red
Hi , @jja
After my test , it seems that if you only have one field in “column values”,you can open the Formatting pane by selecting the paint roller icon and then open the Data colors card to set Contitional format .
However,when more than one field is placed into "column values",you will find the options to set Contitional format for line and clustered column chart disappeared.
For you requirement, I'd like to suggest you contact to support team to investigate this issue .
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.