Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How a variable to a file via the "action" properties on a button

I want to have users click a button and export a variable value to a file. The "action" properties for a button show fields, but I can find no way to export a variable. I am a newbie, so I'd like to avoid scripting.

thanks!

2 Replies
Not applicable
Author

I don't think there is anction for that porpouse, however you can put the variable in a table and make the user click the XL export button. The dim and expression might look something like this:

Dim -> valuelist('v1','v2','v3')

Expr -> pick( match( valuelist( 'v1','v2','v3' ) , 'v1','v2','v3' ) , '$(v1)' , '$(v2)', '$(v3)')

Regards

Not applicable
Author

There is an action to export to a file. Works fine. I can even export multiple objects with the append option.

I want to export a "variable" retrieved from a user input. I even tried to spoof this by adding a bogus field and assigning a variable to it. Then writing; that field to the file. It does not seem to work.

Leslie