Forum Discussion
Anonymous
3 years agoNot applicable
Measure with IF( CONTAINSSTRING
Hi ๐ Help me please I want to create Measure like IF(CONTAINSSTRING( table[text_col] ,"ABC"), TRUE(), FALSE()) This formula as is doesn't work. What is wrong?
- Anonymous3 years ago
In meantime I found solution
SUMX( FILTER( table, CONTAINSSTRING(table'[string_col], "ABC")), 1)
It come from this page
JorgePinho
Solution Sage
3 years agoWhat error are you getting? Are you creating a measure or a column?
Anonymous
3 years agoNot applicable
Hi, I want to create Measure. this formula works in Column but in Measure it return error
"A single value for column 'table'[text_col] cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
There is missing some Iterator, but I don't know which one a where it must be placed in code.