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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jcastr02
Post Prodigy
Post Prodigy

column header font color change based on value from another column

Is there a way to conditionally format the column headers in a table based on the values from another column.  For example, I'd like for where it states (DE, DR, or PCC in the top table) if those show Y, then the respective bottom one would have Green font, but if shows N, then the font color is red.

Screenshot 2024-02-12 091733.png

 

 

2 REPLIES 2
jcastr02
Post Prodigy
Post Prodigy

@amitchandak    I thought of perhaps adding a shape over the header & brining it to the front to at least get the color of the header background changed  based on it - and put an if statement If yes, turn green, if not leave red, but not sure where I would place the measure on the shape to get the shape to change color?

amitchandak
Super User
Super User

@jcastr02 , The column header color, do not have conditional formatting(Fx) option, so I doubt we can do that

 

amitchandak_0-1707750418398.png

 

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

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors