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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors