Forum Discussion

FrancoPS's avatar
FrancoPS
New Member
4 years ago
Solved

change data text

Hi! I need to change the legend text of my graphic, it has numbers from 0 to 2, and i need to change to "completed" when is 0, "incompleted (back to menu)" when is 1, and "incompleted (logout)" when...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi FrancoPS ,

     

    You can create a calculated column using SWITCH. Be careful not to add quotation marks around the numbers.

    Column = SWITCH([legend],0,"completed",1,"incompleted (back to menu)",2,"incompleted (logout)")

     

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.