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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
EmilePl
Frequent Visitor

Issue with unichar

Hi

I'm having a really weird issue when i try to return a unichar character from an if-function or a switch.
I recreated the problem in a new powerbi report.

I want to return  when the value equals 1, and  when it doesn't.
So i tried this first, which seems to be working fine:
unichar 1.png

When i substitute blank by the unichar code for , it doesn't work anymore:
unichar 2.png

Neither does switch:
unichar 3.png

Did anybody else run in to this problem before?

4 REPLIES 4
MMoran
Regular Visitor

I'm having the exact same issue, has anyone come up with a solution?

 

I'm on May 24 version

No, I think i just ended up using different characters.
128308 for a red button 🔴
128994 for a green one 🟢

amitchandak
Super User
Super User

@EmilePl , I tried on latest version of power bi and it works for me

 

amitchandak_0-1695974952535.png

 

 

example code

 

Column 2 = if( [Category Id] < 3  , UNICHAR(9989), UNICHAR(10060))

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

Thanks for your reply!
I think i am on the latest version as well?

Last version i can find here is 2.121.903.0, somehow i am on 2.121.942.0

unichar 1.png

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors