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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
nkelmendi
New Member

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
v-yangliu-msft
Community Support
Community Support

Hi  @nkelmendi ,

 

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
v-yangliu-msft
Community Support
Community Support

Hi  @nkelmendi ,

 

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 @nkelmendi 

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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