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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
AmazingRandom
Helper II
Helper II

Filtering a name from a row of names

I am doing some training and learning in my PBI skills and I am stuck in this next step where I am trying to create a filter for a sequence of names. 

Here is how the column looks like:

Appearance
Owen, Tia, Stu, Matt, Arthur, Andy, James, David, ODY, Shane, Sid
Owen, Stu, Matt, Arthurt, Andy, James,Brendan, ODY, Shane
Owen, Stu, Matt, Arthurt, Andy, Brendan, ODY, Jody, Doug
Owen, Stu, Matt, Andy, James, Brendan, ODY, Shane, Jody, Doug
Owen, Matt, Arthur, Andy, James, Brendan, ODY, Shane, Jody, Doug
Owen, Stu, Matt, Arthur, Andy, Brendan, Shane, Doug, Brano, Jake
Owen, Stu, Matt, Andy, ODY, Shane, Doug, Will, Jake
Owen, Stu, Matt, Arthur, ODY, Shane, Doug, Will, Jake

 

How can I create a filter where I can select for example all rows where James attended? I know to us it sounds easy logically but I am struggling to find a way to create a measure for this

3 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@AmazingRandom , One is you can use text filter.

Second Split the column, using split by delimiter into rows and rhen you can filter.

Thrid is same but you split dimension not in table

 

Text Filter Slicer and how to search on Multiple columns: https://youtu.be/RbeZRJ3uAZE

 

Power Query Split Column , Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

Power BI- Text Part slicer to filter/search text - https://youtu.be/MKKWeOqFG4c
https://medium.com/@amitchandak/power-bi-search-text-parts-in-text-ad2f9783ffa2

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

HamedM1125
Advocate III
Advocate III

@AmazingRandom  

If your dataset is not complex then you can achieve this manually by the following method, else go by split column by delimeter method. 
Manual effort:
1. Create a separate column for each name to search the text:

Owen = IF(SEARCH("Owen",Tablee[Appearance],1,BLANK()) <> BLANK(),"Yes","No")
2. Create a final column If a name is available then mark it as Yes else No.
All availability = IF(Tablee[Owen] = "Yes" && Tablee[Arthur] = "Yes" && Tablee[James] = "Yes","Yes", "No")
3.  You can add the All availability column in a slicer and filter "Yes" if you need to find someone's presence in all the  rows.  
HamedM1125_0-1730783171940.png

 


 

View solution in original post

ThxAlot
Super User
Super User

If this question comes from your entry-level tutorial, you can now save your time by dumping away. Either the person who prepares the tutorial doesn't know what DAX is for, or it's used for learners who have already quite a bit of knowledge of PBI.

ThxAlot_0-1730798997907.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @AmazingRandom ,

 

Did the users above help you? I agree with ThxAlot‘s solution.

If so, accept the reply as a solution. This will make it easier for the future people to find the answer quickly.

If not, please provide a more detailed description, preferably some virtual sample data, and the expected results.

 

Best Regards,

Stephen Tao

 

ThxAlot
Super User
Super User

If this question comes from your entry-level tutorial, you can now save your time by dumping away. Either the person who prepares the tutorial doesn't know what DAX is for, or it's used for learners who have already quite a bit of knowledge of PBI.

ThxAlot_0-1730798997907.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



HamedM1125
Advocate III
Advocate III

@AmazingRandom  

If your dataset is not complex then you can achieve this manually by the following method, else go by split column by delimeter method. 
Manual effort:
1. Create a separate column for each name to search the text:

Owen = IF(SEARCH("Owen",Tablee[Appearance],1,BLANK()) <> BLANK(),"Yes","No")
2. Create a final column If a name is available then mark it as Yes else No.
All availability = IF(Tablee[Owen] = "Yes" && Tablee[Arthur] = "Yes" && Tablee[James] = "Yes","Yes", "No")
3.  You can add the All availability column in a slicer and filter "Yes" if you need to find someone's presence in all the  rows.  
HamedM1125_0-1730783171940.png

 


 

amitchandak
Super User
Super User

@AmazingRandom , One is you can use text filter.

Second Split the column, using split by delimiter into rows and rhen you can filter.

Thrid is same but you split dimension not in table

 

Text Filter Slicer and how to search on Multiple columns: https://youtu.be/RbeZRJ3uAZE

 

Power Query Split Column , Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

Power BI- Text Part slicer to filter/search text - https://youtu.be/MKKWeOqFG4c
https://medium.com/@amitchandak/power-bi-search-text-parts-in-text-ad2f9783ffa2

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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