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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SomeArmyVet
New Member

Help turning 8 yes/no columns into a single slicer

Hi Pbi Community, 

 

I have a SP List with 8 different trainings that employees can be certified in. These columns are yes/no choice. 

 

Training 1Training 2Training 3Training 4Training 5Training 6Training 7Training 8
YesYesYesYesYesYesYesYes
NoNoNoNoNoNoNo No

 

Is there a way to make a combined horizontal slicer with each training listed? Example below...

 

Training 1Training 2Training 3Training 4Training 5Training 6Training 7Training 8

 

The filter would only need to show the employees with "Yes" when the training name is selected, but also show the employees when more than one training is selected. ie Show who has training 1 and training 5 combined or 1,2,3 or any combo that can be thought of.

 

Thank you for your time! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SomeArmyVet ,

 

As @amitchandak mentioned, please firstly use "Unpivot" to transform the table:

Eyelyn9_0-1654590992759.png

Create a flag measure——if all value are Yes, then 1 else 0.

Flag filter = 
var _t= SUMMARIZE(FILTER(ALLSELECTED('Table'),[Employee]=MAX('Table'[Employee])),[Value])
return IF( "No" in _t,0,1)

Then apply it to filter pane, set as "=1" , below is the output:

Eyelyn9_2-1654591280048.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @SomeArmyVet ,

 

As @amitchandak mentioned, please firstly use "Unpivot" to transform the table:

Eyelyn9_0-1654590992759.png

Create a flag measure——if all value are Yes, then 1 else 0.

Flag filter = 
var _t= SUMMARIZE(FILTER(ALLSELECTED('Table'),[Employee]=MAX('Table'[Employee])),[Value])
return IF( "No" in _t,0,1)

Then apply it to filter pane, set as "=1" , below is the output:

Eyelyn9_2-1654591280048.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@SomeArmyVet , if possible unpivot the columns in the power query

 

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors