Forum Discussion

Donerandparmo1's avatar
7 months ago
Solved

Display Relevant Filter Values based on a single selection

Hi All,   I am currently using this to display the selected value of a single slicer:     I am looking to show the other relevant values based on a selection from this filter, as such:...
  • rohit1991's avatar
    7 months ago

    Hii Donerandparmo1 

     

    Your current DAX only returns the selected Activity Name, not the related values. To show all relevant values based on that selection, you need to remove the filter from the display column and keep only the slicer context.

    Use this:

    Activity Name Display =
    IF(
        HASONEVALUE(DimP6ActivityName[Activity Name]),
        CONCATENATEX(
            VALUES(DimP6ActivityName[Activity Name]),
            DimP6ActivityName[Activity Name],
            ", "
        ),
        "ALL"
    )