Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I try to save to a CSV file using STORE command with a variable in the file name.
I get the variable name $(vText) in the file name, like this: Test_$(vText).csv
Here is my script, I narrowed it down to be the least complicated possible:
I looked through many posts regarding this issue, without success.
Any suggestions?
Thanks!
enquote "lib://CSV/Test_$(vText).csv"
Do you have a data connection to a folder defined that is named CSV? Does it point to a valid folder location?
Hi Peter,
Yes, I do. The file is saved in the requested folder, the issue is with the file name which is incorrect and relates to '$(vTest)' as Text.
What do you mean then? Do you get an error message when you run the load script or do it store it with a file name that looks like 'Test_(vText).csv' literally without doing the $-sign expansion?
I want to have the value of the vTest variable in the file name. I don't get any error, just the file name is wrong.
The wrong file name (What I get): Test_$(vText).csv
Requested file name: Test_SomeText.csv
I tested it in my Qlik Sense Desktop and it works perfectly fine for me.
What is the version of Qlik Sense you are using? Qlik Sense Desktop or Qlik Sense Enterprise and the release number?
enquote "lib://CSV/Test_$(vText).csv"
Thanks!