Using dashboard variables in transformations doesn't work (v10.2.1)

ok
in “edit panel” you have this
image
that normaly give the query send to influx servee
question :
and with influx explorer your query (flux or sql) work with “.” ?

the screenshot mentioned above is the from query editor

the variable where i am using .* is trace id… and i can see it is undefined.

ok you have the same undefined with old and new version of grafana ?
with « 17181003 » as input value , have you results ?
can you show your query ?
but i ask at myself the same question … why with the same query in old version that ok but not with newest version?
good luck

hi
have you solved your problem ?
good day

Hey Hi @frenchy76
Sorry I was away for a while for personal issue. Thanks for following up.
I was not able to fix the existing issue but found a different work around. Instead of using text box type variable I am using Custom type variable. In selection options i have selected include all options and used (.*) in custom all values. Attached screenshot.
image

hi sunshinemorningstar
oh i understand … and i hope that your situation is better .
thank for your answering ,i note utility of this option
good day

I solved it by adding it to grafana.ini in section [feature_toggles]

enable = transformationsVariableSupport
transformationsVariableSupport = true

Hi, I did the same, but it doesn’t work when I try to use a variable in the transformation tab while using “filter data by values.” I’m using the variable like this: $number. It works when I don’t use the variable and input the values directly.

Could you please help me understand what might be going wrong?

hi cyruskn
normally if you modified in the file default.ini ,the parameters described in the lastest answering that must be ok after restarting grafana’s service.

what is your version of grafana ?

best regards

Hello frenchy76
I also have the same issue.
Version of Grafana is 10.4.0.
It is working properly if I input the values directly but does not work when I’m using the variable.
Also, confirmed that transformationsVariableSupport is enabled also.

I heard that version 11 will resolve the issue. Is this true?

hi jollycherub
if you have modifies your .ini file with
enable = transformationsVariableSupport
transformationsVariableSupport = true
then normally work.
this link can help you also ….

i can’t confirm for v11 because i’m on holidays

good luck and merry christmas

hello
have you solved your problem ?

yes I was able to solve the problem. We also tried installing the latest version and it worked. Thank you very much.