How to pass variable value to a column in table? A table is created using csv datasource

I am using csv data source and Loki data source. I am joining the data from Loki and csv at UI level. I know I can pass $variable_value into Loki query but how can I pass variable value to a csv column to filter table according to input given in variable?
I am using Grafana open source version.

you can use a transformation, to filter values based on variables:

I tried this one but its not working. I think its matching $variable as string. Its not replacing $variable with actual value. Do I need to enable that somewhere?

Found a way to solve this. Go to grafana.ini file and set the below param

[feature_toggles]
transformationsVariableSupport = true
or
[feature_toggles]
enable = transformationsVariableSupport