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! Request now

Reply
Anonymous
Not applicable

Matrix heat chart: have different targets for each column.

Hi all.

Is there a way to have different targets for each column in a matrix heat chart?

i.e. department A has a target of 100 and so the value of 98 should be darker;

dept B should only get darker nearer 300 instead.

I can only seem to have a target for the whole matrix.

Laganlle_0-1626337477175.png

Or is there a better chart to compare these values?

Many thanks for looking.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Based on what I got you have to create a measure like that and have diff with value and use that in conditional formatting

 

Switch( True() ,

max(Table[Department]) = "A" , 100 - [measure],

max(Table[Department]) = "B" , 300 - [measure],

200 - [measure]

)

 

use this for conditional formatting

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Based on what I got you have to create a measure like that and have diff with value and use that in conditional formatting

 

Switch( True() ,

max(Table[Department]) = "A" , 100 - [measure],

max(Table[Department]) = "B" , 300 - [measure],

200 - [measure]

)

 

use this for conditional formatting

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
Anonymous
Not applicable

That's perfect! Thanks a lot

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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