Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sveesam
New Member

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 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @sveesam,

 

Could you mark the proper answer as a solution please?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community 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.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

Check out my Patient Cohort Quick Measure here: https://community.powerbi.com/t5/Quick-Measures-Gallery/Patient-Cohort/m-p/391883

 

It's essentially an AND slicer, instead of OR. Might work for you with some fiddling.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.