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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors