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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
bobbydave
Creator III
Creator III

Opening new objects on selection and populating below on screen.

Still in my first 3 months of learning.

I have a Grouping column that brings in A, B and C.

When A is selected, I want a container to appear (which will have some graphs within in).

So when A is selected from the group column, the container with the graph for Group A appears. When there is no current selection, it should not show any of the containers.

So if A has another column with 5 lines of data, B has another column with 10 lines of data, C has 20, the data per group appears and the remaining space below the table of data is used to fill the remaining bottom of the screen. So if A and 5 lines of data, say 95% of the bottom of the screen would be an empty space so the container will appear right below it, Group B has 10 lines of data, so say 80% of the screen is empty so the container would fill this 80% of the screen and Group C has 20 lines of data so 50% of the screen so C's associated container would populate in here.

So when Group A appears, only Group A's container appears, when B is selected, only B's container appears and so on but fills the space below the screen?

I know in C++ and Java, OnClick() is the equivalent. What would the equivalent be for Qlikview?

Thanks. Hope this all makes sense.

1 Solution

Accepted Solutions
alkesh_sharma
Creator III
Creator III

On the layout tab of the Container under the show option

write the expression:

If(Getfieldselection(<YourFiledanme>) = 'A' for container to pop up when A is selected .

If(Getfieldselection(<YourFiledanme>) = 'B' for container to pop up when B is selected .

If(Getfieldselection(<YourFiledanme>) = 'C' for container to pop up when C is selected .

View solution in original post

2 Replies
alkesh_sharma
Creator III
Creator III

On the layout tab of the Container under the show option

write the expression:

If(Getfieldselection(<YourFiledanme>) = 'A' for container to pop up when A is selected .

If(Getfieldselection(<YourFiledanme>) = 'B' for container to pop up when B is selected .

If(Getfieldselection(<YourFiledanme>) = 'C' for container to pop up when C is selected .

bobbydave
Creator III
Creator III
Author

That's exactly it.

I was able to resize the containers to maximise the space from ther.e

Thanks again