I am using native query editor to build a question with some dashboard filters. I have a column named Tags with comma separated field values, i.e:
Tag1,Tag2, Tag3
Tag2, Tag3
Tag1
I want to create a dashboard filter which finds ‘any of’ matches as a drop down selection, i.e the user can select Tag1, or Tag1 AND Tag3 etc
As a workaround I have built a text variable in a WHERE query, where the user can search for the presence of a tag name.
[[and “table”.“Tags” ilike CONCAT(’%’,{{Tags}},’%’)]]
Instead, how can I use the Tags variable mapped to a Category filter, to look up a seperate table Tag_Names which has a row for each Tag name, like:
Tag1
Tag2
Tag3
That way the options would be given in a drop down filter, rather than a text filter.
Many thanks in advance.