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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sumachintalapan
Frequent Visitor

Conditional formatting based on the multiple measures result

Hello All,

 

I do have multiple KPI cards (lets say 5 Cards) wanted to create a conditional formatting based on the 5 KPI values. 

 

lets say

KPI card 1 Values : 10

KPI card 2 Values : 20

KPI card 3 Values : 30

KPI card 4 Values : 40

KPI card 5 Values : 50

 

Based on the above values the KPI card 5 Values which is 50 should be color formattied and highlighted .

 

any suggestion ? 

2 REPLIES 2
amitchandak
Super User
Super User

@sumachintalapan , Not very clear

 

but  you can have measure like these and use that in conditional formatting  using field value option

 

 

KPI1 color = if( [KPI1] = maxx({[KPI1], [KPI2],[KPI3], [KPI4],[KPI5]}, [Values]), "Green", "Black")

 

KPI2 color = if( [KPI2] = maxx({[KPI1], [KPI2],[KPI3], [KPI4],[KPI5]}, [Values]), "Green", "Black")

can you please share some example PBIX file if you have any . Thanks. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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