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

color measure by field value matrix

Hi there, 

 

I'm trying to update my measure so the "university connection" values only show red for greater than 2, "street team" greater than 8, and "social media" greater than 12, etc.

 

quayg_0-1658767963004.png

 

 

Screen Shot 2022-07-25 at 11.42.27 AM.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try A meausre like

 

Switch( True() ,

max(Table[Type)=  "university connection" && [Primary Zeros]> 2, "Red",

max(Table[Type)=  "street team" && [Primary Zeros]> 8, "Red",

max(Table[Type)=  "Social Media" && [Primary Zeros]> 12, "Red",

"White"

)

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 , Try A meausre like

 

Switch( True() ,

max(Table[Type)=  "university connection" && [Primary Zeros]> 2, "Red",

max(Table[Type)=  "street team" && [Primary Zeros]> 8, "Red",

max(Table[Type)=  "Social Media" && [Primary Zeros]> 12, "Red",

"White"

)

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

Ahhh! Thank you so very much!

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.