The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Can we add a Slicer (dropdown list) to filter visualizaion result based on 2 or more differnet coloumns?
The source sheet is like below screenshot. Each call could be done for 1, 2, or 3 different products. We need to use one slicer to filter the calls that have been done for a specific product whether it's in Prodcut, Product2, or Product3 column.
Any idea?
Hi @OmarSaleh,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
HI @OmarSaleh,
I agree with Greg's suggestion, you can do unpivot on your product fields to convert them to attributes and values. Then you can use value as source of the slicer to filter all the product fields.
Unpivot columns (Power Query) (microsoft.com)
Regards,
Xiaoxin Sheng
@OmarSaleh It would be recommended to unpivot your product columns. If for some reason you cannot do that, then you could create a Complex Selector. https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534
Hey @OmarSaleh ,
absolutely, you can add multiple columns to a slicer. Then the slicer is building a hierarchy.
Check the documentation on how to do that:
Add multiple fields to a hierarchy slicer - Power BI | Microsoft Docs
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |