Forum Discussion

Tejasvi_munge's avatar
Tejasvi_munge
Frequent Visitor
6 years ago
Solved

Retrieve multiple selected values in grid from slicer

Here is the scenario-
I want to show the multiple selected values from slicer into grid.

SELECTEDVALUE function is working fine for single selected value but not for multi-select values. 

Above fig shows count of slicer for single value. I want to have similar count for mutli-selection. For instance, if I select 1,2 and 3 then grid should show the values as 1,2 and 3.

 

Here, I am able to able to get the values in string format by using below DAX-

selectedvalues=CONCATENATEX(ALLSELECTED(CATEGORY3),CATEGORY3,",") 

Is there any other solution for this ? Also,further I want to pass those values into other DAX. 

 

Thank you in advance.

 

 

  • v-yuta-msft's avatar
    v-yuta-msft
    6 years ago

    Tejasvi_munge ,

     

    In this senario, you don't need to create any measure, just enable the interaction between table visual and slicer visual.

     

    Community Support Team _ Jimmy Tao

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

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi,

     

    Have you tried using FILTERS() DAX Function.

     

    Best Regards,
    Vignesh M

    If what I suggested worked for you feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue :)

    • Tejasvi_munge's avatar
      Tejasvi_munge
      Frequent Visitor

      yes, FILTERS() is also working for single selection of slicer and not for multi-selection same as SELECTEDVALUE().

  • v-yuta-msft's avatar
    v-yuta-msft
    Icon for Community Support rankCommunity Support

    Tejasvi_munge ,

     

    What's your requirement? If you want to concatenate the selectedvalues as a new number value, could you please clarify your logic?

     

    Regards,

    Jimmy Tao

      • v-yuta-msft's avatar
        v-yuta-msft
        Icon for Community Support rankCommunity Support

        Tejasvi_munge ,

         

        In this senario, you don't need to create any measure, just enable the interaction between table visual and slicer visual.

         

        Community Support Team _ Jimmy Tao

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