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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Earosenfeld
Advocate II
Advocate II

Icon Conditional Formatting: UNICHAR not working

I am trying to create a dax code that will populate Icons from a Unicode number. I created a new measure titled "IconCode" and I am using this as a field value in the conditional formatting for this matrix table as seen below. 

No_Icons.png

Field_Value.png

 

However the issue is the UNICHAR() function is not working, there is no icon populating from the Unicode. I know the Unicode works when not used as a field format for the icon conditional formatting, as can be seen by the white check mark next to the word "Measure".

This code also DOES function properly when I replace the UNICHAR function with "CircleHalf" as can be seen belowWith_Icons.png

I have no idea why I cannot use the UNICHAR function, can anyone help with this issue please?

3 REPLIES 3
harshnathani
Community Champion
Community Champion

Hi @Earosenfeld ,

 

Incase this is not working,

 

You can try using SVG's.

https://hatfullofdata.blog/svg-in-power-bi-part-6-new-icon-conditional-formatting/

 

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

Anonymous
Not applicable

@Earosenfeld Try  passing only code without unichar function.

Anonymous
Not applicable

Same problem here and still no solution....

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors