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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
allen00se
New Member

Custom Slicer functionality

Hello,

I have a table of data that has many columns where each column uses either a 1 or 0 to represent if that row of data has that columns specific type of error. 

DIRNumber is the PK of the record, every other column is a potential type of error. 

allen00se_0-1681229614467.png

I would like to have a slicer where I can select different types of errors and it would filter the table looking at the column for a value of 1.

In the example above I would like to select "IL2" from the slicer and have only rows where the column IL2=1

 

Is this possible? If so I would appreciate a nudge in the right direction, I have already created a table which holds all of the error codes to populate the slicer.

 

Thanks in Advance!

1 REPLY 1
amitchandak
Super User
Super User

@allen00se , You can consider field parameter.

Or unpivot all error code in Power query

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Learn Power BI: Power Query Table.Unpivot, Table.UnpivotOtherColumns: https://youtu.be/0FEGEAz9UMw

 

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.