Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Formatting a table visual

I am using a table visual which has location names and other columns and I also have a unichar , ButtonUnichar = "🔘" Now, I want this unichar to change, which is indicating a selection is made, w...
  • v-deddai1-msft's avatar
    v-deddai1-msft
    5 years ago

    Hi Anonymous ,

     

    A little modification to selimovd's answer  :

    myUnicharMeasure =
    
    VAR vSelectedValue = COUNTROWS(VALUES(mySlicer[SlicerValue]))
    VAR ButtonUnichar1 = "Unichar Value 1"
    VAR ButtonUnichar2 = "Unichar Value 2"
    RETURN
    IF(vSelectedValue = 1, ButtonUnichar1, ButtonUnichar2 )

     

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

     

    Best Regards,

    Dedmon Dai