i'm having problems filtering strings in this pattern: Data1, Data2, Data3. They come from google forms multiple choice questions, which end up being grouped in cells. I want to count 'em separately, but when i Select this cloumn as dimension, Looker brings all unique values, like Data1 / Data2 / Data1, Data2 / Data3
I tried to use CASE with REGEXP_CONTAINS or CONTAINS_TEXT setting the tag text i want to count, but it's only counting strings that start with the tag indicated in the condition.
CASE
WHEN REGEXP_CONTAINS(Dimension1, 'Movimentos') THEN "Movimentos do colaborador"
WHEN REGEXP_CONTAINS(Dimension1, 'Posição') THEN "Posição do colaborador"
WHEN REGEXP_CONTAINS(Dimension1, 'EPI') THEN "EPIs"
WHEN REGEXP_CONTAINS(Dimension1, 'Ambiente') THEN "Ambiente e equipamentos"
WHEN REGEXP_CONTAINS(Dimension1, 'Padrão') THEN "Padrão de trabalho"
WHEN REGEXP_CONTAINS(Dimension1, 'Organização') THEN "Organização do trabalho"
It gave me each tag separately, but only counting cells that start with thet text i set.