Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a data in excel sheet in pivot table format:
Users | A | B | C | D | E |
Prasad | 1 | 0 | 0 | 1 | 0 |
Ramana | 0 | 1 | 0 | 0 | 1 |
Venkat | 0 | 1 | 1 | 0 | 1 |
Dave | 1 | 0 | 0 | 1 | 1 |
Uday | 1 | 1 | 1 | 0 | 0 |
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.
Hi @sveesam,
Could you mark the proper answer as a solution please?
Best Regards,
Dale
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.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |