Forum Discussion
Containstring takes ages
Hi,
i have a calculated column contains containstring. it works however each refresh take hours with more than 1000 rows. normally my table has more than 400k rows. so is there any way to speed it up with changing another think.
if (Countx (filter (Table2, CONTAINSSTRING (Table2 [ID], Table1 [ID])), Table2 [ID])> 0, "Yes", "No")
also you may find entire example on below link
Hi selpaqm ,
I once created a Power Query prototype here. The merging between the two tables can possibly still be optimized.
See attachement.
6 Replies
- Greg_DecklerCommunity Champion
selpaqm - Perhaps try SEARCH or FIND instead of CONTAINSSTRING?
- selpaqmHelper V
Greg_Deckler thanks for your suggestion. when i try to use search, I have get "The search Text provided to function 'SEARCH' could not be found in the given text." error.
"minx(filter(table,search(" does not fit.