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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jayprekk
Helper I
Helper I

To create a filter using comma separated field.

Hi,

I need to pull data from a field (with comma separated values). This field continue to have new values added when new incidents are recorded into the DP table. I need it to be uniquely shown in the drop down list and be able to select multiple options. Based on my delection, it should filter the data from the DP table. I have added a image depicting this. I I have tried looking in the existing solutions but was unable to find the right solution.

 

Screenshot 2025-12-05 174531.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Jayprekk , I have made one attempt in the past as discussed in the blog 

 

amitchandak_0-1764929554716.png

 

 

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

9 REPLIES 9
v-hashadapu
Community Support
Community Support

Hi @Jayprekk , 

Hope you're doing okay! May we know if it worked for you, or are you still experiencing difficulties? Let us know — your feedback can really help others in the same situation.

 

Thank you for the help. Much appreciated

v-hashadapu
Community Support
Community Support

Hi @Jayprekk , hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.

Praful_Potphode
Solution Sage
Solution Sage

Hi @Jayprekk ,

 

try sample PBIX and let me know.

Please give kudos or mark it as solution once confirmed.

Thanks and Regards,

Praful

Thank you for the help. Much appreciated.

amitchandak
Super User
Super User

@Jayprekk , I have made one attempt in the past as discussed in the blog 

 

amitchandak_0-1764929554716.png

 

 

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

Thank you Amit for the wonderful video. As my dataset was big, this approach was the best for me. Thanks again. Apologies for the late reply as I was travelling. Thanks

rohit1991
Super User
Super User

Hii @Jayprekk 

 

Power BI cannot filter comma-separated values directly, so the correct solution is to split the tags into rows. In Power Query, use Split Column >> By Delimiter >> Comma >> Split into Rows to normalize the Security Tags field. This creates a proper one-tag-per-row table that you can use as a slicer. When the user selects “Bus,” Power BI will correctly return records like 1111 and 2222 because they now have a real relational match instead of text search.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Thank you for the help. Much appreciated

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.