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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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))

 

Share with Power BI Enthusiasts: 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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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