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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

Sub View in List box

Hi all,

In my list box i have list of

a

b

c

suppose if user click on c , it has to display the sub view of C

example

if c clicked or selected then

it should show under c as

C1

C2

C3

1 Solution

Accepted Solutions
datanibbler
Champion
Champion

Hi,

another way would be to just create a second list_box with this subview_field and give it a visibility_condition so that it pops up only when one of the items has been selected in the other listbox (use GetselectedCount() for this)

HTH

Best regards,

DataNibbler

View solution in original post

7 Replies
marcus_sommer

For this you could use a dimension-group in drill-mode from your field and the subfields.

- Marcus

manoranjan_d
Specialist
Specialist
Author

in list  box porpertied there is no dimension

datanibbler
Champion
Champion

Hi,

another way would be to just create a second list_box with this subview_field and give it a visibility_condition so that it pops up only when one of the items has been selected in the other listbox (use GetselectedCount() for this)

HTH

Best regards,

DataNibbler

Anonymous
Not applicable

I would define an expression

if (getselectedcount(field1)=0, field1, subfieldoffield1) // if nothing selected, Show field1 else subfield

   // but if more than 1 selected it Shows subfield of both

if (getselectedcount(field1)=1,subfieldoffield1,  field1 // if exacty  selected Show Sub view, else Show field1

but for unselection you Need e.g. the current selection box

marcus_sommer

You need to create such dimensions-groups within the document properties in tab "Groups" (you get this dialog, too within the dimension tab from charts within the bottom left) and then you could this dimension group choose like any other field within the field-dropdown.

- Marcus

manoranjan_d
Specialist
Specialist
Author

Hi datanibbler

can u attach ur  file for my reference, bcoz i m new to qlikview.

marcus_sommer

Have a look on this what are dimension groups and how they work: Creating Cycle and Drill Groups

- Marcus