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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.