I’m not sure what you mean - unless you mean the definition of the variable. in which case, sure.
Is the variable supposed to contain all possible values of what I pass from the data link?
You have it in quotes and since there is no variable named ‘$clantaf’ (with single quotes), it defaults to blank. Try removing the single quotes and see if it works.
That really doesn’t make any sense. The variable is encapsulated in quotes so MySQL treats it as a string. There is no variable named ‘$clantag’ as you’ve stated. If there was I would reference it was $‘$clantag’ The ‘$’ indicates it’s a variable, not the double quotes. Removing them only breaks the SQL statement further:
First and fore most: The variable does not have to contain a pre-populated list of potential values. That is wrong information.
Second, the issue is that the data had a “#” in it, which needed to be URL encoded. I solved this by changing the datalink to this have this on the end: &var-clantag=${__data.fields.tag:percentencode}