The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a table with a field "flag" (only 1 or 0), I need to show an emoji based on the value of this field. I tried the following adding a new column:
icon_flag =
VAR iconYes = UNICHAR(9989)
VAR iconNo = UNICHAR(10060)
RETURN
IF('Table'[flag] = 1, iconYes, iconNo)
But the column is showing the iconNo when te value of flag = 1. If I change the value of the initial variables it works fine and I don't undestand why.
PS: The UNICHAR(9989) is for this emoji: ✅ and the UNICHAR(10060) is for: ❌
Hello @AlexML09 ,
I tried your approach and its working
Proud to be a Super User! | |
Hi @AlexML09 ,
I cannot replicate your issue. Please a sanitized copy of you pbix (confidential data removed) .