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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
swatichouksey05
Frequent Visitor

Power BI Desktop : Conditional formatting on cards visual for Emoji's.

In my report there is one column(Survey Rating) I need to show smiley faces (Icon) on bases of Survey rating. Colums included in this visualization are survey rating and type. For exmple : 

swatichouksey05_0-1708012008884.png

I have used below measure on cards to show the emoji's as per the rating.

Survey_Emoji = SWITCH(
TRUE(),
ISBLANK(table[survey rtaing]), "😶",
table[survey rtaing] >= 9, "🙂",
table[survey rtaing] >= 7, "😐",
table[survey rtaing] >= 0, "🙁",
"😶"
)

but user wants their icons instead of these emoji's like if survey rating >=9, smiley face icon shared by user should appear on card. how to use icon in card on conditions. for one survey_type one card is required.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @swatichouksey05,

I'd like to suggest you create a new table with icons and index, then you can change the Dax expression to lookup the new table value based on current rank.
You can change the table icons dynamically based on the records that user provided.

In addition, you can also try import these image data to power bi table instead of use image URL.

Storing Images in a PowerBI/Analysis Services Data Models 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @swatichouksey05,

I'd like to suggest you create a new table with icons and index, then you can change the Dax expression to lookup the new table value based on current rank.
You can change the table icons dynamically based on the records that user provided.

In addition, you can also try import these image data to power bi table instead of use image URL.

Storing Images in a PowerBI/Analysis Services Data Models 

Regards,

Xiaoxin Sheng

Hi Xiaoxin Sheng,

 

I can't use table as per client requirement. thye need in cards only.

Thanks for reply. I tried with HTML content visual and used .svg image sourcecode in measures. Then used measures in column conditions. 

Regards 

SC

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.