cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
keboon
Microsoft
Microsoft

Power Bi Formula for (Cell contains multiple formulas in Excel)

Hi All:

 

I am trying in to write a formula so that the formula 1st looks at the Keyword Column, see the keyword then searches the Search Query Column and if it contains keywords found in the Keyword Column then the output will be "Keyword Found".   Any help would be appreciated.

Screenshot 2022-05-18 125503.png

1 ACCEPTED SOLUTION
Vijay_A_Verma
Community Champion
Community Champion

You can use below formula

Result = IF(ISNUMBER(SEARCH('Table'[Keyword],'Table'[Search Query],,BLANK())),"Keyword Found")

View solution in original post

2 REPLIES 2
keboon
Microsoft
Microsoft

I have one more question that is relevent to the revious answer.

Suppose the words in the search query match the keywords but the words are in a different order and have extra words in it.  Is there a formula that can find the different order of words and still count as a keyword found for the results?  Screenshot below of the problem.

Screenshot 2022-05-20 142950.png

Vijay_A_Verma
Community Champion
Community Champion

You can use below formula

Result = IF(ISNUMBER(SEARCH('Table'[Keyword],'Table'[Search Query],,BLANK())),"Keyword Found")

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors