Forum Discussion

sveesam's avatar
sveesam
New Member
8 years ago

How to create multi-column slicer to filter a pivot table ?

Hi,

 

I have a data in excel sheet in pivot table format:

 

UsersABCDE
Prasad10010
Ramana01001
Venkat01101
Dave10011
Uday11100

 

I want a multi-column slicer so that the user can filter records with any combination of A, B, C, D and E columns. 

Example

A = 1 and B = 0 and C = 0 O/P: No. of users: 2 (Prasad, Dave)

B = 1 and E = 1; No. of users:2(Ramana, Venkat)

 

Could someone help how to achieve this in Power BI?

 

Thanks in advance.

3 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    Thinking about this some more, why can't you just use 5 slicers, one for each column?

     

    To use the Patient Cohort Quick Measure I believe you are going to need to unpivot your 5 columns and then combine the two resulting columns so that you get something like:

     

    Prasad     A - 1

    Prasad     B - 0

    Prasad     C - 0

    ...

     

    Haven't tried it yet with your data but I think that's one way to approach it.