Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
HI, I have a table consisting of staffs' name and their certificate. I've also created a disconnected table. My current slicer will only work properly with on one selection. I want my slicer to have multiple selection.
This is my measure right now:
This is the file that i have right now if u want to help me.
https://drive.google.com/drive/folders/1pQu_16bfUPBgOXaGIOLenl5ya3SBi3tP?usp=share_link
Thank you! Appreciate all the help
Solved! Go to Solution.
Hi @Afiq_Danial ,
Please try:
Flag =
VAR _a =
SELECTCOLUMNS ( 'Disconnected Slicer', "Slicer", [Certificate] )
VAR _b =
ADDCOLUMNS (
_a,
"Count",
SWITCH (
TRUE (),
ISBLANK ( MAX ( 'Staff Booking'[Certification] ) )
&& [Slicer] = "No Certificate", 1,
MAX ( 'Staff Booking'[Certification] ) <> BLANK ()
&& CONTAINSSTRING ( MAX ( 'Staff Booking'[Certification] ), [Slicer] ), 1
)
)
RETURN
IF (
SUMX ( _b, [Count] )>=1
|| NOT ( ISFILTERED ( 'Disconnected Slicer'[Certificate] ) ),
1,
0
)
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 @Afiq_Danial ,
Please try:
Flag =
VAR _a =
SELECTCOLUMNS ( 'Disconnected Slicer', "Slicer", [Certificate] )
VAR _b =
ADDCOLUMNS (
_a,
"Count",
SWITCH (
TRUE (),
ISBLANK ( MAX ( 'Staff Booking'[Certification] ) )
&& [Slicer] = "No Certificate", 1,
MAX ( 'Staff Booking'[Certification] ) <> BLANK ()
&& CONTAINSSTRING ( MAX ( 'Staff Booking'[Certification] ), [Slicer] ), 1
)
)
RETURN
IF (
SUMX ( _b, [Count] )>=1
|| NOT ( ISFILTERED ( 'Disconnected Slicer'[Certificate] ) ),
1,
0
)
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.
Thanks alot, appreciate it!
Hi @Afiq_Danial ,
Please try:
Flag =
VAR _a =
SELECTCOLUMNS ( 'Disconnected Slicer', "Slicer", [Certificate] )
VAR _b =
ADDCOLUMNS (
_a,
"Count",
SWITCH (
TRUE (),
ISBLANK ( MAX ( 'Staff Booking'[Certification] ) )
&& [Slicer] = "No Certificate", 1,
MAX ( 'Staff Booking'[Certification] ) <> BLANK ()
&& CONTAINSSTRING ( MAX ( 'Staff Booking'[Certification] ), [Slicer] ), 1
)
)
VAR _c =
COUNT ( 'Disconnected Slicer'[Certificate] )
RETURN
IF (
_c = SUMX ( _b, [Count] )
|| NOT ( ISFILTERED ( 'Disconnected Slicer'[Certificate] ) ),
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, thanks for your help. but what i mean is that when i choose No Certificate and CISSP (Associate), the number 1 should only show on bryan, benjamin, james, and riley rows
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
87 | |
54 | |
45 | |
40 | |
36 |