Forum Discussion
TeeroyinOttawa
5 years agoRegular Visitor
Join on Contains logic
Hi All, I have what I think is a fairly simple question. I would like to join two tables based on "contains" logic. So I have Table A and Table B. Table A has a column Team. Table B has a colum...
- Anonymous5 years ago
Hi TeeroyinOttawa ,
According to your description, I create this data:TableA:
TableB:
Here are the steps you can follow:
1. Create calculated column.
IF = IF( SUMX('TableB', FIND(UPPER('TableA'[column]), UPPER('TableB'[column]) ,,0) )>0,"Yes","Not")2. Result:
If the data of table A matches in table B, it is Yes, otherwise it is No
You can downloaded PBIX file from here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vanessafvg
5 years agoCommunity Champion
have you tried to use the find function?
https://docs.microsoft.com/en-us/dax/find-function-dax
= FIND("BMX","line of BMX racing goods")