Text Filter in Dashboard?

I have variable of type Text in a Question, and now I want to add that filter to the dashboard. Is this possible? I don’t see any Text option for a filter on a dashboard?

Hi @john.tapsell
Yes, just use Categories type on the dashboard.

Hi there! I'm trying to do the same thing as mentioned above. When I select contains option in the categories type in the dashboard filter option, it says the filter needs to be connected to a card. How do I solve this?

@sgayathri You need to connect the dashboard filter to a card. Have a read here:

Yes, but my question is, I don't have any field in my text filter. In that case, how do I this?

DECLARE @Name varchar(15)
SELECT @Name = [[ (SELECT CONCAT ('%',{{Name}},'%')) -- ]] null

exec Demo_GetEmployees @Name = @Name

@sgayathri Then the dashboard filter should just be a regular Text Dropdown, since it's a Text variable.

Got it, thanks! It worked this way. Earlier I was giving the contains option.

@sgayathri Yes, https://github.com/metabase/metabase/issues/20048 - upvote by clicking :+1: on the first post