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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
keboon
Microsoft Employee
Microsoft Employee

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
Super User
Super User

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 Employee
Microsoft Employee

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
Super User
Super User

You can use below formula

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors