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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.