Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
haymarketpaul
Creator III
Creator III

Dynamic Tablebox based on Listbox selections

Hi All

Using QV11.

I have a listbox with a list of say 5 fields in it.

If the user selects say 3 of these i would like to display/populate a tablebox with only the fields the user has selected from the listbox and thie rassociated data.

For example:

I have a listbox:   FIELDS

with...

Field1

Field2

...

Field5

The user selects Field1, Field2 & Field3

I have tablebox or straight table chart that then has these 3 selected fields in it as the column headers and all the associated data underneath each column.

I am thinking some sort of macro to create and populate the tablebox on the fly.

Any ideas?

1 Reply
Not applicable

If you use a straight table you can hide/show an expression.

For instance you could use if(GetFieldSelections(specific_field)<>null())