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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors