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.
Hello all !
I have two slicers 1. Technologies 2. Languages
when ever I need to multiselect the languages i need the list of employees who ever involves in that multi select slicer.
ref : Slicer with AND functionality
Solved! Go to Solution.
Hi @SureshNaik123 ,
Based on your description, I have created a simple sample:
Please try to add this measure to the visual level filter:
Slicer AND logic =
VAR _a =
ALLSELECTED ( 'Employee data_new'[Languages] )
VAR _b =
COUNTROWS (
FILTER (
ALL ( 'Employee data_new' ),
[ID] = MAX ( 'Employee data_new'[ID] )
&& [Technologies] = MAX ( 'Employee data_new'[Technologies] )
&& [Languages] IN _a
)
)
RETURN
IF ( _b = COUNTROWS ( _a ), 1, 0 )
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SureshNaik123 ,
Based on your description, I have created a simple sample:
Please try to add this measure to the visual level filter:
Slicer AND logic =
VAR _a =
ALLSELECTED ( 'Employee data_new'[Languages] )
VAR _b =
COUNTROWS (
FILTER (
ALL ( 'Employee data_new' ),
[ID] = MAX ( 'Employee data_new'[ID] )
&& [Technologies] = MAX ( 'Employee data_new'[Technologies] )
&& [Languages] IN _a
)
)
RETURN
IF ( _b = COUNTROWS ( _a ), 1, 0 )
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have written this dax please check
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
46 |