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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
divyanshug15
Frequent Visitor

Dynamic conditional formatting on dynamic card visual based on field parameter in power bi desktop

Hii

 

I have two field parameter table based on 6 measures and both are connected with one to one relationship with field order as primary key. I have used first field parameter(para1) (4 measures) as a slicer and other field parameter(para2) used on card visual. Measures on card visuals dynamically changes as per slicer selection.

Now i want to implement conditional formatting the color on callout value of card visual based on the selection of slicer. The condition i want is 

para2<=0.25,"#C80000",
para2>0.25,"#FF5800",
para2<=0.50,"#FF5800",
para2>0.50,"#4B912A".

divyanshug15_0-1718173646638.png

 

divyanshug15_1-1718173736816.png

 

Any help will be highly appreciated.

 

Thanks in advance.

Divyanshu Gupta

2 REPLIES 2

You can try to create a measure with switch function , an then apply the colours 

i have tried but did not work since both the visual are dynamic that's why

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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