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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
skygriff
Frequent Visitor

Find if text in one column exists in another column in a different table?

Hi,

 

I have a column with a string of text (actually a 12 digit product number) that I want to see if it finds that 12 digit number in some text in another column in a different table. 

 

Table1 (table name)

Product (column name)

1111

0000

 

Table2

Notes

Please use product 1111

I recommend ordering 3333 for this issue

 

So since the Notes column in Table2 has "1111" then I would need to generate a column that says "Yes" because it found that product number in the notes.  The 2nd row in Table2, recommends product 3333 but Table1 indicates product 0000, so then the result would be "No".  Hopefully I explained it well enough.  Thanks for any suggestions!

 

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@skygriff,

 

Here is a similar case. You may have a look.

https://community.powerbi.com/t5/Desktop/Text-contains-search-value-from-a-second-table/m-p/310965

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
skygriff
Frequent Visitor

Hi,

 

I have a column with a string of text (actually a 12 digit product number) that I want to see if it finds that 12 digit number in some text in another column in a different table. 

 

Table1 (table name)

Product (column name)

1111

0000

 

Table2

Notes

Please use product 1111

I recommend ordering 3333 for this issue

 

So since the Notes column in Table2 has "1111" then I would need to generate a column that says "Yes" because it found that product number in the notes.  The 2nd row in Table2, recommends product 3333 but Table1 indicates product 0000, so then the result would be "No".  Hopefully I explained it well enough.  Thanks for any suggestions!

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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