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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
IngersollB
New Member

Conditional Format-row above compared to row below

PLEASE help!!!  LOL  I have an issue where I am comparing the Actual number(Top Row,1.2022A)) to the budgeted number(Row Beneath, 2.2022B).  If the Actual is <= Budget then "Green" if greater than > Budget then "Red" I need this done across the "Actual" row

 

Table is: 'DSO Total Days'

 

Was easy to accomplish in excel.  I have to do this for different regions(see below)

IngersollB_0-1661373465203.png

 

IngersollB_1-1661373590824.png

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@IngersollB , You can create a measure and use that in conditional formatting using field value option. But in matrix you can only do conditional formatting on values

 

Color =

if([Actual] <= [Budget] , "Green", "Red")

 

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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