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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sophtee
Frequent Visitor

How to filter multiple columns

Hello everyone,

I would like to filter multiple columns in a table in Power BI:

Example, if I select or search flock 414-2 it would show the 3 rows with the data, I not sure if there is something that can filter this data better than the slicer that I have. The filter would be for (Flock1, Flock2, Flock3, Flock4 and Flock5).

sophtee_2-1708627819409.png

 

 

 

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

@sophtee 

 

one approach you can, 

unpivot your table in power query, so that you will have , 

attribute column with values { floack1 , flock2, flock3, flock4, flock5 } 

and value column with all the values for the 5 columns into one column.

 

then you can use this column in your slicer.

 

 

let me know if this helps .

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

@sophtee 

 

one approach you can, 

unpivot your table in power query, so that you will have , 

attribute column with values { floack1 , flock2, flock3, flock4, flock5 } 

and value column with all the values for the 5 columns into one column.

 

then you can use this column in your slicer.

 

 

let me know if this helps .

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors