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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jzimolong
Creator II
Creator II

List Box - List all Field Names

I did my best to try and find the answer to this, but no luck.

All I want to do is have an input box drop-down, listing all the fields of a single table.  I already have a chart dynamically responding to a manual list of fields in a drop-down (list box), but I'd like to get all the fields in the list box without having to type them all out.

Thanks, hopefully this is not redundant.

Labels (1)
1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

Try this vField=GetFieldSelections([$Field])

Regards,

Sokkorn

View solution in original post

5 Replies
Sokkorn
Master
Master

Hi,

Try to create one ListBox with Expression =$Field

Regards,

Sokkorn

jzimolong
Creator II
Creator II
Author

Thanks Sokkorn, how can I capture the selection of this ListBox in a variable?

Sokkorn
Master
Master

Hi,

Try this vField=GetFieldSelections([$Field])

Regards,

Sokkorn

jzimolong
Creator II
Creator II
Author

That does it, thank you again Sokkorn.

Sokkorn
Master
Master

Hi Sir,

You are welcome.

Regards,

Sokkorn