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
Anonymous
Not applicable

Search text from a list in a column with delimiters

Hi all, 

 

I am quite new on this platform so sorry in advance if you this sounds like a simple issue but I did not manage to find an answer to my problem online. 

 

Here it is:

 

I have a column that contains all the products our customers are using, each of these products being separated with a comma. I want to filter the rows based on a list I created ? I managed the easy trick of adding a conditional column but that covers only one word. 

 

Do you have any idea how to proceed ? 

 

Thank you very much in advance for your help ! 

6 REPLIES 6
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem solved?


If it is solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.


If not, please let me know.

 


Best Regards
Icey

Icey
Community Support
Community Support

Hi @Anonymous ,

 

I'm not quite sure what you want. Please check if this is what you want.

 

1. Enter a SlicerTable.

slicertable.PNG

 

2. Create a measure.

Measure = SEARCH ( SELECTEDVALUE ( SlicerTable[Product] ), MAX ( 'Table'[Products] ),, BLANK () )

 

3. Put the Measure on the visual you want to fiter.

slicer.PNG

Then, you can get this:

slicer.gif

 

 

Or, you can use "Text Filter".

text.gif

 

 

Best Regards,
Icey

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

Saurabh8437
Frequent Visitor

Can you share the Pbix file here along with sample raw data and created list to check further?

Anonymous
Not applicable

Hi, it would look like this:

 

Customer Name

Products

Atires, racing pump, software, water
Bwater, shield, oil, brakes
Cbrakes, tires
Dbrakes, tires, pump, software, water, shield

 

A my filter list sits in an excel file: 

 

water

pump

shield

 

For information, I just tried to use the list option in the conditional column but it flagged everything. 

 

Thanks in advance, 

Capture.PNG 

I managed to get this result using power query. Will it do? 

 

Anonymous
Not applicable

Thanks for your answer, this is a good option. Ideally, I would like to have "yes" or "no" if any of the listed items are found in the column. How would I set that up ? 

Thanks in advance and regards, 

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.