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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Search a body of text for a set of keywords and then return a category

Sorry, new to PBI and tried searching for help but couldn't find this exact problem.


I have Feedback, which is just a body of text StoreFeedback[text]

I then have a table with categories and keywords.

Category 1red, blue, green
Category 2black, white
Category 3purple
Category 4dark orange, light gray, magenta


I want to be able to create a new column and if one of the keywords are found in Feedback[body], return the category. If no keywords are found, just a simple no match works.   


Currently I have :


Features Mentioned =
var _1 = maxx(filter(Features,
SEARCH(Features[Features], StoreFeedback[text],,0)>0),Features[Features])
if(isblank(_1), "No match",_1)


But of course this only checks the features, not the keywords.  if anyone knows how to modify so it goes through the keywords instead and returns the feature, it would be appreciated.
Super User
Super User

@COWA , Refer if one of the two can help


Power BI- Text Part slicer to filter/search text -


Text Filter Slicer and how to search on Multiple columns:

Sorry, wasn't too clear in my original problem description I think.  I updated.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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