Book Image

Qlik Sense Cookbook - Second Edition

By : Labbe, Hand, Kharpate
Book Image

Qlik Sense Cookbook - Second Edition

By: Labbe, Hand, Kharpate

Overview of this book

Qlik Sense allows you to explore simple and complex data to reveal hidden insight and data relationships that help you make quality decisions for overall productivity. An expert Qlik Sense user can use its features for business intelligence in an enterprise environment effectively. Qlik Sense Cookbook is an excellent guide for all aspiring Qlik Sense developers and will empower you to create featured desktop applications to obtain daily insights at work. This book takes you through the basics and advanced functions of Qlik Sense February 2018 release. You’ll start with a quick refresher on obtaining data from data files and databases, and move on to some more refined features including visualization, and scripting, as well as managing apps and user interfaces. You will then understand how to work with advanced functions like set analysis and set expressions. As you make your way through this book, you will uncover newly added features in Qlik Sense such as new visualizations, label expressions and colors for dimension and measures. By the end of this book, you will have explored various visualization extensions to create your own interactive dashboard with the required tips and tricks. This will help you overcome challenging situations while developing your applications in Qlik Sense.
Table of Contents (11 chapters)

Using the Variable extension


Qlik sense has the capability to create variables that can be used in the script, and also in the user interface.

As a developer, we can use the variables editor when editing a sheet, but we can change a variable when in view mode.

There will be questions such as the following:

  • How to enable the user to choose how many customers to see in a bar chart?
  • How to enable end users to input data in a variable to simulate some calculation scenarios?

To answer these questions, we can use the Variable extension.

Getting ready

This recipe is a continuation of the previous recipe. So, we will be using the Variable extension we already downloaded.

The recipe explains how to use the extension to set values in a variable.

How to do it…

  1. Open the Automotive.qvf app provided for Chapter 2Visualizations, and create a new sheet.
  2. Create a Bar chart on the sheet.
  3. Add Territory as the dimension.
  4. Add Total Car Sales as the measure.
  1. The resulting chart will look like the following screenshot:
  1. Adjust...