Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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?
  • Anonymous's avatar
    Anonymous
    3 years ago

    In meantime I found solution

     
    SUMX(
           FILTER(
                table,
                CONTAINSSTRING(table'[string_col], "ABC")),
            1)


    It come from this page