Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
irushidm
New Contributor II

Conditional formatting in a table

Hi how can you use conditional formatting to colour the cell where actual positive performance in green and negative performance in red for each indicator against the budget.

 

TypeSaleGross ProfitNP
Budget1000600200
Actual1100 (Green)590 (Red)190 (Red)

 

4 REPLIES 4
v-viig
Honored Contributor II

Hello @irushidm,

 

Could you please clarify you used Power BI Table visual or developed your own table custom visual?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

irushidm
New Contributor II

Hi what i have shown above is something i did on MS word. With the power BI table/matrix visual i am unable to colour status of the actual performance which is depicted in the second row. If its lower than budget the background colour of the cell/font colour should be red and if its above budget background colour of the cell/font colour should be green. I want to be able present data in that format. Is this possible with Power BI? This is similar to the conditional formatting availble in Excel.

 

Thanks

v-viig
Honored Contributor II

@irushidm

 

As far as I know it's impossible unfortunately.

Power BI table and matrix visuals aren't custom ones. Could you please create a question here?

ishratkhan
New Contributor

  • =if(actual sale>=1000,green,red) than it can be put as field value (Fx)

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Users online (2,727)