Grafana data link to a custom variable

tt is my custom variable, the url above currently can’t get the value of tt in my form. I doubt it’s because there is no tt in my data source since it hasn’t been created until I do the sql inside grafana. I wonder if there are grammar rules other than __data.fields[] that can help linking to