Reload in Qlik Sense with parameters from a filtered field
Currently I'm struggling with a solution which would like to use the current selection as a parameter by reload in Qlik Sense.
The situation: I have a web source and I would like to reload the data based on the current selection by the application.
So the link of the source like: www.websource.com?p1=SELECTEDSTATES and I replaced the SELECTEDSTATE part with a variable, which defined in the variable editor as: GetFieldSelections([State],';',60) but when I run the script and reload the app, it does not replace with the content of the variable, just with the definition of the formula.
Is there any idea, how to pass inQlik Sense a selected field value by the reload?