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

Does QV allow the creation of table variables?

For example if I want a variable to be something like: vList = A;B

I could then use that variable as a field in a list box and the available values would be A and B.

Input box constraints accomplish this but you can only select one value.

I know I can fiddle with the load script to do this, just wondered if there is a convention for doing it on the "fly".

Thanks, Dave

3 Replies
pover
Partner - Master
Partner - Master

I tried this using the valuelist() function to create a list of values "on the fly", but that didn't work very well when I tried to use the values as selected in other graphs. I ended up making a island table with the values in the script.

So, there's no good way to create a listbox "on the fly" as far as I know.

Regards.

Not applicable
Author

Bummer, it's kind of a pain to have to touch the load script every time we need to make the slightest adjustment. I suppose there is a way to build something in a macro/vb, but that's as bad as going back to load it. Oh well. Smile

erichshiino
Partner - Master
Partner - Master

I agree with Karl. You can create it on a data island.

If you want it to be more flexible, you can create the field as an input field, to be able to adjust it on the fly.