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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Filter based on multiple columns

I have a Data table that looks like in the picture below. I have one column with unique IDs and one column with a text string. The text string contains different combinations of a code. I want to be able to filter the table based on if one (or several) of the codes contains in the text string.

 

IMG_0135.jpg

 

I have manually created new conditional columns for each code.

 

Is there a way to have a simple “filter table” connected to the Data Table and filter the Data Table with this filter table? How do I do this?

 

Grateful for help!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , if you have only the first two columns. My advice would split the second column  into rows in power query

Split Column Power Query: https://youtu.be/FyO9Vmhcfag

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , if you have only the first two columns. My advice would split the second column  into rows in power query

Split Column Power Query: https://youtu.be/FyO9Vmhcfag

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
Anonymous
Not applicable

Thank you so much! That works perfectly!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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