Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Custom messages based on slicer selections

Hello, I have the following table and i am using a slicer with a list to select the Document ID and a Card visualization to show the selected Document ID. It works when one Document ID is selected i...
  • AUDISU's avatar
    AUDISU
    4 years ago

    Hi Anonymous ,

     

    Can you try this?

    Filter Selected =
    IF (
        CALCULATE (
            HASONEVALUE ( MyTable[Document ID] ),
            ALLSELECTED ( MyTable )
        )
            = TRUE (),
        CONCATENATEX ( VALUES ( MyTable[Document ID] ) , [Document ID] , ",") ,
        "Multiple Document ID's selected"
    )
    Thank you