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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

MULTIPLE UNICHAR CODES ON SWITCH TRUE ()

Hi Community, 
 
I wish to have the unichar character change depending on the value, I would need "-" for negative values.
Note: I am using a simple card visual (PB default) to present it as below image shows. 
For example, I am doing the following to get the "+" character. 
 
Growth Arrows = SWITCH(
TRUE();
[VAR Capacidade] >= ,010;UNICHAR(43);
BLANK()
)
1.JPG
1 ACCEPTED SOLUTION
itsmebvk
Continued Contributor
Continued Contributor

@Anonymous did you try this?

 

Column = SWITCH(TRUE(),Sheet1[ID]<40,UNICHAR(45),Sheet1[ID]>=40,UNICHAR(43))

Centizen.png

View solution in original post

2 REPLIES 2
itsmebvk
Continued Contributor
Continued Contributor

@Anonymous did you try this?

 

Column = SWITCH(TRUE(),Sheet1[ID]<40,UNICHAR(45),Sheet1[ID]>=40,UNICHAR(43))

Centizen.png

Anonymous
Not applicable

Your solution did work fine. Thank you so much. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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