Forum Discussion

RonaldvdH's avatar
RonaldvdH
Icon for Post Patron rankPost Patron
6 years ago
Solved

Button with a measure

Guys,   i was checking out the powerbi release video for match 2020 and saw this feature (maybe it was always there but i just saw it :)) The showed me that i can use a measure in a button which i...
  • Anonymous's avatar
    Anonymous
    6 years ago

    HI RonaldvdH,

    You can try to use the following measure formula if it meets for your requirement:

    String_for_button =
    IF (
        SELECTEDVALUE ( 'Adres Taken'[AP gebied] ) <> BLANK ();
        "See product details";
        "See details for "
            & CONCATENATEX ( VALUES ( 'Adres Taken'[AP gebied] ); [AP gebied]; "," )
    )
    

    Regards,

    Xiaoxin Sheng