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 for distinct keywords in description

Hi there,

Does anyone know how to solve this problem I am having?

I am trying to extract multiple keywords from many line descriptions.

I have one spreadsheet that lists the keywords and another sheet with the raw data.  This includes a column of transactional data with the keywords included in the description depending on the type of transaction.  I wish to then categorise this spend into key buckets.

The formula so far is:

 

Keyword = CALCULATE (FIRSTNONBLANK(Keywords[Keyword Search],1),FILTER(Keywords,Keywords[Mega Category]= 'AP and CC merged data'[MegaCatFinal] && SEARCH(Keywords[Keyword Search],'AP and CC merged data'[Description],,0)>0))

 

It seems to work reasonably well at pulling out the keyword however one of the search words is tax and it is pulling up all words that include tax in it (such as taxi).  Does anyone know an expression that would find disctinct words instead of contains the text.

 

I would greatly appreciate your help,

Thank you!!!

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

 

Share a dataset and show your expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.