Forum Discussion

kcantor's avatar
kcantor
Community Champion
9 years ago
Solved

PowerQuery Contains

I have two tables that have a part number field. Is there a way in Power Query to see if Table1[VendorItem] contains the text found in Table2[Part#] ? They would not be exact matches so a merge is o...
  • kcantor's avatar
    kcantor
    9 years ago

    Anonymous send me a wonderful little snippet of Dax for a table. It was a thing of beauty and worked beautifully.

    new table = GENERATE(
    	Table1,
    	FILTER(
    		Table2,
    		NOT(
    			ISERROR(
    				FIND(
    					Table2[PART#],
    					Table1[Vendor Item]
    				)
    			)
    		)
    	)
    )