Forum Discussion
Anonymous
4 years agoNot applicable
Finding matching substring with DAX
I have two tables "Sentences" and "Words". My goal is to add a calculated column/measure to the "Sentences" table, which contains the words that also occur in the Words table. The "Sentenc...
- 4 years ago
Hi,
From the 1 column Words table, build a 3 column table with the original, English and Spanish columns. Modify my calculated column formula to:
Words found = CONCATENATEX(FILTER(VALUES(words[Words]),CONTAINSSTRING(sentences[text],words[English])),words[Words],",")Hope this helps.
Ashish_Mathur
4 years agoSuper User
Hi,
From the 1 column Words table, build a 3 column table with the original, English and Spanish columns. Modify my calculated column formula to:
Words found = CONCATENATEX(FILTER(VALUES(words[Words]),CONTAINSSTRING(sentences[text],words[English])),words[Words],",")
Hope this helps.
Anonymous
4 years agoNot applicable
Thank you Ashish_Mathur 🙂
After the VALUES function I had to pass the "Words" table and not the "Words[WORDS]" collumn.
- Ashish_Mathur4 years agoSuper User
You are welcome.