Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.