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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Icon Conditional formatting by measure in table do not encode

Hi, i'm trying to use created Measure for icon formatting and use it in table. However, after creating a measure and applying it into conditional formatting options in table, my unichar icons are not being encoded(as below). Does anyone know how to solve that? - I want to stay on this solution - usage of measure for icon conditional formating - as standard conditional based on rules is to limited to do that. 

Below my measure, result in table and conditional formatting. 

dziqe_0-1634139739390.png

 

dziqe_1-1634139739368.png

 

 

Thanks 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

I have a similar situation here. It seems that field value for icon conditional formating doesn't support for unicode symbol and svg xml (even they can work normally on my table measure column).

As a workaround , you can try to use icon IDs(there are over 60 icons in the built-in icon set)  or img url to replace unicode symbols /svg xml. 
releted thread: https://community.powerbi.com/t5/Desktop/What-are-the-icon-IDs-In-July-update/m-p/752053 

90.png

Sample:

 

VCU icon condition1 =
SWITCH (
    TRUE (),
    [VCU] < 0, "https://image.emojipng.com/618/3323618.jpg", // url
    [VCU] > 0, "https://emojigraph.org/media/emojidex/red-triangle-pointed-down_1f53b.png",
    "4CircleLow" //iconid
)

 

In fact ,you can also try to format by rules without conditional measure for icon formatting.

89.pngBest Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

I have a similar situation here. It seems that field value for icon conditional formating doesn't support for unicode symbol and svg xml (even they can work normally on my table measure column).

As a workaround , you can try to use icon IDs(there are over 60 icons in the built-in icon set)  or img url to replace unicode symbols /svg xml. 
releted thread: https://community.powerbi.com/t5/Desktop/What-are-the-icon-IDs-In-July-update/m-p/752053 

90.png

Sample:

 

VCU icon condition1 =
SWITCH (
    TRUE (),
    [VCU] < 0, "https://image.emojipng.com/618/3323618.jpg", // url
    [VCU] > 0, "https://emojigraph.org/media/emojidex/red-triangle-pointed-down_1f53b.png",
    "4CircleLow" //iconid
)

 

In fact ,you can also try to format by rules without conditional measure for icon formatting.

89.pngBest Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.