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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
coluser
New Member

Conditional formatting based on another row's status

Im trying to create a color change based on the statement (on a matrix table) 
IF ColumnA = True

Then 

ColumnB = HEXVALUE #1AA7EC

 

Ive tried the conditional formatting in the format visual pane and Ive tried SWITCH/IF statments but I cant reference the source columns because theyre not measures! 

1 REPLY 1
amitchandak
Super User
Super User

@coluser , You should create a meausre like

 

If( Not(Isblank(Max(Table[COlumn1]) ) ) , "#1AA7EC", Blank())

 

 

or, if column one returns true if false 

 

If( Max(Table[COlumn1])  , "#1AA7EC", Blank())

 

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf
Power BI Field Parameters, Keep Axis Sort intact| Always Sort on X/Categorial Axis: https://youtu.be/GfBrB6czByw

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors