Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Creating Stunning Dashboards with QlikView

You're reading from   Creating Stunning Dashboards with QlikView Bring real business insights to your company through effective and engaging dashboards in QlikView

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781782175735
Length 188 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Julian Villafuerte Julian Villafuerte
Author Profile Icon Julian Villafuerte
Julian Villafuerte
Arrow right icon
View More author details
Toc

Color highlight


QlikView's natural behavior is to zoom in on the data once a selection is made. However, there is a great downside to doing this: you lose some context because the rest of the elements disappear. One of the most popular ways to overcome this phenomenon is to mix color functions with our good old friend—Set Analysis.

Example: NBA standings.

Relevant features: Set Analysis and color highlight.

To create this visualization, you can do the following:

  1. Create a classic bar chart using Team as the dimension and sum(Wins) as the expression.

  2. This trick is based on two parts. First, we must work with the colors so that only the possible teams are highlighted. Then, we must ensure that even though the user selects just a couple of teams, the chart always displays all of them.

  3. Let's move on to the color. Go to the Expressions tab and click on the Expression Expansion icon.

  4. Locate the Color Background parameter and add the following formula:

    =if(match(Team, concat(DISTINCT Team, ',')),RGB(130...
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
Banner background image