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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show Chart Conditionally based on Current Selections?

Hi,

Is there a way to conditionally show a chart based on a current selection?  Essentially, If [department] = 'NA Sales' then show the chart if anything else, don't show it

Any help and guidance would be greatly appreciated.

Thanks

Brian

4 Replies
chrismarlow
Specialist II
Specialist II

You could add a calculation condition on the General tab;

=if(GetFieldSelections([department])='NA Sales',True(),False())


Not applicable
Author

Hi Brian,

yes you can, in your chart show condition use

GetFieldSelections([department])='NA Sales'

hope that helps

Joe

Anonymous
Not applicable
Author

Hi Brian,

go to Layout tab in Properties, Select Conditional button under Show, write your condition i.e.


GetFieldSelections([department])='NA Sales'


Best,

Not applicable
Author

HI Brian,

Definitely you can do it,

go to chart properties and under layout tab just select show n condition =

GetFieldSelections([department])='NA Sales'

Regards.