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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
MISOG
Contributor II
Contributor II

Container visualization

I have a pivot table that has a dimension BusinessUnitNameAbbr and a measure TariffCodeHours. I need to add a container in which there will be 2 bar charts with measure TariffCodeHours. Bar chart 1 will have the dimension BusinessUnitNameAbbr. Bar chart 2 will have the dimension TariffCodeNameGroupEN.

Bar chart 1 will be visible when no BusinessUnitNameAbbr is selected.

Bar chart 2 will appear when atleast one BusinessUnitNameAbbr is selected.

How to set the conditions to get required result?

Labels (1)
2 Solutions

Accepted Solutions
SRA
Partner - Creator
Partner - Creator

Hi, 

You could use a display condition on the content management of you container with :

On chart 1 : GetSelectedCount(BusinessUnitNameAbbr) = 0

On chart 2 : GetSelectedCount(BusinessUnitNameAbbr)

Regards

View solution in original post

MISOG
Contributor II
Contributor II
Author

Hi SRA,

Thank you for your advice. It works 👍

Actually I used following solution in "Show condition":

On chart 1 : GetSelectedCount(BusinessUnitNameAbbr) = 0

On chart 2 : GetSelectedCount(BusinessUnitNameAbbr) > 0

But your solution is even siplier.

Have a nice day!

View solution in original post

2 Replies
SRA
Partner - Creator
Partner - Creator

Hi, 

You could use a display condition on the content management of you container with :

On chart 1 : GetSelectedCount(BusinessUnitNameAbbr) = 0

On chart 2 : GetSelectedCount(BusinessUnitNameAbbr)

Regards

MISOG
Contributor II
Contributor II
Author

Hi SRA,

Thank you for your advice. It works 👍

Actually I used following solution in "Show condition":

On chart 1 : GetSelectedCount(BusinessUnitNameAbbr) = 0

On chart 2 : GetSelectedCount(BusinessUnitNameAbbr) > 0

But your solution is even siplier.

Have a nice day!