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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to filter for multiple items

Hi All, 

 

If I have a filter called 'Student ID' that shows me all students and want to filter on a list of students that I am interested in, how can I do this? 

I know you can use Advanced filtering to paste in 2 different student IDs, but how can I look up a whole list?

Going through the filter and manually selecting each student individually is not an option as sometimes we may want to look up a list of 100s of students. 

 

Thank you. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

 

I created some data:

Would you consider grouping each student, tagging each student and placing them in the corresponding group, and using this group as a slicer to display the set of students by selecting the corresponding tag.

vyangliumsft_0-1709188356179.png

Here are the steps you can follow:

1. We can create a calculated column, customize the rules of the group.

Group =
SWITCH(
    TRUE(),
    'Table'[Value]>=1&&'Table'[Value]<=5,"Test1",
    'Table'[Value]>=6&&'Table'[Value]<=8,"Test2",
    'Table'[Value]>=9&&'Table'[Value]<=10,"Test3","Test4")

vyangliumsft_1-1709188356180.png

2. Result:

vyangliumsft_2-1709188384586.png

If it doesn't meet your desired outcome, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

Best Regards,

Liu Yang

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  @Anonymous ,

 

I created some data:

Would you consider grouping each student, tagging each student and placing them in the corresponding group, and using this group as a slicer to display the set of students by selecting the corresponding tag.

vyangliumsft_0-1709188356179.png

Here are the steps you can follow:

1. We can create a calculated column, customize the rules of the group.

Group =
SWITCH(
    TRUE(),
    'Table'[Value]>=1&&'Table'[Value]<=5,"Test1",
    'Table'[Value]>=6&&'Table'[Value]<=8,"Test2",
    'Table'[Value]>=9&&'Table'[Value]<=10,"Test3","Test4")

vyangliumsft_1-1709188356180.png

2. Result:

vyangliumsft_2-1709188384586.png

If it doesn't meet your desired outcome, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

Best Regards,

Liu Yang

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

PijushRoy
Super User
Super User

Hi @Anonymous 

The requirement is not clear.
Are you suing filter pane or you using slicer? 
In Filter pane and slicer, Search box is available and you can search student ID and select multiple student.

Please share more details with screenshot



Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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