Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
PauloDuarte
Contributor
Contributor

Save variable value in a qvd, result in definition of variable saved

Hi,

I'm new into QlikSense and i try save values of a variable an a qvd.

Already i use the object 'Variable input' and all works fine, but a requisit of this project is a date field linked to sheet filter, in this point i need help.

I used GetFieldSelected, in the visualization tables and in the variable viewer the date is brought correctly, however when using the button inside the folder to run the script and save the data in a QVD the result recorded in the table is the definition of the variable and not the its current value.

When defining as date and using $, the value 12/31/1899 is displayed, if I remove the $ it returns " - "

Labels (3)
1 Solution

Accepted Solutions
PauloDuarte
Contributor
Contributor
Author

Now it's working, but thanks for trying to help

View solution in original post

2 Replies
henrikalmen
Specialist
Specialist

The load script can't access the assignment of the value from the function GetFieldSelections. You can't store a variable value that you entered in frontend to a qvd.

PauloDuarte
Contributor
Contributor
Author

Now it's working, but thanks for trying to help