Join 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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi All,
I am currently looking to conditional format background color of each cell depending on column category & row value using conditions. Is there a way to do it? Please let me know.
Thanks
Susheel
Solved! Go to Solution.
Discount Band color =
SWITCH (
TRUE (),
SUM ( financials[Units Sold] ) < 50000
&& SELECTEDVALUE ( financials[Discount Band] ) = "High", "Yellow",
SUM ( financials[Units Sold] ) > 50000
&& SELECTEDVALUE ( financials[Discount Band] ) = "Low", "Red"
)
Discount Band color =
SWITCH (
TRUE (),
SUM ( financials[Units Sold] ) < 50000
&& SELECTEDVALUE ( financials[Discount Band] ) = "High", "Yellow",
SUM ( financials[Units Sold] ) > 50000
&& SELECTEDVALUE ( financials[Discount Band] ) = "Low", "Red"
)
Hi @Anonymous ,
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
https://radacad.com/show-me-the-biggest-number-conditional-formatting-in-power-bi
https://www.youtube.com/watch?v=BbuikATa3ow
https://www.youtube.com/watch?v=MAISRa88bl0
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)