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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.