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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors