Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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()
)
  • Anonymous did you try this?

     

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

2 Replies

  • itsmebvk's avatar
    itsmebvk
    Icon for Continued Contributor rankContinued Contributor

    Anonymous did you try this?

     

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      Your solution did work fine. Thank you so much.