Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Dashboard Development with QlikView

You're reading from   Hands-On Dashboard Development with QlikView Practical guide to creating interactive and user-friendly business intelligence dashboards

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781838646110
Length 156 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Abhishek Agarwal Abhishek Agarwal
Author Profile Icon Abhishek Agarwal
Abhishek Agarwal
Arrow right icon
View More author details
Toc

Adding dynamic chart displays

In this video, we will look at how we can dynamically hide and show the chart, and we will look at the auto-minimize feature in QlikView.

Let's say you only want to show the pivot chart in the dashboard whenever somebody does a selection of airline name, because then you only want to see the details for that respective airline. So, to do that, you can right-click on the chart, go to Properties, and in the Layout tab, we have a Show section, as seen in the following screenshot:

We will enable the Conditional option, and then enter the expression on which we will base the display of the chart. We will use the following expression:

Count(GetFieldSelections([Airline Name]))>0

This counts the field selections for the Airline Name list box, and checks whether it is more than zero. So, if we haven't made any selections in the list box, then...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime