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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.