Create Apps and Visualizations
Create Apps and Visualizations
Create Apps and Visualizations
Qlik Sense®
November 2022
Copyright © 1993-2023 QlikTech International AB. All rights reserved.
HELP.QLIK.COM
© 2023 QlikTech International AB. All rights reserved. All company and/or product names may be trade
names, trademarks and/or registered trademarks of the respective owners with which they are associated.
Contents
Read and learn how to create and customize sheets and visualizations in your app. You will also learn
about creating reusable master items, and about expressions in visualizations.
This document is derived from the online help for Qlik Sense. It is intended for those who want to read parts
of the help offline or print pages easily, and does not include any additional information compared with the
online help.
You find the online help, additional guides and much more at help.qlik.com/sense.
2 Creating apps
Qlik Sense apps contain data, and use visualizations to explore that data. Make discoveries
by applying selections to visualizations.
The foundation of an app is the data model and load script. Measures and dimensions are reusable data
items used to build charts. Sheets and stories display and organize your visualizations. Bookmarks are an
easy way to save a specific selection state on a sheet.
Whoever creates an app is automatically designated as its owner. An app can be re-used, modified, and
shared with others, depending on access rights. Different actions can be carried out depending on whether
the app is published or not.
2.1 Foundations
Data manager and Data load editor
The Data manager lets you quickly add and transform data. You can also associate data tables. The Data
load editor uses scripts to connect to a data source and retrieve the data.
Measures
Measures are calculations used in visualizations. Measures are created from an expression composed of
aggregation functions, such as Sum or Max, combined with one or several fields.
Dimensions
Dimensions are fields used in visualizations. Dimensions determine how the data in a visualization is
grouped. For example: total sales per country or number of products per supplier.
Bookmarks
Bookmarks are shortcuts to a certain set of selections and chart expansions.
Stories
Stories are based on snapshots of visualizations. You present your data by creating a story that guides you
to new insights by combining snapshots of data at specific times and selection states.
Overview
For example, you are creating an overview of your company's key metrics, sales, and margins by state,
region, and product. Instead of having all this information in one place, you could structure it by having one
sheet for each purpose.
A sheet is where charts and tables for data visualization are placed. An app can include several sheets.
The selections that you make affect visualizations, regardless of which sheets they are on.
An example of a sheet with boxes on the left to select and filter out the data to be presented in the visualizations on
the right.
You access the sheet navigator from the sheet view by clicking in the toolbar.
Do the following:
Do the following:
You can also change a sheet’s title and description in the Sheet properties panel.
If you set a dynamic sheet title, the fixed title (Title) is not used.
For example, you could create a sheet that is only available if certain values are present in your data.
Typically, you should use an if function.
Show conditions applied to sheets are not supported in Qlik Sense Mobile SaaS.
l The following formats are supported: .png, .jpg, .jpeg, and .gif.
l The optimal aspect ratio of a thumbnail is 8:5 (width:height).
l You can only add or change the thumbnail of an unpublished sheet.
Do the following:
The image you selected is now used as a thumbnail for the sheet, and is visible in the sheet navigator and
in the app overview.
You can also change a sheet’s thumbnail in the sheet navigator at the top right or in the Sheet
properties panel.
The following formats are supported: .png, .jpg, .jpeg, and .gif.
For Qlik Sense: You can upload images to the In app folder in the media library. You need to use the Qlik
Management Console to upload images to the default folder.
For Qlik Sense Desktop: You can place images in the following folder on your computer:
C:\Users\<user>\Documents\Qlik\Sense\Content\Default. Images will be available in the default folder in
the media library. When moving an app between installations, the images that you use in the app are saved
in the qvf file together with the app. When you open the app in a new location, the images will be in the In
app folder in the media library for the app.
Do the following:
l Change the Grid spacing setting in Sheet properties from Wide (the default option) to Medium or
Narrow.
The sheet grid is now more dense and the grid squares are smaller.
When a sheet is using a custom size, you can change the grid spacing, but you cannot use Extend sheet
to change the size.
Custom-sized sheets may have a lower quality PDF output if the sheet is too large to clearly
display on a single PDF page.
Do the following:
When a sheet is using a custom size, you can change the grid spacing, but you cannot use Extend sheet
to change the size.
Custom-sized sheets may have a lower quality PDF output if the sheet is too large to clearly
display on a single PDF page.
Do the following:
A sheet viewed on a small screen in List view (left) and Grid view (right)
Grid view shows a small preview of your visualizations. List view only shows the visualization titles.
Do the following:
Downloaded extended sheets may have a lower quality PDF output if the sheet is too large to
clearly display on a single PDF page.
Do the following:
l Drag an object to the bottom of the sheet and drop it on the drop zone that appears.
l Toggle Extend sheet under Sheet properties.
The sheet is now expanded by 50% of the original height. You can scroll vertically in the sheet to access all
content.
Duplicating a sheet
You can duplicate any sheet, regardless of whether it is a sheet that belongs to the app or a sheet you have
created yourself. The purpose of duplicating sheets is to save time by reusing content, and to allow you to
modify the duplicate so that it fits your needs better.A duplicated sheet contains the same visualizations as
the original sheet, and is linked to the same master items. The duplicated sheet is a standalone sheet with
no connection to the original sheet. Duplicated sheets appear under My sheets in app overview and in the
sheet navigator.
l Click Duplicate in the shortcut menu of a sheet in the app overview or in the sheet navigator.
l Click Duplicate sheet in the global menu in the app overview or in sheet view.
Sheet actions can be configured in the properties panel. You can add multiple actions to a sheet. The
actions are performed in the order they are listed under Actions. You can change the order of an action by
dragging it.
For a visual demo about adding actions to sheets, see Adding actions to sheets.
All expressions used in sheet actions are evaluated before the actions are performed. For
example, you could not use an expression in an action that selects results from a previous
action as the expression evaluates before the selection is made by the action.
Sheet actions are not triggered if the sheet is an embedded sheet or in a mashup.
Do the following:
Apply bookmark
You can apply the selection that is defined in a bookmark that you choose.
It is not possible to use fields with date, timestamp, or money data type.
l If you want to use an expression, you need to enclose it in single quotes, for example, ='=Sum
([Sales Amount]) > 200000'.
l If you want to search for a partial string, you need to use wild cards (*, ?,^). If you do not use wild
cards, only strings that match exactly are selected.
Select alternatives
Select all alternative values in a field that you specify. You can optionally overwrite locked selections.
Select excluded
Select all excluded values in a field that you specify. You can optionally overwrite locked selections.
Creating an app
The first thing you need to do when building an app is to create an empty placeholder for it. You create the
app placeholder from the hub.
Do the following:
On-demand apps
On-demand apps enable you to load and analyze big data sources in Qlik Sense.
Trying to analyze an entire big data store at one time is highly inefficient. Nevertheless, to make
representative visualizations, all the data must be discoverable. Qlik Sense on-demand apps give users
aggregate views of big data stores and allow them to identify and load relevant subsets of the data for
detailed analysis.
On-demand apps are made up of several building blocks or components, and some of those components
are built by users with advanced scripting skills.
The on-demand apps shown on the App navigation bar have completion indicators that start to turn green
as you make selections in the selection app. Each on-demand app on the app navigation bar has a limit on
the amount of data it can contain. When selections are made in the selection app, the completion indicator
shows when the amount of data selected is within the bounds set for the on-demand app.
Once an on-demand app's indicator turns completely green, you can generate that app with the currently
selected data. You can also choose to open a previously generated instance of that app. Every on-demand
app in the app navigation bar can be generated multiple times, and those generated apps remain
accessible. When the maximum number of apps has been generated, you must delete an existing app
before you can generate a new on-demand app. On-demand apps also may have an expiration time after
which they are automatically deleted.
Anonymous users can only generate on-demand apps that are published automatically.
Because anonymous users can only use published apps, they cannot use an on-demand app
unless it is published automatically when it is generated. If an anonymous user attempts to
generate an on-demand app that is not set for automatic publication, a message displays
indicating that the user cannot generate an app from that particular on-demand app navigation
point.
The maximum number of apps and the retention time are set on the on-demand app navigation link. The
app navigation link is one of the building blocks of on-demand apps, and it is usually added by the creator
of the selection app.
Do the following:
You can select an on-demand app in the App navigation bar to open its generation panel. There
you can click the to see the Constraint (maximum number of records allowed) and the number of
records currently selected. You can also see the number of values selected for each field and any
constraints on the fields. When on-demand apps are created, constraints can be placed on
individual fields. For example, a field for Year might be limited so that no more than two values can
be selected.
When the number of records (Row count) currently selected is less than or equal to the maximum
number of records allowed, the completion indicator turns completely green. An app cannot be
generated, however, until all the constraints have been met. If the row count is within the constraint
but one or more of the fields have not met the requirements of their constraints, the Generate new
app button will not be enabled.
If you select Generate new app when constraints panel is open, you will not see the
generated app. Click the to close the panel, and you will see the new app listed if it
generated successfully.
4. Click the Generate new app button to create a new instance of the on-demand app with the data
currently selected.
The new instance of the app is generated and appears in the generation panel above the Generate
new app button.
To see more about the generated app, open its detail panel.
In this view, you can also rename the on-demand app. By default, on-demand apps are assigned
the name of the navigation point from which they are generated, and the user's name is appended.
For example, when the name of the navigation point is "Ox Sample Detail," the default name of the
generated on-demand app would be "Ox Sample Detail_John-Doe" for user "John Doe." In the
illustration above, the name of the on-demand app has been changed to "Ox Sample Detail_
Airlines." You can rename an on-demand app even if it has been published.
On-demand apps generated by anonymous users are given default names indicating
that they were generated by an anonymous user rather than a registered user.
Anonymous users can change the names of generated apps just as registered users
can change the names of their apps.
The Apply button applies the selections listed on the generated on-demand app's Selections tab to
the selection app.
5. Select Open app from the > menu to open the generated app.
You can also reload data and regenerate an on-demand app. The Reload menu is available when
the detail panel is open:
l Regenerate using current selections: regenerates the on-demand app using the current
selections that have been made within the selection app.
The Apply button on the Selections tab applies the on-demand app's selections
to the selection app. The on-demand app's selections are those listed as
Selections made when this app was generated. For more information, see the
illustration above.
This is the reverse of what is done when Regenerate using current selections is
used.
l Regenerate copy using the current selections: generates a new on-demand app using the
current selections that have been made within the selection app. The previously generated
on-demand app remains in its current state.
1. In a published on-demand selection app, where the user selects data and generates an on-demand
app from the App navigation bar.
2. In a stream where a generated on-demand app is published.
Published on-demand apps have a preselected subset of data from a very large data source. You can
explore that data through the visualization objects in the on-demand app. In that way, on-demand apps are
like apps created with data from any other source.
You cannot change them after they have been published, though like other published apps, you can add
private sheets and stories if you have the correct access rights. You work with published on-demand apps
the same way you work in other published apps.
Styling an app
You can apply styling to your app to customize the app based on your company standards.
The selected styling will be applied to all sheets in the app. Once the app has been published,
you cannot change the app styling.
More styling can be applied to an app by a developer through custom theme extensions.
Tables support custom styling. Custom table styles override app style.
Do the following:
As of Qlik Sense June 2018, app options is not available on a published apps even when
having custom security rules defined with Update action on App resources.
Do the following:
If a visualization is shared using Qlik Sense Charts, changing the reading order in the app will
also affect the reading order in the shared chart. .
l Sense Horizon - This is the default theme when you create a new app.
l Sense Classic - Provides a more compact view of objects, and limits the space between them.
l Sense Focus - Adjusts the padding and spacing around objects as well as provides designated
spaces for titles.
l Sense Breeze - Based on Sense Focus but with different color settings.
Do the following:
Custom themes
You can also create custom themes based on your company standards. With themes you can precisely
style an app by changing the colors, adding images and backgrounds as well as specifying the fonts, font
sizes, font weights and font styles on a global or granular basis throughout your app. You can also define
color palettes and customize the specifications for margins, padding and spacing.
≤ For more information, see Sense for Developers: Custom themes.
Custom themes are not dependent on the app. This means that if you for example change the
colors defined in a custom theme these will be updated in all apps using the theme, even if the
app is published.
When you have created a custom theme, you store it in Qlik Sense as an extension. The JSON file and any
additional resources, such as CSS files, are zipped and imported as an extension in the Qlik Management
Console (QMC). This enables that security rules can be added in the QMC for controlling which themes
specific users have access to.
Custom themes appear under Custom in the App Theme drop-down menu.
Do the following:
You can turn off the hover menu for a single visualization in edit mode.
Do the following:
If you are using a mobile device, the sheet title background is displayed as one solid color even
if two colors has been set.
Do the following:
Now you have set a color by selecting in the default color palette.
Color dialog with the default color palette and a blue color selected.
Do the following:
Do the following:
Now you have set a color by using the color wheel and/or the slider.
Color dialog with the advanced options and a blue color selected.
Adding an image
You can add an image to the sheet title, such as a logo. The following formats are supported: .png, .jpg,
.jpeg, and .gif.
Do the following:
Do the following:
Manage the new reload task in the hub by right-clicking the app and selecting Manage reload
tasks. For example, you can view, stop, or start the reload task. For more information about
managing and scheduling reload tasks in the hub, see Managing app reload tasks (page 30).
Administrators can also schedule app reloads in QMC. For more information, see Creating
reload tasks.
App reload tasks that are created by an administrator in QMC also display in the hub. To view the reload
tasks for an app in the hub, right-click the app and select Manage reload tasks.
You must have the appropriate permissions, set in the QMC, to manage app reload tasks in the
hub. For more information, see Configuring reload task management for the hub.
For information about creating app reload tasks in QMC, see Creating reload tasks.
You must have the appropriate permissions, set in the QMC, to create app reload tasks in the
hub. For more information, see Configuring reload task management for the hub.
Do the following:
1. In the hub, right-click the app that you want to create a reload task for, and then click Manage
reload tasks.
2. Click Create task.
3. Enter a name for the task in the Name field.
4. Under Execution, review the default settings and edit any of the following properties:
a. Select or clear Enabled to enable or disable the task. The task is Enabled by default.
b. Task session timeout (minutes): The maximum period of time before a task is aborted if the
session times out. The default setting is 1440 minutes.
c. Max retries: The maximum number of times the scheduler will try to rerun a failed task. The
default setting is 0.
5. Click Create.
6. In the Tasks list, under Actions, click to open the task properties.
7. Click Create scheduled trigger and select the properties that you want to set for the trigger.
Scheduled triggers
Scheduled trigger properties in the hub
Property Description
Property Description
Time zone The time zone of your operating system, at the time you create the trigger. When
you save a trigger, the settings are kept, and if you move to a different time zone,
the original values are still displayed. If you want to change the time zone and
start time of a trigger, you need to do that manually.
For a trigger that was created before the introduction of the time zone
setting, all times and dates are by default presented in Coordinated
Universal Time (UTC).
For time zones not using DST, always select Permanent standard
time.
Example:
You created a trigger for an event at 10:00 AM, while you were working in Ottawa,
Canada, in January. The time zone is (GMT-0500) Eastern Time (US & Canada)
and DST is used between March and November.
If you select Observe daylight saving time, a trigger set to start at 10:00 will
always start at 10.00.
If you select Permanent standard time, a trigger set to run at 10:00 will run at
10:00 in the winter but at 09:00 in the summer.
If you select Permanent daylight saving time, a trigger set to run at 10:00 will run
at 11:00 in the winter and at 10:00 in the summer.
Property Description
8. Click Create, and then click Apply to add the trigger to the reload task.
After adding a trigger for a reload task, click Refresh task list in the notification message or
click in the task list to see the next execution time for the reload task in task list.
You must have the appropriate permissions, set in the QMC, to edit app reload tasks in the
hub. For more information, see Configuring reload task management for the hub.
Do the following:
1. In the hub, right-click the app with the reload task that you want to edit, and then click Manage
reload tasks.
2. In the Tasks list, under Actions, click to open the task properties.
3. Edit the task properties.
a. You can change the task name in the Name field.
b. You can change the Execution properties.
l Select or clear Enabled to enable or disable the task. The task is Enabled by default.
l Task session timeout (minutes): The maximum period of time before a task is
aborted if the session times out. The default setting is 1440 minutes.
l Max retries: The maximum number of times the scheduler will try to rerun a failed
task. The default setting is 0.
c. Create a new trigger. Select Create scheduled trigger, set the properties (see descriptions
below) for the new trigger, and then click Create to add the trigger to the reload task.
d. Edit a scheduled trigger. In the Triggers list, under Actions, click . Set the properties (see
descriptions below) and click OK to save your changes.
Scheduled Trigger
Scheduled trigger properties in the hub
Property Description
Time zone The time zone of your operating system, at the time you create the trigger.
When you save a trigger, the settings are kept, and if you move to a
different time zone, the original values are still displayed. If you want to
change the time zone and start time of a trigger, you need to do that
manually.
Property Description
Example:
You created a trigger for an event at 10:00 AM, while you were working in
Ottawa, Canada, in January. The time zone is (GMT-0500) Eastern Time
(US & Canada) and DST is used between March and November.
If you select Observe daylight saving time, a trigger set to start at 10:00
will always start at 10.00.
If you select Permanent standard time, a trigger set to run at 10:00 will run
at 10:00 in the winter but at 09:00 in the summer.
If you select Permanent daylight saving time, a trigger set to run at 10:00
will run at 11:00 in the winter and at 10:00 in the summer.
Property Description
If you modified a task trigger, click Refresh task list in the notification message. You can also
click to refresh the task list.
Do the following:
1. In the hub, right-click the app with the reload task that you want to delete, and then click Manage
reload tasks.
After converting the document to an app, you may need to adapt the load script to be able to reload the
script in Qlik Sense. In some cases, you may need to make some changes in the QlikView script before
you convert the document.
Qlik Sense provides a tool to help convert a QlikView document (QVW file) to a Qlik Sense app. The tool
converts visualizations, dimensions, measures, and variables. You must have access to the Dev Hub To
use the QlikView to Qlik Sense converter.
Instructions for how to use the converter tool are provided on the Qlik Sense Developer site.
≤ For more information, see QlikView converter.
If you do not have access to the Dev Hub, you can convert a QlikView document manually.
We recommend that you make changes only in a duplicate of any app that you convert, so that
your changes are not overwritten by a later conversion.
The QlikView to Qlik Sense converter is described on the Qlik Sense Developer site.
Prerequisites
l You need to have Qlik Sense Desktop installed to be able to convert a QlikView document into a
Qlik Sense app.
l Your computer must have sufficient memory, at least 32 GB, when converting a large QlikView
document.
l If the QlikView document contains hidden script or uses section access, you need to have full
access to the hidden script and section access of the document.
Do the following:
Do the following:
1. Remove the section access code in QlikView Script Editor before converting the document. This
requires that you have full access to the script of the document.
2. Convert the document into an app.
3. Reapply section access in the Qlik Sense app. There are some differences that you may need to
take account for:
l User authentication is changed. The USERID field is now used to authenticate all users, and
the NTNAME and PASSWORD fields are not supported anymore.
l If you have access to the script, but not to the data, you can open the app without data and
edit the script, including the section access.
l Section access is applied using strict exclusion in Qlik Sense. This means that you can only
see data that you have been specifically granted access to.
l QvWorkRoot
l WinPath
l WinRoot
l ErrorMode
l StripComments
l ScriptErrorCount
l ScriptError
l ThousandSep
l DecimalSep
l MoneyThousandSep
l MoneyDecimalSep
l MoneyFormat
l TimeFormat
l DateFormat
l TimestampFormat
l MonthNames
l DayNames
l ScriptErrorDetails
l ScriptErrorList
l OpenUrlTimeout
l HidePrefix
l FirstWeekDay
l BrokenWeeks
l ReferenceDay
l FirstMonthOfYear
l CollationLocale
l LongMonthNames
l LongDayNames
Do the following:
1. Copy the QlikView document (qvw format) to the directory where your apps are located.
This is usually <user>\Documents\Qlik\Sense\Apps, but the location of the Apps directory depends
on where you installed Qlik Sense Desktop.
2. Start Qlik Sense Desktop.
You now see the QlikView document as an app in the hub, with the name ending with (qvw).
3. Click on the app to open it.
The app is saved into the Qlik Sense format (qvf file) in the folder where your QlikView document (qvw file)
was stored. Also, the QlikView document file (qvw) is removed from the folder and automatically converted
into a backup file (qvw.backup) stored here: <user>\Documents\Qlik\Sense\AppsBackup.
You have now migrated a QlikView document into a Qlik Sense app. The app contains the data model,
including the loaded data, and the data load script.
You can use the data model to build visualizations, copy it or import it into your server environment through
the Qlik Management Console (QMC), but you need to adapt the load script before you can reload the data
model.
You can also drag and drop a qvw file from a folder onto the Qlik Sense Desktop hub, to open it
as a Qlik Sense app. If the Qlik Sense app (qvf file) becomes stored in another folder than
<user>\Documents\Qlik\Sense\Apps, move it to the Apps folder to make it available from the
hub.
Do the following:
1. Create folder data connections for all file paths that are used in the data load script.
You need to check statements and functions that refer to files. LOAD statements are the most
common ones, but there is a complete list available.
2. Replace all references to absolute or relative file paths in the script with lib:// references to the data
connections you created.
Examples
Original script in QlikView Adapted Qlik Sense script
LOAD * FROM [C:\data\Tutorials LOAD * FROM [lib://Tutorials
source\Sales rep.csv]; source/Sales rep.csv];
In this case, the Tutorials source folder data
connection should be pointing to
C:\data\Tutorials source\, or where the data is
located if you have moved the app to another
computer or a Qlik Sense server.
l Input fields
l Message boxes
l Bundle and Info load
l ALL qualifier
We recommend that you check your script code against these lists of statements and functions that are not
supported or recommended, and adapt the code according to recommendations.
If you want to make any changes in the data selection by the custom connector, you need to install a
version of the custom connector adapted for Qlik Sense.
Do the following:
You can only change the title and description of an unpublished app.
You can open or close the app details area by clicking the app name in the navigation bar.
Do the following:
The image you selected is now used as a thumbnail for the app.
The following formats are supported: .png, .jpg, .jpeg, and .gif.
For Qlik Sense: You can upload images to the In app folder in the media library. You need to use the Qlik
Management Console to upload images to the default folder.
For Qlik Sense Desktop: You can place images in the following folder on your computer:
C:\Users\<user>\Documents\Qlik\Sense\Content\Default. Images will be available in the default folder in
the media library. When moving an app between installations, the images that you use in the app are saved
in the qvf file together with the app. When you open the app in a new location, the images will be in the In
app folder in the media library for the app.
You can open or close the app details area by clicking the app name in the navigation bar.
Duplicating an app
You can duplicate an existing app, to create a copy to develop further. You can only duplicate an app that
you have created yourself unless your administrator has assign you a security role with duplication
enabled.
If you have an admin role, giving you the administration rights needed, you can create duplicates of apps
from the QMC.
When you duplicate a published app, only the base sheets and stories will be included in the
copy.
Do the following:
l In the hub, right-click the app you want to duplicate and select Duplicate.
A toast notification is displayed for a while, at the bottom of the screen, when the duplication starts.
A new toast notification will be displayed when the app has been duplicated and give you the
possibility to update the app list. If the duplication fails, an error message will be displayed.
A copy of the app is created under Work. You can click the app to open it and start adapting it according to
your preferences.
Because of how the synchronization of data works in multi-node sites, apps containing images
may display broken thumbnails or images inside the apps if opened right after being duplicated
or imported. The broken images are restored when the synchronization is complete. To check if
the images have been restored, refresh the browser window.
When your app is available, users with access to that app can search Insight Advisor in your app with
Insight Advisor Chat.
Apps that use Section Access require additional configuration for service users to be available
in Insight Advisor Chat. If you have sensitive information in app names, field names, or master
item names, these may be exposed by making apps using Section Access available for Insight
Advisor Chat. App suggestions for queries include app in streams to which users have access.
These may include apps to which users do not have access in an app's Section Access.
Selecting these apps will do nothing, however. When clicking Dimensions or Measures to view
the available items from an app using Section Access, users may see items to which they do
not have access. Clicking on these items will not provide any data to the users, however.
For your own unpublished apps, you can search for fields and master items from the app. For published
apps, users can search for only master items. If you have business logic applied to an unpublished or
published app, then users can search for available fields and master items based on the logical model.
Clicking the Measure or Dimension button (or entering show measure or show dimension) will show the
corresponding master items. If the app has no master items, fields related to measures or dimensions are
shown instead. Fields or master items hidden in the logical model will not appear when the button is
clicked, but can be searched for in a query.
Do the following:
Do the following:
Do the following:
Deleting an app
You can delete an app that you no longer need.
From the hub, you can only delete apps that you have created and that have not yet been
published.
If you have published an app, the published version is locked and can only be deleted from the Qlik
Management Console. The published version is a duplicate of the original app. The original version of the
app can be deleted from your personal work in the hub.
Do the following:
You can delete a published app from the Qlik Management Console.
If an app is being deleted by someone else from the stream you are currently viewing, a toast notification
will be displayed and give you the possibility to update the app list.
You can upload images to the media library. Because of limitations in the web browsers supported by Qlik
Sense, it is recommended to keep the height and width as well as the file size of the images as small as
possible. The maximum file size is 5 MB.
The following formats are supported: .png, .jpg, .jpeg, and .gif.
For Qlik Sense: You can upload images to the In app folder in the media library. You need to use the Qlik
Management Console to upload images to the default folder.
For Qlik Sense Desktop: You can place images in the following folder on your computer:
C:\Users\<user>\Documents\Qlik\Sense\Content\Default. Images will be available in the default folder in
the media library. When moving an app between installations, the images that you use in the app are saved
in the qvf file together with the app. When you open the app in a new location, the images will be in the In
app folder in the media library for the app.
You can open the media library in several ways. Do one of the following:
l In the app overview, click in the app details area and click on the thumbnail.
l If you are editing a sheet, double-click the text & image visualization to open the editing toolbar and
click .
l In storytelling view, click in the toolbar and then select an image.
The Media library dialog opens and now you can upload images.
Do the following:
You cannot upload a file if its file name already exists in the media library.
Now you have added images to the media library. Click the image and select to insert the image.
You can open the media library in several ways. Do one of the following:
l In the app overview, click in the app details area and click on the thumbnail.
l If you are editing a sheet, double-click the text & image visualization to open the editing toolbar and
click .
l In storytelling view, click in the story tools panel and drag Image onto the slide and then double-
click inside the image placeholder.
The Media library dialog opens and now you can delete images.
Do the following:
For Qlik Sense: You need to use the Qlik Management Console to delete images from the
default folder, or other folders that were created from the Qlik Management Console.
The images in the In app folder are bundled images, saved in the qvf file together with the rest of the
contents of the app. If a bundled image is no longer used in the app, the image will be deleted from the qvf
file when saving the app.
Images are not included in an app that has been moved from one Qlik
Sense environment to another
Possible cause
You have created an app in Qlik Sense and moved the app to another Qlik Sense environment.
When you move apps between Qlik Sense environments, images may not have been moved
automatically. The images have to be handled manually, in different ways depending on between which
environments the app has been moved.
Proposed action
Import the images from the Qlik Sense environment where the app was created to the target location using
the Qlik Management Console.
Images are not included in an app that has been imported from Qlik Sense
Desktop to Qlik Sense
Possible cause
You have created an app in Qlik Sense Desktop and imported the app to Qlik Sense.
When you move apps between Qlik Sense environments, images may not have been moved
automatically. The images have to be handled manually, in different ways depending on between which
environments the app has been moved.
Proposed action
Import the images from the images folder of the Qlik Sense Desktop app using the Qlik Management
Console.
Images are included automatically only when you move an app from one Qlik Sense Desktop
installation to another.
If you have organized images in subfolders in the Content\Default folder in Qlik Sense Desktop,
these have to be added manually to the app and its sheets, stories and text & image objects
after importing the images.
Images are not included in an app that has been moved from one Qlik
Sense Desktop installation to another
Possible cause
When you move apps between Qlik Sense environments, images may not have been moved
automatically. The images have to be handled manually, in different ways depending on between which
environments the app has been moved.
Proposed action
Do the following:
l Copy the images from the PC where the app was created and paste into the images folder of the
target location.
Possible cause
Proposed action
Do the following:
l Convert the image to one of the supported formats (png, jpg, jpeg or gif).
Possible cause
The charts generated by the Insights are choosing fields that end up with costly charts.
Proposed action
Do the following:
Possible cause
You are do not have one or more of the following permissions set in QMC:
Proposed action
Contact a QMC administrator to be assigned the HubAdmin role or to get create and read access to the
ReloadTask resource filter.
Possible cause
The security rule HubSectionTask is disabled or you do not have read access to the HubSection_Task
resource filter. Alternatively, you may not have read access to app reload tasks in the hub configured in
QMC.
Proposed action
Contact a QMC administrator to get read access to HubSection_Task and either read access to app reload
tasks in the hub or to be assigned the HubAdmin role. The HubAdmin role, dy default, has read access to
app reload tasks in the hub.
You have copied a sheet from another app. Thumbnails are stored as app resources and are not included
when you copy a sheet. Copying sheets within an app works fine.
Proposed action
You can copy an entire app and use that as starting point. This will include all resources, such as images.
App complexity
These are loose categories that can help diagnose issues. The most complex apps have the lowest
performance.
Simple apps:
Moderate apps:
l Have a data model with many tables, but follow best practices.
l Use set analysis and several If() statements.
l Have large or wide tables on sheets (15 columns or more).
Complex apps:
App details
You need to consider your hardware environment in relation to app size, because it affects the
performance of your Qlik Sense deployment. For example, if you do not optimize your apps, they may
require more hardware resources.
Qlik provides tools that can help you asses your apps. For more information, see: Performance and
scalability in Qlik Sense Enterprise.
These are the basic app elements that can affect performance:
App disk size (MB) You can find app size in the QMC. Go to Apps, and open the Column
selector on the right hand side next to Actions. Click the radio button next to
File size (MB). If you are using Qlik Sense Desktop, you can find app size in
Windows Explorer. The default folder is
%USERPROFILE%\Documents\Qlik\Sense\Apps. The Apps folder lists all
app names and file sizes.
App size in RAM (GB) You can determine an app's base RAM footprint by:
You can use the App Metadata Analyzer to find this metric if you are using
Qlik Sense June 2018 or later.
App total rows (M) You can use system fields to calculate total rows. Create a KPI with the
measure Sum($Rows).
App total fields You can use system fields to calculate total fields. Create a KPI with the
measure Sum($Fields).
App total tables You can use system fields to calculate total tables. Create a KPI with the
measure Count(DISTINCT $Table).
l The Operations Monitor app provides information about hardware utilization, such as server
memory and CPU usage, active users, and reload task activity. It also provides summary and
detailed information about errors, warnings, and log activities in the Qlik Sense server environment.
l The License Monitor app tracks license usage, and facilitates monitoring changes to license
allocation.
l The Log Monitor app presents nearly all log data available and enables trend analysis and
troubleshooting.
l The Sessions Monitor app shows log data about usage of apps.
l The Reloads Monitor app presents detailed information about reload data, both from the QMC and
apps open in the hub.
l The Sense System Performance Analyzer app displays Qlik Sense performance across all nodes.
l The Sense Connector Logs Analyzer app provides insights into usage and errors of specific Qlik
connectors.
l The App Metadata Analyzer app provides a holistic view of all your Qlik Sense apps, including
granular level detail of an apps data model and its resource utilization.
Segmentation
You can segment QVDs by dimensions, such as time frame, region or aggregation level. For example, you
can have:
l A QVD that contains data from the two most recent years.
l A QVD that contains historical data further than two years.
l A QVD that contains all data aggregated on a higher level. For example, per month instead of date,
or per country instead of individual customers.
l One large QVD with all the data, which is only used by a small subset of users.
You can segment the apps in a similar way. Smaller apps will address the analytical needs of most users.
This saves memory.
You can also have multiple apps focused on different regions. This way, users will not open an app with
data that they are not interested in or do not have rights to access. Data that is not accessible via section
access still affects memory.
The user makes selections in the shopping cart app. Once a threshold has been met, a custom LOAD
script is created which populates the template app with the requested details.
Document chaining
Document chaining means that there is an aggregated app, which users consume regularly. If a user
needs more detail, selections can be passed from the aggregated app to a detail app, so that they can view
a lower level of granularity. This saves memory, because users are not loading unnecessary detail.
Document chaining is supported via APIs.
Action Description
QVD files optimized on load QVD files can be read in two modes:
standard (fast) and optimized (faster). The
selected mode is determined automatically
by the script engine.
There are some limitations regarding
optimized loads. It is possible to rename
fields, but any of these operations will
result in a standard load:
Tables that have a small If you have two tables with few fields, it
number of fields are may improve performance to join them. .
denormalized
Denormalized lookup (leaf) You should not use the Join prefix if you
tables with mapping loads only need to add one field from a table to
another. You should use the ApplyMap
lookup function.
Action Description
Time stamps removed or Date fields can fill up space when the
decoupled from date field timestamp is present as the string
representation is larger, and the number of
distinct values is larger. If the precision is
not necessary for your analysis, you can
round the timestamp to e.g. the nearest
hour using Timestamp(Floor
(YourTimestamp,1/24)) or remove the time
component completely using Date(Floor
(YourTimestamp)).
Link tables avoided when You should use link tables where possible.
dealing with high data However, if you are dealing with large data
volumes volumes, concatenated tables can out-
perform link tables.
Action Description
QVDs are stored based on You should store QVD in segments, such
incremental timeframes as monthly. These smaller monthly QVD
can then support many different apps that
might not need all of the data.
Sheet performance
These are best practices that will improve performance of sheets and visualizations.
Action Description
Set analysis is used where You can use set analysis to define a set of
possible data values that is different from the normal
set defined by the current selections.
Action Description
Action Description
Numeric flags are leveraged Set analysis with flags can be more
in the script for use in set efficient than using string comparisons or
analysis multiplication.
3 Visualizations
Visualizations let you present data so that your app's users can interpret and explore it. For
example, a bar chart that compares sales numbers for different regions, or a table with
precise values for the same data. Good visualizations help you quickly and accurately
interpret displayed data.
Visualizations are easy to add and customize. They can take the form of charts, such as bar charts, pie
charts, tables, gauges, or treemaps. Each chart type has unique functionality. In the Qlik Sense Dev Hub,
you can create custom objects. Qlik Sense automatically highlights items associated with your selections
so you can drill-down and filter.
You also need to understand your data in terms of fields, dimensions, and measures. These affect how
your data is used in your visualizations.
For example: You want to show how a measure, quarterly sales, behaves over time. You should create a
line chart, because one of its strengths is displaying how measure values change over time.
If you are unsure of what visualization types to use with your data, Qlik Sense offers two methods of
creating visualizations with assistance:
l You can use Insight Advisor to let Qlik Sense analyze your data and generate visualizations based
on your searches or selections. You can then choose to add these visualizations to your sheets.
l You can also create visualizations using chart suggestions by dragging a field onto the sheet from
the assets panel and then dragging additional fields that you want in the visualization onto the first
field. Qlik Sense then creates a suggested visualization based on the fields selected for the
visualization.
The types of data you have in your tables and fields also impacts whether they can be used as dimensions
or measures, as well as what sorting options are most effective. For example, quantitative data and
qualitative data have different recommended uses when they are used as either dimensions or measures.
In addition to providing the data to display, data assets can be used to control what data is displayed and
how it is presented. For example, you can color a visualization using a dimension or measure not present
in the visualization. For more information, see Changing the appearance of a visualization (page 570).
The assets panel contains the different data sources you can use in your visualizations.
Data assets
The following data assets are available when creating visualizations:
l Fields
l Measures
l Dimensions
l Master items
Fields
Fields hold the data loaded into Qlik Sense. Fields contain one or more values and correspond to columns
in a database table. The field data can be qualitative or quantitative.
When creating visualizations, you use fields to create your dimensions and measures. You can also use
fields in different ways when you add visualizations to your app. Some visualizations, such as tables, can
present fields in an unmodified state.
Measures
Measures are the data that you want to show. Measures are created from an expression composed of
aggregation functions, such as Sum or Max, combined with one or several fields.
Dimensions
Dimensions determine how the data in a visualization is grouped. For example: total sales per country or
number of products per supplier. Dimensions display the distinct values from the field selected as a
dimension. Dimensions can also be calculated using an expression.
Master items
Master items are dimensions, measures, or visualizations that can be reused in other visualizations and
sheets in your app. Updating a master item updates every instance of it. This means you could have the
same measure in 5 visualizations, and they would all update whenever the master item is changed.
Master items also have more design options available. You can, for example, assign colors to a master
dimension's distinct values so that the distinct values are consistent across visualizations.
Master items also include special dimensions such as drill-down dimensions and calendar measures.
For more information, see Reusing assets with master items (page 87).
Expressions
An expression is a combination of functions, fields, and mathematical operators (+ * / =). Expressions are
used to process data in the app in order to produce a result that can be seen in a visualization
Expressions are used primarily used to create measures. They can also be used to build calculated
dimensions, or to set properties within different visualizations. For example, you can use expressions to
define range limits for gauges, or reference lines for bar charts.
The data in your fields can be quantitative or qualitative. Quantitative data values are measured
numerically on an ascending scale. Quantitative data can be ratios or intervals:
l Ratio: Ratios are quantitative data that you can perform arithmetic operations on, such as cost or
age.
For example, you can sum sales values for the month to get totals.
l Interval: Intervals are quantitative data that you cannot perform arithmetic operations on.
For example, you cannot calculate a sum of temperatures during the week, but you can calculate
the average temperature per day, and the high/low for each day.
Qualitative data can not be measured numerically, but can be described through language. Qualitative
data can be nominal or ordinal:
l Nominal: Fields with nominal data have distinct qualitative values, but without a set order.
For example, product names or customer names are nominal data, as they have distinct values, but
do not have a required order.
l Ordinal: Fields with ordinal data have qualitative values that have a ranked or positioned value.
Ordinal data should be sorted by its order as opposed to alphabetically.
For example, low, medium, high are ordinal values. Small, medium, and large are also ordinal
values.
The following table contains a general overview of recommended visualization types and aggregation
functions for data types. These recommendations should not be considered absolute.
Median
Sum
Median Sum
Average
Median
Interval Count -
Average
Median
Sum
Fields
Fields hold the data that is used in Qlik Sense. Fields can be thought of as the data loaded
from the load script.
Fields contain one or more values, called field values, and at the basic level, correspond to columns in a
database table, but can also exist in more than one table. Field values consists of numeric or alphanumeric
data. When loaded from the load script, fields can be represented as a table visualization.
Temp:
LOAD * inline [
Customer Product UnitSales UnitPrice
Imagine Film 4 16
Imagine Film 10 15
Imagine Shutter 9 9
PhotoInc Shutter 5 10
PhotoInc Lens 2 20
PhotoInc Magnifier 4 25
Gallery Film 8 15
Gallery Lens 7 19
] (delimiter is ' ');
The fields represented in a data model table after having loaded the data:
If the date or timestamp field is not recognized automatically, you can adjust the input format in the Data
manager table editor. You can also set the display format to use in visualizations.
l M/D/YYYY h:mm
l D/M/YYYY h:mm TT
l M/D/YYYY
l D/MM/YYYY
l YYYYMMDD
l YYYYMMDDhhmmss
l YYYYMMDDhhmmss.fff
l YYYYMMDDhhmmssK
l YYYY-MM-DD
l YYYY-MM-DDThh:mm:ss
l YYYY-MM-DD-Thh:mm:ss.fff
l YYYY-MM-DD-Thh:mm:ssK
YYYY Year
M, MM Month
D, DD Day
hh Hour
mm Minute
ss Second
fff Millisecond
TT AM or PM
K Timezone
T Divider between date and time. T can not be replaced with another character.
l [field name] is the name of the data field that was used to generate date & time fields.
l [date & time field] is the date & time field you want to use, for example, Year.
Example:
Date.autoCalendar.Year
l [field name] is the name of the date field used to generate date & time fields.
l [data & time field] is the name of the date & time field used, for example, InYTD.
l [value] is the value for the date & time field’s set analysis expression and determines which dates
are included.
Example:
Date.autoCalendar.YearsAgo={1}
The following are the available date & time fields with sample values:
InYTD
This date & time field determines whether or not dates are within the year-to-date range or outside the
year-to-date range.
InYTD
Example Result
Date.autoCalendar.InYTD= Returns all dates that fall in the year-to-date time range.
{0}
For example, if the current date was the 54th day of the year, the dates
within the first 54 days of every year in the date field would be included.
Date.autoCalendar.InYTD= Returns all dates outside the year-to-date time range.
{1}
For example, if the current date was the 54th day of the year, all the
dates after the first 54 days of every year in the date field would be
included.
YearsAgo
This date & time field determines whether or not dates are from a specific year relative to the current date.
YearsAgo
Example Result
Date.autoCalendar.YearsAgo={0} Returns all dates from this year.
Date.autoCalendar.YearsAgo={1} Returns all dates from last year.
Date.autoCalendar.YearsAgo={8} Returns all dates from eight years ago.
InQTD
This date & time field determines whether or not dates are within the quarter-to-date range or outside the
quarter-to-date range, relative to the current date.
InQTD
Example Result
Date.autoCalendar.InQTD= Returns all dates from all quarters that are within the quarter-to-date
{0}
range.
For example, if the current date was the 14th day of Quarter 1, the first
14 days of every quarter in the date field would be included.
Date.autoCalendar.InQTD= Returns all dates from all quarters that are outside the current quarter-
{1}
to-date range.
For example, if the current date was the 14th day of Quarter 1, all dates
after the first 14 days of every quarter in the date field would be
included.
QuartersAgo
This date & time field determines whether or not dates are from a specific quarter relative to the current
date.
QuartersAgo
Example Result
Date.autoCalendar.QuartersAgo={0} Returns all dates from the current quarter.
Date.autoCalendar.QuartersAgo={1} Returns all dates from the last quarter.
Date.autoCalendar.QuartersAgo={8} Returns all dates from eight quarters ago.
QuarterRelNo
This date & time field determines whether or not dates are from a specific quarter relative to the current
date.
QuarterRelNo
Example Result
Date.autoCalendar.QuarterRelNo= Returns all dates from each instance of the current quarter.
{0}
For example, if the current date was in Quarter 4, all dates from
each Quarter 4 in the date field would be included.
Date.autoCalendar.QuarterRelNo= Returns all dates from each instance of the quarter two quarters
{3}
prior to the current quarter.
For example, if the current date was in Quarter 4, all dates from
each Quarter 1 in the date field would be included
InMTD
This date & time field determines whether or not dates are within the month-to-date range or outside the
month-to-date range, relative to the current date.
InMTD
Example Result
Date.autoCalendar.InMTD= Returns all dates from all months that are within the current month-to-
{0}
date range.
For example, if the date was November 15, 2016, dates from the first 15
days of every month in the date field would be included.
Date.autoCalendar.InMTD= Returns all dates from all months that are outside the current month-to-
{1}
date range.
For example, if the date was November 15, 2016, dates after the first 15
days to the end of the month of every month in the date field would be
included.
MonthsAgo
This date & time field determines whether or not dates are from a specific month relative to the current
date.
MonthsAgo
Example Result
Date.autoCalendar.MonthAgo={0} Returns all dates from the current month.
Date.autoCalendar.MonthAgo={1} Returns all dates from the last month.
Date.autoCalendar.MonthAgo={8} Returns all dates from eight months ago.
MonthRelNo
This date & time field determines whether or not dates are from a specific month relative to the current
date.
MonthRelNo
Example Result
Date.autoCalendar.MonthRelNo= Returns all dates from each instance of the current month.
{0}
For example, if the current month was June, all dates in every
instance of June in the date field would be included.
Date.autoCalendar.MonthRelNo= Returns all dates from the each instance of the previous month.
{1}
For example, if the current month was June, all dates in every
instance of May in the date field would be included.
InWTD
This date & time field determines whether or not dates are within the week-to-date range or outside the
week-to-date range, relative to the current date.
InWTD
Example Result
Date.autoCalendar.InWTD= Returns all dates from all weeks that are within the current week-to-date
{0}
range.
For example, if the current date was the third day of a week, dates from
the first three days of every week in the date field would be included.
Date.autoCalendar.InWTD= Returns all dates from all months that are outside the current month-to-
{1}
date range.
For example, if the current date was the third day of a week, dates from
the last four days of the every week in the date field would be included.
WeeksAgo
This date & time field determines whether or not dates are from a specific week relative to the current
week.
WeeksAgo
Example Result
Date.autoCalendar.WeeksAgo={0} Returns all dates from the current week.
Date.autoCalendar.WeeksAgo={8} Returns all dates from eight weeks ago.
WeekRelNo
This date & time field determines whether or not dates are from a specific week relative to the current date.
WeekRelNo
Example Result
Date.autoCalendar.WeekRelNo= Returns all dates from each instance of the current week.
{0}
For example, if the current week was the second week of the year,
dates from the second week of every year in the date field would be
included.
Date.autoCalendar.WeekRelNo= Returns all dates from each instance of the previous week.
{1}
For example, if the current week was the second week of the year,
dates from the first week of every year in the date field would be
included.
Consider the following when using the Always one selected value:
l You can use the Always one selected value on one or more fields.
l You cannot clear the Always one selected value setting when viewing a sheet. You can, however,
clear the setting by editing the sheet in your workspace.
l When you publish an app with the Always one selected value selected, the value is applied to all
sheets in the app. The app consumer cannot clear the value.
l When you duplicate an app, the Always one selected value is duplicated with the app.
l When you export an app without data, the Always one selected value is not exported with the app.
l The Always one selected value is not supported for derived fields.
You can use the value with a default bookmark in to highlight specific selections for your app consumer.
Do the following:
The Always one selected value defaults to the first entry in the field. In the example above, the
value is applied to Currency. CHF is the currency that is selected by default. You or your app
consumer can change this selection, in this case to a different currency.
7. To test that the Always one selected value is working properly, close and then reopen the app. The
value should be shown in the top toolbar.
To remove the Always one selected value for a field, right-click the field in Edit mode, click Field settings,
and deselect the Always one selected value check box.
Always one selected value and default bookmark example: Controlling selections to guide
app consumers to insights
In this example, we set Always one selected value for a field. We then specify a default bookmark for the
app. By specifying a default bookmark, and enabling Always one selected value, we control what our app
consumers see when they open our published app.
1. Here is a sheet in our app before the Always one selected value and a default bookmark are
applied. This should be the sheet that you want app consumers to see as a landing page when they
open the app.
For the Amount measure in the chart above, we used this expression: =sum(DISTINCT
{<Currency=>} Amount_LOCAL)* RATE
2. To ensure that one, and only one, value is always selected for the Currency field, we edit the sheet,
click Fields, and then right-click Currency.
3. We then select the Always one selected value check box and save.
4. When we close Edit mode for the app, the Always one selected value value appears as a tab in the
top toolbar. The value defaults to the first entry in the field, in this case the value is CHF.
5. However, we want to show expenses in Euro when the app is opened. So we select Euro from the
Currency field, and then click Bookmarks to create a new bookmark for Currency("EUR"). We then
right-click the Currency("EUR") bookmark, and click Set as default bookmark.
Now, when we open the app, or publish the app for an app consumer, the app opens with one value
selected, and the default bookmark is shown. The app is opened on the sheet of the bookmark
instead of the app overview.
Dimensions
Dimensions determine how the data in a visualization is grouped. For example: total sales per
country or number of products per supplier. You typically find a dimension as the slices in a
pie chart or on the x-axis of a bar chart with vertical bars.
Example:
Product Type is a field in the Product table that is loaded into the app. The values of this field are the
different types that products are grouped into.
You can, for example, create a bar chart to visualize the cost of each type, by adding the Product Type
dimension to the chart. To complete the visualization, you must add a measure (in this case Cost), which is
grouped by the Product Type dimension.
Bar chart with the dimension Product Type and measure Cost.
For most purposes, the built-in functionality is fully satisfactory, but in some situations, a predefined
hierarchy can help you to display data more efficiently. In Qlik Sense, you can achieve this by defining
hierarchic groups of fields as drill-down dimensions.
Drill-down groups
When several fields form a natural hierarchy, it can make sense to create a drill-down group.
Example 1:
Example 2:
When you use a drill-down group as a dimension in a chart, the chart uses the first field in the group's list of
fields that has more than one possible value. If the currently made selections cause the field to have only
one possible value, the next field in the list is used instead, provided that it has more than one possible
value. If no field in the list has more than one possible value, the last field is used anyway.
In the first example above, Company will be used as chart dimension until a single company is selected.
The chart will then show Department. If a single department is selected, the chart will switch to Employee.
As selections are reverted, so that more than one value becomes possible in the upper fields of the group's
field list, the chart is automatically drilled back up.
Drill-up
The drill-up function is available in bar charts, pie charts, and line charts. Other visualizations reflect the
changes made in the charts, but cannot themselves be used to drill up through the different dimensions.
When you drill down in a dimension group, breadcrumbs provide links back to the previous dimensions.
Click the dimension that you want to drill up to.
In the following bar chart, the breadcrumbs Year > Quarter > Month enable drilling up.
Calculated dimensions
You can use expressions to create calculated dimensions. A calculated dimension consists of
an expression involving one or more fields. All standard functions may be used.
For performance reasons, it is recommended to perform all calculations in the data load editor.
When dimensions are calculated in the chart, Qlik Sense first calculates the dimension values,
and then aggregates the measures for these calculated values, which affects the performance
more than calculations in the load script.
There are cases when calculated dimensions are powerful in data analysis, for example, if you want to
generate the dimensions values during analysis, when dimension values are dependent on the selections.
Once you have created a calculated dimension, you can use it as any other dimension.
Example:
You have a field called Calendar Month that includes each of the months of the year. In your app, you want
include a table that shows the sales for each of the first 6 months of the year. For the rest of the months,
you want to see a total. You can use an expression to create this calculated dimension.
Syntax:
If ([Calendar Month] <7, [Calendar Month], 'Rest')
Measures
Measures are calculations used in visualizations, typically represented on the y-axis of a bar
chart or a column in a table. Measures are created from an expression composed of
aggregation functions, such as Sum or Max, combined with one or several fields.
A measure must have a name, and may also be supplied with descriptive data such as description and
tags.
Example:
You can, for example, create a bar chart to visualize the cost of each type, by adding the Product Type
dimension to the chart, and the measure Cost, which is made from the expression Sum(Cost), that is the
result of the calculation of the aggregation function Sum over the field Cost. The results are grouped by the
Product Type dimension.
Bar chart with the dimension Product Type and the measure Cost.
Modifiers
Measures are calculations based on fields, for example Sum(Cost). You can use modifiers to
change how the measure is calculated over the available dimensions.
For example, you can have the values of a measure accumulate over one or two dimensions, or you can
calculate the average of your measure over a specific number of steps.
Accumulation
The accumulation modifier allows you to accumulate the values of a measure over one or two dimensions.
Accumulating values makes it easy to visualize how the effect of the measure builds up over a dimension.
In the following combo chart, the bars and lines accumulate over time.
A combo chart where the line shows the accumulated profit margin and the bars show the accumulated sales
figures.
Syntax:
RangeSum(Above {$M,0,Steps})
Difference
The difference modifier allows you to visualize the difference between consecutive values of a measure
over one or two dimensions.The difference modifier is useful when you want to visualize the change in
direction of grouped data.
In the following bar chart, any drops in yearly profits over a 10 year period appear as negative bars.
A bar chart showing the profit differences from one year to the next.
Syntax:
$M - Above($M)
Moving average
The moving average modifier allows you to see the average values of a measure over a specific period.
You can use it to filter out the action from short-term value fluctuations. You can change the number of
steps over which the averaging takes place, depending on how strongly you want your modifier to follow
the changes in your data. A moving average is commonly used with time series data to highlight longer-
term trends or cycles.
In the following line chart moving averages with two difference ranges are shown, one with a 20 step range,
and one with a full range.
A line chart showing the price of a product over a five month period.
Syntax:
RangeAvg(Above ($M,0,Steps))
Relative numbers
The relative numbers modifier allows you to see relative percentages. You can use it to see the impact of
specific selections, relative to the selection, relative to the total, or relative to other fields. You can change
the basis upon which the relative number is calculated.
In the following table a column with sales of each year of a specific selection, and three columns with
relative numbers are shown, one relative to current selection, one relative to total sales for all years, and
one relative to the sales of each year.
A table showing different sales percentages relative to current selection, relative to total sales, and relative to each
year's sales.
The following is an example of the syntax of the modifier relative to the total selection.
Syntax:
$M / Sum( total Aggr( $M, dim ) )
Trend lines
A trend line is a visual representation of the direction of values over a period of time. Trend
lines show trends over time, by visualizing the direction of values and how fast the values
change.
More than one trend line can be added to a chart, showing different types of trends or different values.
A bar chart showing sales per month. An average trend line is shown with a dashed red line.
Linear
A linear trend line shows increase or decrease of values at a steady rate. Linear trend lines are usually
used with simple linear data sets.
A bar chart showing sales per month. An linear trend line is shown with a dashed red line.
The number of data fluctuations can determine the order of the polynomial. A second degree polynomial
trend line has one hill or valley, a third degree polynomial trend line has up to two hills or valleys, and a
fourth degree polynomial has up to three hills or valleys.
A bar chart showing sales per month. Polynomial trend lines of second, third, and fourth degree are shown with
dashed red, yellow, and green lines respectively.
Exponential
An exponential trend line is a curved line used when data values rise or fall at increasingly higher rates.
A bar chart showing sales per month. An exponential trend line is shown with a dashed red line.
Logarithmic
A logarithmic trend line is a curved line used when the rate of change in data increases or decreases
quickly, before leveling out.
A bar chart showing sales per month. A logarithmic trend line is shown with a dashed red line.
Power
A power trend line is a curved line used with data sets that compare measurements that increase at
specific rates.
A bar chart showing sales per month. A power trend line is shown with a dotted red line.
Any updates you make to the master item are applied everywhere the master item is used. For example,
you could use a master measure in as many of your visualizations as you like while only having to update it
in a single instance to update all instances of the measure in your visualizations.
One of the purposes with creating and maintaining master items is for other users to explore their own
ways and directions in the data, on top of what you have provided in the app as pre-made sheets with
visualizations. The users will be able to create their own visualizations with your pre-made master
dimensions and master measures, for example.
You can only create master visualizations when you are working with an unpublished app.
Visualizations with Chart suggestions enabled cannot be made into a master visualization.
Do the following:
1. While editing a sheet, drag a visualization from the sheet to the master items.
If you have given the visualization a title, this is automatically added as the name of the master
visualization.
2. Add a name, or change the name if you want to.
3. Type a description for the visualization (optional).
4. Add tags (optional).
5. Click Add.
You can also add a visualization to the master items by right-clicking it on the sheet, and
selecting Add to master items.
Do the following:
5. Click OK.
The visualization opens for editing.
You can also right-click the master item, and then click Edit.
6. Make the changes you want, and click Done in the upper right corner of the visualization to finish
editing.
You can also edit a master visualization by selecting a linked visualization on a sheet, and
clicking Edit in the properties panel. You must be in sheet edit mode.
Do the following:
The dimension is now saved in the Dimensions category in the master items, and you can use it in
visualizations.
You can quickly add several dimensions as master items by clicking Add dimension after
adding each dimension. Click Done when you have finished.
Direct Discovery fields are indicated by in the Fields section of the assets panel.
You can only create master dimensions when you are working with an unpublished app.
Do the following:
The dimension is now saved in the Dimensions category in the master items, and you can use it in
visualizations.
You can quickly add several dimensions as master items by clicking Add dimension after
adding each dimension. Click Done when you have finished.
The following description explains how to create a drill-down group from the Create new dimensions
dialog.
If selections cause the current drill-down dimension field to have only one possible value, the
next field in the list is used instead.
Do the following:
You can filter which table to select fields from in the drop-down list.
You can rearrange the order of the fields you have selected by dragging them to new
positions in the list of selected fields.
The drill-down dimension is now saved in the Dimensions category among the master items.
When you click the dimension in the panel on the left-hand side, the preview displays the dimension type
and which fields are included in the drill-down dimension.
The preview displays the dimension type and which fields are included in the drill-down dimension.
Do the following:
1. Click the Dimensions heading on the Master items tab to expand the category.
2. Click Create new.
The Create new dimensions dialog opens.
3. Click in the Field text box to open the Add expression dialog.
You will now be able to add expressions in different ways, depending on you preferences and of different
levels of complexity.
You can also add an expression by typing directly into the Field text box , but you will then not
be provided with syntax highlighting and syntax check.
You can insert just a function or just a field by selecting only one of them.
As you type in the expression editor, the expression is validated continuously. If there is
an error, you see a hint about what is incorrect. Additional error information may be
available by clicking the icon next to the hint.
Each line in the expression editor is numbered and syntax highlighting is used.
2. Click Apply to close the Add expression dialog.
For a measure, you continue by adding the descriptive data for the measure.
1. Open the sheet with the visualization that you want to edit.
2. Click Edit sheet to open the properties panel. (If it is hidden, click Show properties in the lower
right-hand corner to open it.)
3. Click the visualization that you want to edit.
The properties panel for that visualization is displayed on the right-hand side.
4. Under Data, click Add data and select Dimension.
A dimension text box is displayed.
5. Type your expression. The expression must begin with an equals sign (=), otherwise the string will
be interpreted as text.
3. Optionally, click in the color drop down and select a color through one of the following methods:
l Click one of the colors in the palette.
l Type a 6 character color code in the Hex input field: #.
l Click at the bottom of the dialog, select a color in the color wheel, and optionally adjust the
saturation slider.
4. Add tags (optional).
5. Click Create.
6. Click Done to close the dialog.
The calculated dimension is now saved in the Dimensions category of the Master items, and you can use
it in visualizations.
Edit a master dimension from the assets panel or while editing visualization properties.
Do the following:
You can also right-click the master item, and then click Edit.
Do the following:
If you delete a master dimension or master measure, the visualizations that use the deleted
master item will not work unless you replace it with a new dimension or measure.
Do the following:
The dimension or measure is deleted from the master items, and all visualizations on the sheets that used
the deleted item do not work anymore. You see the text Dimension not found or Measure not found on
those visualizations.
A visualization that is lacking both a dimension and a measure, both which have been deleted from the master
items.
Do the following:
A master measure is a combination of an expression and descriptive data, such as name, description and
tags. You can create a master measure in different ways.
You can also create a master measure based on a measure created in a visualization. Under the measure
in the properties panel of a visualization, click Add new under Master items.
When naming an entity, avoid assigning the same name to more than one field, variable, or measure.
There is a strict order of precedence for resolving conflicts between entities with identical names. This
order is reflected in any objects or contexts in which these entities are used. This order of precedence is as
follows:
l Inside an aggregation, a field has precedence over a variable. Measure labels are not relevant in
aggregations and are not prioritized.
l Outside an aggregation, a measure label has precedence over a variable, which in turn has
precedence over a field name.
l Additionally, outside an aggregation, a measure can be re-used by referencing its label, unless the
label is in fact a calculated one. In that situation, the measure drops in significance in order to
reduce risk of self-reference, and in this case the name will always be interpreted first as a measure
label, second as a field name, and third as a variable name.
As you type in the expression editor, the expression is validated continuously. If there is
an error, you see a hint about what is incorrect in the lower left-hand corner. Additional
error information may be available by clicking the icon next to the hint.
Each line in the expression editor is numbered and syntax highlighting is used.
You can open the online help with the full description of how to use the current function
by double-clicking the function name in the expression editor and pressing Ctrl+H on the
keyboard. This feature becomes available after having entered the first parenthesis of
the expression after the function name, and only when using a computer with a
keyboard.
The measure is now saved in the Measures category in the master items, and you can use it in
visualizations.
Direct Discovery fields are indicated by in the Fields section of the assets panel.
When naming an entity, avoid assigning the same name to more than one field, variable, or measure.
There is a strict order of precedence for resolving conflicts between entities with identical names. This
order is reflected in any objects or contexts in which these entities are used. This order of precedence is as
follows:
l Inside an aggregation, a field has precedence over a variable. Measure labels are not relevant in
aggregations and are not prioritized.
l Outside an aggregation, a measure label has precedence over a variable, which in turn has
precedence over a field name.
l Additionally, outside an aggregation, a measure can be re-used by referencing its label, unless the
label is in fact a calculated one. In that situation, the measure drops in significance in order to
reduce risk of self-reference, and in this case the name will always be interpreted first as a measure
label, second as a field name, and third as a variable name.
Do the following:
9. Click Insert to insert the field and the function into the expression editor.
You can open the online help with the full description of how to use the current function
by double-clicking the function name in the expression editor and pressing Ctrl+H on the
keyboard. This feature becomes available after having entered the first parenthesis of
the expression after the function name, and only when using a computer with a
keyboard.
l Auto
l Number
l Money
l Date
l Duration
l Custom
l Measure expression
16. Click Create.
The measure is now saved in the Measures category in the master items, and you can use it in
visualizations.
As you type in the expression editor, the expression is validated continuously. If there is
an error, you see a hint about what is incorrect in the lower left-hand corner. Additional
error information may be available by clicking the icon next to the hint.
Each line in the expression editor is numbered and syntax highlighting is used.
You can open the online help with the full description of how to use the current function
by double-clicking the function name in the expression editor and pressing Ctrl+H on the
keyboard. This feature becomes available after having entered the first parenthesis of
the expression after the function name, and only when using a computer with a
keyboard.
The measure is now saved in the Measures category in the master items, and you can use it in
visualizations.
Edit a master measure from the assets panel or while editing visualization properties.
Do the following:
The Edit measure dialog opens, where you update the expression, name, description, color, and
tags.
7. Click Save.
You can also right-click the master item, and then click Edit.
Do the following:
When you type in the Expression editor, an auto-complete list of matching master measures opens.
If the master measure is renamed or deleted, references in expressions are not automatically
updated. The old reference will return NULL in the expression as there is no measure by that
name.
iii. In the Create new measure dialog box, enter a Name for the master measure, and then click
to open the Expression editor.
Create measure
ii. Click Add measure, and then click to open the Expression editor for the KPI.
iii. Type the master measure into the expression. As you type, you will get an auto-complete list
of any available master measures. If required, the master measure can be used to build
more complex expressions in the Expression editor.
iv. Close the Expression editor to view the KPI. You can change properties for the KPI,
including the label, in the properties panel.
If you change the color used for the master item, the color will be updated across all instances of that
master item. Optionally, master item colors can be disabled for individual visualizations.
Visualizations use master dimension colors when Single color is selected in the Colors and legend
section of the visualization properties panel. Master measure colors are used when Single color or
Multicolored are selected in the Colors and legend section of the visualization properties panel.
By default, if a visualization's default Auto settings use the Single or Multicolored, master item colors will
be applied automatically. If they do not, you must switch to Custom and select a supported setting. Master
item colors can be disabled in individual visualizations.
In a visualization with colors specified for both master dimension and master measure, Qlik Sense defaults
to the master dimension color. Master measure colors can be applied using the Use library colors drop-
down and selecting Measure in the Colors and legend section of the visualization properties panel. In
visualization with a mix of master measures with assigned colors and measures without assigned colors,
the other measures will use the default palette colors.
Master measures can have custom color gradients applied to their values in visualizations. .
When assigning colors to your master items, you have the following options:
The color dialog with the default color palette and a blue color selected.
The color dialog with the color wheel in the advanced options and a blue color selected.
Colors assigned to values are used when you choose to color By dimension and have Library colors
enabled. If you choose to color by Single color, the master dimension's color is used instead.
Do not assign colors to master dimension values if you use section access or work with
sensitive data, because the values might be exposed by the color configuration.
The Value colors section of Edit dimensions contains the options for assigning colors to a dimension's
distinct values. You can search the list of values with .
Qlik Sense automatically applies an auto fill to your values to provide a default color. The auto fill is either a
single color or a color scheme. Changing your auto-fill settings will not change colors you have assigned to
values.
In addition to distinct values, you can set colors for the values classified as others in a visualization, that is,
the collection of distinct values that fall outside the displayable values in a dimension. You can also set
colors for null values.
Do the following:
8. If you want to remove an assigned color, select the value and click .
9. Optionally, to assign a color to Others or Null values, click and do one of the following:
l Click one of the colors in the palette.
l Type a 6 character color code in the Hex input field: #.
l Click at the bottom of the dialog, select a color in the color wheel, and optionally adjust the
saturation slider.
10. Click Save.
If you choose to color by single color, the master measure's color is used instead of the color scheme.
To assign custom segment or gradient colors to the values in a master measure, do the following:
Do the following:
Do the following:
Do the following:
Do the following:
Editing segments
By default, segment colors depend on the scheme selected. You can change the color of a segment and its
ending.
Do the following:
Calendar measures aggregate data from a field over a time range, and are saved in the Measures
category in the master items. Calendar measures comprise a field to be aggregated, an aggregation, a
date field, and a time range for that date field that sets which data is included in the aggregation. You
create calendar measures under Fields in the Assets panel, using the Create calendar measures dialog.
You can aggregate fields from tables loaded in Data manager or from a script in Data load editor, as long
as the field is in the same table as the date field, or is in an associated table.
However, the date field must be from a table that has been loaded using Data manager, because calendar
measures use expressions tagged as date & time fields that are declared in autoCalendar, and date fields
are only mapped to autoCalendar when loaded in Data manager. Calendar measures support the
following aggregations with the aggregated field: Sum, Count, Avg, Min, and Max.
Calendar measures do not support calendars created using the Data load editor. If you use
calendars created using Data load editor and want to create calendar measures, you must
load a table containing a date field using Data manager for use with your tables loaded using
Data load editor.
If your date field is subject to more than one calendar and both calendars are qualified for use
with calendar measures, then the first calendar loaded in the data load script is used in the
calendar measures.
A calendar measure can use one of the following time ranges are available for use with calendar
measures: weekly, monthly, quarterly, and yearly. Within each time range, different measures exist for
periods such as current month, year-to-date, and current week last year. The following time ranges and
measures are available for creating calendar measures:
YTD Current Year The year to date for the current year.
MTD Current Month The month to date for the current month.
Current Month Last Year All dates this month last year.
QTD Current Quarter The quarter to date for the current quarter.
QTD Last Quarter The quarter to date for the last quarter.
Measure Description
Current Quarter Last Year All dates in the current quarter last year.
WTD The week to date for all weeks across all years.
WTD Current Week This week to date for the current week.
WTD Last Week The week to date for the last week.
Current Week Last Year All dates this week last year.
Once created, calendar measures are treated identically to master measures. That is, calendar measures
are reusable and editable while an app is unpublished. Users of a published app will have access to the
calendar measures, but will not be able to modify them.
Each tag can contain a maximum of 31 characters, and each master item can have up to 30 tags.
Previewing tags
In the assets panel, tags are displayed when previewing dimensions, measures and visualizations.
The preview displays the dimension type, which fields are included in the drill-down dimension and tags.
Do the following:
4. Click .
A dialog is displayed that you are about to unlink from a master item.
5. Click OK.
You can now edit the dimension or measure in the visualization without affecting any visualizations that
use the master items.
You can only unlink from a single dimension, not a drill-down dimension.
Do the following:
The visualization on the sheet can now be edited and the changes will not affect any other visualizations.
You can also right-click the linked visualization, and then click Unlink visualization from the
shortcut menu.
If you delete a master dimension or master measure, the visualizations that use the deleted
master item will not work unless you replace it with a new dimension or measure.
Do the following:
The dimension or measure is deleted from the master items, and all visualizations on the sheets that used
the deleted item do not work anymore. You see the text Dimension not found or Measure not found on
those visualizations.
A visualization that is lacking both a dimension and a measure, both which have been deleted from the master
items.
Do the following:
Do the following:
The visualization is deleted from the master items, and on all sheets where this visualization was used, you
see invalid visualizations. You now need to replace the invalid visualization with other ones, or delete the
instances.
You can also delete visualizations from the preview that is displayed when clicking the
visualization in the master items.
Do the following:
For visualizations that contain measures, the measures are aggregations based on fields. Specifically, the
measures are calculations that span multiple records. For example Sum(Cost) means all the values of the
field Cost are aggregated using the function Sum. In other words, Sum(Cost) is an expression.
What is an expression?
An expression is a combination of functions, fields, and mathematical operators (+ * / =), and other
measures. Expressions are used to process data in the app in order to produce a result that can be seen in
a visualization. They are not limited to use in measures. You can build visualizations that are more dynamic
and powerful by using expressions for titles, subtitles, footnotes, and even dimensions.
This means, for example, that instead of the title of a visualization being static text, it can be made from an
expression whose result changes depending on the selections made.
An expression cannot be saved directly as a master item, but if an expression is used in a measure or
dimension, which is then saved as a master item, with its descriptive data, such as name, description, and
tags, the expression in the measure or dimension is preserved.
Expressions are used both in scripts and in chart visualizations. They can be simple, involving only basic
calculations, or complex, involving functions fields and operators. Expressions can be used in several
different situations. The difference between measures and expressions is that expressions have no name
or descriptive data.
For detailed reference regarding script functions and chart functions, see the Script syntax and
chart functions.
You can add expressions in two ways. Expressions can be created using the Fields, Functions, Variables,
and Set expressions sections by making selections and inserting them into the expression field. You can
edit the inserted expressions and add more complex expressions by typing directly into the expression
field. You can undo an action by clicking the Undo button .
Do the following:
1. If you want to limit the available fields to those from a particular table in your data model, select a
table from the Filter by table drop-down list.
2. Select a field from the Field drop-down list.
3. Select the aggregation function you want to use. The functions available are from the group of basic
aggregation functions.
4. If you want to insert the current selection as a set expression in your aggregation, use the Set
expression check box. The current selection is always based on the default state.
5. If you want to insert a Distinct or a Total clause together with the aggregation function, use the
check boxes for each clause. Each clause can be used separately.
6. Click Insert to insert the field and the function into the expression field.
If you do not select an aggregation function, only the field will be inserted into the
expression. Clauses can only be added if you select an aggregation function.
1. If you want to filter the list of available functions, select a function category from the Function
category drop-down list.
2. Select a function from the Function name drop-down list.
You see a preview of the function.
3. Click Insert to insert the function and the first parenthesis into the expression field.
4. Type the rest of the expression in the expression editor according to the syntax.
5. Click Apply to close the Add expression dialog.
For a dimension or measure, you continue by adding descriptive data for the dimension or measure.
1. If you want system variables to appear in the list of available variables use the Show system
variables check-box.
2. Select a variable from the Variable drop-down list.
You see a Definition and Value of the variable, if available.
Do the following:
As you type in the expression editor, the expression is validated. If there is an error, you
see a hint about what is incorrect. Additional error information may be available by
clicking the icon next to the hint.
When you type the name of a function in the expression, a tooltip appears that provides information
to help you enter the function correctly, including argument names and qualifiers.
The tooltip for some chart functions shows the ALL qualifier. It is recommended that you
do not use the ALL qualifier. Instead, use the set expression {1}.
Each line in the expression editor is numbered and syntax highlighting is used.
2. Click Apply to close the Add expression dialog.
For a dimension or measure, you continue by adding descriptive data for the dimension or measure.
The color coding applies both in the auto-complete list and in the expression itself.
You can verify that any dollar-sign expansions added in your expression give the correct result, by
checking the expression evaluation, in the dollar-sign expansion preview.
In most cases, expressions are aggregations, that is calculations that potentially can span multiple records.
This means that all field references in an expression must be wrapped in an aggregation function. If no
aggregation function is used, the Only() function is used.
When the name of a measure is used inside an expression, it is interpreted as an alias for the measure.
This allows you to re-use an already defined entity. You can use the labels of master measures and chart
measures in this way. However, the chart measure must be in the same chart. You cannot use labels of
measures in other charts.
You can define a measure recursively. In other words, the measure can contain a reference to itself.
However, you should only do this in charts with few rows. Performance degrades if the chart has many
rows. If there are hundreds of rows, the recursive definition will stop working altogether.
A variable can be used in two different ways in a direct reference or in a dollar expansion. If you use a
direct reference, the variable value will be used in the calculation. If you use a dollar expansion, the entire
dollar expansion will be replaced by the variable value before the expression is parsed. Therefore, the two
different methods may return different results.
Example:
The string XXX represents a field, a variable, a function, or a measure. XXX will be interpreted as one of
these depending on how you create the expression.
You should not use the same name for a field and a variable (or a measure). But if you do and there is
ambiguity, the following order of precedence is used:
l If the name is found inside an aggregation function, a field has precedence over a variable.
l If the name is found outside an aggregation function, a measure label has precedence over a
variable name, which in turn has precedence over a field name.
l If a field reference isn’t wrapped in an aggregation function, the Only() function is used by the
engine.
l All expressions return a number and/or a string, whichever is appropriate.
l Logical functions and operators return 0 for False, -1 for True. Number-to-string conversions and
string-to-number conversions are implicit.
l Logical operators and functions interpret 0 as False and all else as True.
l Expressions that cannot be correctly evaluated, for example as a result of incorrect parameters or
functions, return NULL.
l Aggregation functions, which use several records as input and produce a single value result.
l Scalar functions, which take a single input and produce a single output.
l Range functions, which produce a single value based on a range of input values.
l Range-producing functions, which are like range functions, but produce a range of values as output.
Many of the functions can be used in both chart expressions and scripts, but some are specific for chart
expressions.
A few differences exist between script expressions and chart expressions in terms of syntax
and available functions. The most important difference is the role of the aggregation functions
and the use of field references. The basic rule is that any field name in a chart expression must
be enclosed by exactly one aggregation function. An aggregation function can never have
another expression containing an aggregation function as argument.
For detailed reference regarding script functions and chart functions, see the Script syntax and
chart functions.
When using variables in expressions, you can change the expression used in a range of charts
simultaneously simply by editing the variable.
You open the Variables overview by clicking in the edit bar when editing a sheet.
The Variables overview is not available in published apps. If you need to add or change
variables in an published app, use the variable input control available with the Dashboard
bundle.
To edit or delete a variable that is defined in the script, you must edit the script.
Do the following:
l When editing a sheet, click in the edit bar on the sheet to open the variables dialog.
The variables dialog opens and displays a list of all variables in the app and their definitions (if any).
See also:
Creating a variable
A variable in Qlik Sense is a named entity, containing a data value. When a variable is used in
an expression, it is substituted by its value or the variable's definition. Variables are defined
using the variables dialog or in the script using the data load editor.
You can create a new variable from the variables dialog, when editing a sheet in an unpublished app.
Do the following:
1. When editing a sheet, click in the edit bar on the sheet to open the variables dialog.
The variables overview opens.
2. Click Create new.
The following input fields for the variable are displayed:
l Name (mandatory)
l Definition
l Description
l Tags
Press Esc or click Cancel if you want to cancel creating the new variable.
3. Type a name for the variable (mandatory). Use the following guidelines when choosing a name:
l You cannot change the name once you have created the variable.
l Use a letter as the first character, do not use a number or a symbol.
l It is not recommended to name a variable identically to a field or a function in Qlik Sense.
For more information, see How names are interpreted (page 132).
l Do not use the following characters when naming a variable: $ ( ) [ ] "
l The name must be unique. You cannot name a variable using a name used for a reserved
variable or a system variable. These variables are not listed in the variables dialog, but if you
are not allowed to use a certain name, even though you cannot find a duplicate in the
variables dialog, a reserved variable or a system variable already has this name.
l A long name is not recommended. If a variable's name is too long, the name cannot be fully
displayed in the variables overview.
4. Optionally, type a description for the variable.
5. Create a definition for the variable. You can enter the expression editor by clicking .
For more information, see Working with the expression editor (page 124).
Example:
Editing a variable
A variable in Qlik Sense is a named entity, containing a data value. When a variable is used in
an expression, it is substituted by its value or the variable's definition. Variables are defined
using the variables dialog or in the script using the data load editor.
You can edit variables defined in the script in the variables dialog. If you reload the script,
however, your changes will be undone.
Do the following:
1. When editing a sheet, click in the edit bar on the sheet to open the variables dialog.
The variables dialog opens.
2. In the row of the variable you want to delete, click and select Edit.
3. Edit the variable as desired.
4. Click Save.
Deleting a variable
You can delete variables, from an unpublished app, by deleting them from the variables
dialog.
Do the following:
1. When editing a sheet, click in the edit bar on the sheet to open the variables dialog.
The variables dialog opens.
2. Select the variables you want to delete and click Delete. You can select up to 20 variables.
You can also click in the row of the variable you want to delete and select Delete.
If you remove a variable from the script and reload the data, the variable stays in the
app. If you want to fully remove the variable from the app, you must also delete the
variable from the variables dialog.
3. Click Delete.
Example:
In a chart, you define the expression $(x)/12. The effect is exactly the same as having the chart expression
Sum(Sales)/12.
However, if you change the value of the variable x to for example Sum(Budget), the data in the chart are
immediately recalculated with the expression interpreted as Sum(Budget)/12.
When using variables in expressions, you can change the expression used in a range of charts
simultaneously simply by editing the variable.
Example:
The string XXX represents a field, a variable, a function, or a measure. XXX will be interpreted as one of
these depending on how you create the expression.
When naming an entity, avoid assigning the same name to more than one field, variable, or measure.
There is a strict order of precedence for resolving conflicts between entities with identical names. This
order is reflected in any objects or contexts in which these entities are used. This order of precedence is as
follows:
l Inside an aggregation, a field has precedence over a variable. Measure labels are not relevant in
aggregations and are not prioritized.
l Outside an aggregation, a measure label has precedence over a variable, which in turn has
precedence over a field name.
l Additionally, outside an aggregation, a measure can be re-used by referencing its label, unless the
label is in fact a calculated one. In that situation, the measure drops in significance in order to
reduce risk of self-reference, and in this case the name will always be interpreted first as a measure
label, second as a field name, and third as a variable name.
Variable calculation
There are several ways to use variables with calculated values in Qlik Sense, and the result depends on
how you define it and how you call it in an expression.
This example requires the following data is loaded in the data load editor:
LOAD * INLINE [
Dim, Sales
A, 150
A, 200
B, 240
B, 230
C, 410
C, 330
];
In the second variable, we add an equal sign before the expression. This will cause the variable to be
calculated before it is expanded and the expression is evaluated.
If you use the vSales variable as it is, for example in a measure, the result will be the string Sum(Sales),
that is, no calculation is performed.
If you add a dollar-sign expansion and call $(vSales) in the expression, the variable is expanded, and the
sum of Sales is displayed.
Finally, if you call $(vSales2), the variable will be calculated before it is expanded. This means that the
result displayed is the total sum of Sales. The difference between using =$(vSales) and =$(vSales2) as
measure expressions is seen in this chart showing the results:
Results
Dim $(vSales) $(vSales2)
A 350 1560
B 470 1560
C 740 1560
As you can see, $(vSales) results in the partial sum for a dimension value, while $(vSales2) results in the
total sum.
See also:
You can use chart level scripting on most visualization types and you access it from the properties panel.
Some visualizations, or specific configurations, do not support chart level scripting. In those cases, you
cannot access chart level scripting from the properties panel, or you will receive an error message.
When modifying chart data, you use a sub-set of the Qlik Sense script which consists of a number of
statements. See Chart level scripting.
You enable chart level scripting in the app settings. When enabled, a Scripts control is available on the
Data section of the properties panel for a visualization. See Turning on chart level scripting.
Even when disabled, existing chart scripts will be processed. Disabling once authored content has been
developed is a useful way of preventing new chart scripts being created by other users.
Chart level scripting must be enabled in the app before you can add a chart script to a visualization, see
Turning on chart level scripting.
You must be in Edit sheet mode to be able to add a chart script to a visualization.
Do the following:
1. Drag the visualization from the assets panel onto the sheet, or double-click the visualization.
2. On the Data tab, add dimensions and measures to the visualization.
3. Also on the Data tab, add a chart script in the Scripts section.
You can add maximum five chart scripts per visualization.
Do the following:
Example
This example assumes that you have created a visualization, for example a bar chart, and that you have
added a dimension and a measure.
This example takes the values of the first dimension and puts them in the first measure in reverse order.
Let P = HCNoRows();
For J = 1 to P
Put #hc1.measure.1(J) = HCValue(#hc1.dimension.1, P - J + 1);
Next
When a matching string is found in a tag, it is indicated by a tag icon in the search result. Clicking the item
in the list of results, brings up a preview of it.
Searching for "inv" among the measures presents any measure that contains that string in its name or a tag.
MEASURE
l A Direct Discovery MEASURE must be aggregated with one of the common functions before it can
be used in a visualization.
l A regular field that is dropped onto a sheet becomes a filter pane, but not a Direct
Discovery MEASURE as it must be aggregated first.
DETAIL
The Direct Discovery DETAIL field type can only be used in tables, and not in combination with a measure.
When creating a table using a Direct Discovery DETAIL field, and the number of rows being
retrieved exceeds a value defined in the load script (by default, 1000 rows), you may see a
warning message and the table may appear to be invalid. To make the table work normally, try
making selections in the app to reduce the data set.
If you are unsure of what visualizations to use, Qlik Sense can offer recommendations. For more
information, see Creating visualizations with Insight Advisor (page 530) and Creating visualizations using
Insight Advisor chart suggestions (page 551).
The following lists the purposes for viewing data and the chart type recommended to achieve that purpose:
Viewing comparisons
Comparison charts are used to compare values against each other. They show the differences in values,
such as the difference between categories, or how values are changing over time.
Bar chart (page 144) Comparing categories against the same measure or measures.
Combo chart (page 182) Comparing measures that are different in scale.
If you want to compare different values of the same dimension, you can use alternate states.
Viewing relationships
Relationship charts are used to explore how values relate to each other. A relationship chart allows you to
find correlations, outliers, and clusters of data.
l Is there a correlation between advertising spending and sales for our products?
l How do expenses and income vary per region?
Scatter plot (page 364) Viewing the relationship between two or three measures for a dimension.
Viewing compositions
Composition charts take a total value and discover what component values make up that total.
Composition charts can be static, showing the current composition of a total value, or they can show how
the composition of a total value changes over time. Composition charts can display compositions either by
percentage of the total value or the fixed values in the total value.
Bar chart (page 144) Viewing the changing composition of a value over a short period of time.
Line chart (page 236) Viewing the changing composition of a value over a long period of time.
Waterfall chart (page Viewing the static composition of a value with accumulation or subtraction to
423) the total.
Treemap (page 410) Viewing the static composition of a value's accumulation to the total.
Viewing distributions
Distribution charts are used to explore how the values within data are grouped. Distribution charts show
you the shape of your data, the range of its values, and possible outliers.
Histogram (page 223) Viewing the how data is distributed over intervals.
Distribution plot (page 200) Viewing the distribution of measure values in a dimension.
Box plot (page 169) Viewing the range and distribution of numerical data.
Viewing performances
Performance charts provide a quick view of a performance measure. Looking at a performance chart, a
user can quickly identify the measure value and whether the results are as expected or not.
Bullet chart (page 179) Comparing performance of a measure for several dimensions.
Text & image (page 404) Viewing text or several measures with an image.
Viewing data
Data charts present detailed data rather than a visualization of the data. Data charts are useful when you
need to view precise values, and when you want to compare individual values.
l What are the records for each transaction for this month?
l What are the quantity and sales for each item in each product group for each of our customers?
Table (page 378) Viewing precise values from your data without trends or patterns.
Pivot table (page 347) Viewing precise value for several dimensions and measures.
Viewing geography
Geographical charts let you visualize your data by geography, displaying your data on a map either as
points or areas.
Map chart (page 251) Viewing data represented geographically by point or area.
You can also create custom visualization objects if none of the standard charts provided fit your
requirements for visualizing your data.
For more information, see Creating a visualization using a custom object (page 563).
3.6 Visualizations
You can use visualizations to present the data that is loaded into the app. For example, you
can use a bar chart to compare sales numbers for different regions, or use a table to show
precise values for the same data.
The selections you make in a visualization are reflected in all associated visualizations on all sheets.
Creating a visualization
You create visualizations from predefined charts or custom objects. You must be in Edit mode to be able
to add a visualization to the sheet.
1. Drag the visualization from the assets panel onto the sheet, or double-click the visualization.
2. Add dimensions and measures to the visualization. The number of dimensions and measures that
are required depends on which visualization you selected.
Dimensions determine how the data in a visualization is grouped. For example: total sales per
country or number of products per supplier. For more information, see Dimensions (page 74).
Measures are calculations used in visualizations, typically represented on the y-axis of a bar chart
or a column in a table. Measures are created from an expression composed of aggregation
functions, such as Sum or Max, combined with one or several fields. For more information, see
Measures (page 77).
3. Adjust the presentation, for example sorting, coloring, or labeling.
You can convert from one visualization type to another by dragging a new chart to a visualization on a
sheet.
For other methods of creating a visualization, see Creating and editing visualizations (page 524).
Reusing a visualization
If you have created a visualization that you want to reuse in other sheets of the app, you can save it as a
master visualization. You can only create master visualizations in an unpublished app. When the app is
published, all users can add the visualization to their own sheets, but not modify it.
l Charts illustrate the data with visual elements like bars, lines, or points.
l Text-based visualizations presents data in text form, for example, tables or filters.
The best choice of chart type depends on the purpose of the visualization.
If the predefined visualizations does not fill your purpose, you can use a visualization extension. You find
them in the assets panel under .
Charts
Chart Icon Description
Bar chart The bar chart displays a bar for each dimension
value. The bar length corresponds to its
numerical measure value.
Box plot The box plot is suitable for comparing range and
distribution for groups of numerical data,
illustrated by a box with whiskers, and a center
line in the middle.
Combo chart The combo chart combines bars and lines in the
same chart. The bars and lines have different
axes to enable comparing percentages and
sums.
Text-based visualizations
Chart Icon Description
Filter pane The filter pane allows you to control what data that
is shown in the visualizations on a sheet. A filter
pane can filter the data of several dimensions at
once.
Text & image You can use the text & image visualization to add
text, images, measures and links to a webpage.
Dashboard objects
Object Icon Description
Button You can use buttons to add quick links for easy
selection and navigation in your app.
Bar chart
The bar chart is suitable for comparing multiple values. The dimension axis shows the
category items that are compared, and the measure axis shows the value for each category
item.
In the image, the dimension values are different regions: Nordic, USA, Japan, UK, Spain, and Germany.
Each region represents a dimension value, and has a corresponding bar. The bar height corresponds to
the measure value (sales) for the different regions.
You can make more complex comparisons of data by using grouped or stacked bars. This requires using
two dimensions and one measure. The two example charts use the same two dimensions and the same
measure:
Grouped bars: With grouped bars, you can easily compare two or more items in the same categorical
group.
Stacked bars: With stacked bars it is easier to compare the total quantity between different months.
Stacked bars combine bars of different groups on top of each other and the total height of the resulting bar
represents the combined result.
The bar chart can be displayed horizontally or vertically, as in the example below:
When to use it
Grouping and stacking bars makes it easy to visualize grouped data. The bar chart is also useful when you
want to compare values side by side, for example sales compared to forecast for different years, and when
the measures (in this case sales and forecast) are calculated using the same unit.
Advantages: The bar chart is easy to read and understand. You get a good overview of values when using
bar charts.
Disadvantages: The bar chart does not work so well with many dimension values due to the limitation of the
axis length. If the dimensions do not fit, you can scroll using the scroll bar, but then you might not get the
full picture.
Do the following:
1. From the assets panel, drag an empty bar chart to the sheet.
2. Click Add dimension and select a dimension or a field.
3. Click Add measure and select a measure or create a measure from a field.
You can include up to two dimensions and one measure, or one dimension and up to 15 measures in a bar
chart. Each bar corresponds to a dimension, and the values of the measures determine the height or length
of the bars.
You can also create a bar chart with no dimension and up to 15 measures. In this case, one bar is
displayed for every measure. The value of the measure determines the height or length of a bar.
1 dimension 1 measure A simple bar chart with one bar for each dimension value.
2 dimensions 1 measure A grouped or a stacked bar chart with one bar for each value of the
two dimensions.
No dimension up to 15 A simple bar chart with one bar for each measure.
measures
1 dimension up to 15 A grouped or a stacked bar chart with one bar for each value of each
measures measure..
When you have created the bar chart, you may want to adjust its appearance and other settings in the
properties panel.
Display limitations
Displaying large numbers of dimension values
When the number of dimension values exceeds the width of the visualization, a mini chart with a scroll bar
is displayed. You can scroll by using the scroll bar in the mini chart, or, depending on your device, by using
the scroll wheel or by swiping with two fingers. When a large number of values are used, the mini chart no
longer displays all the values. Instead, a condensed version of the mini chart (with the items in gray)
displays an overview of the values, but the very low and the very high values are still visible.
You can exchange the mini chart with a regular scrollbar, or hide it, with the Scrollbar property.
When a reference line is out of range, an arrow is displayed together with the number of reference lines
that are out of range.
To remove the gray areas, you can either make a selection or use dimension limits in the properties panel.
The approximate limit for how many stacked bars that can be displayed without gray areas is 5000 bars,
assuming that each bar consists of 10 inner dimension values and one dimension value and one measure
value for the whole bar.
The initial data load is 500 dimension values or dimension stacks. (The value 500 refers to the outer
dimension values, not each dimension value in a stack.) When you have scrolled past those 500 values, an
incremental load is performed, where values are instead loaded based on the current view or scroll
position.
To avoid displaying limited data sets, you can either make a selection or use dimension limits in the
properties panel.
Dataset
In this example, we'll use two data files available in the Qlik Sense Tutorial - Building an App. Download
and expand the tutorial, and the files are available in the Tutorials source folder:
l Sales.xls
l Item master.xls
Add the two data files to an empty app, and make sure that they are associated by Item Number.
The dataset that is loaded contains sales data. The Item master table holds the information about the items
ordered, such as product groups.
Measure
We use the sales volume as the measure, by creating a measure in Master items with the name Sales, and
the expression Sum(Sales).
Visualization
We add a bar chart to the sheet and set the following data properties:
The following bar chart is created, with a bar showing the sales for each product group:
But we want to have some more detailed information about the product sales, by adding the Product Sub
Group as a dimension. The Product Sub Group field divides the product groups into sub groups. By default,
a grouped chart is selected when adding the second dimension. We want to display a stacked chart
instead, that is changed under Appearances in the properties panel.
Discovery
The bar chart visualizes the sales volume of different product groups, divided into product sub groups. The
visualization is sorted in order of sales volume per product. You can hover the mouse pointer over a
product sub group and view the details.
In the bar chart we can see that Produce has the highest sales volume. One of the sub products contribute
to most of the Produce sales, if we hover over that part of the bar we can see it is Fresh Vegetables.
Dataset
In this example, we will use a data file available in the Qlik Sense Tutorial - Building an App. Download and
expand the tutorial. The file is available in the Tutorials source folder: Sales.xls
Add the data file to an empty app. The dataset that is loaded contains sales data.
Measure
We use the sales volume as the measure that we create in Master items:
l Sales with the expression Sum(Sales). This is the sum of the sales volume.
Visualization
We add a bar chart to the sheet and set the following data properties:
The following bar chart is created, with a bar showing the sum of sales for each month.
Accumulation
To have our sales data accumulate over one dimension, we need to apply a modifier to our Sales measure.
Do the following:
l Under Measure: Sales set the Modifier to Accumulation. This will set the measure to accumulate
over one dimension.
Our bar chart becomes as follows, with the sales accumulating from one month to the next.
We want to achieve a visual separation of the periods of time, by adding the Quarter as a second
dimension. The Quarter field groups the month bars into larger groups. By default, a grouped chart is
selected when adding a second dimension.
Do the following:
If Across all dimensions is turned on, the accumulation continues across all quarters.
Notice how the bars of the previous two bar charts are the same.
If Across all dimensions is turned off, the accumulation starts again at the beginning of each quarter. Our
bar chart becomes as follows, with the sales accumulating from one month to the next, inside each quarter.
It is good practice to have the title of your charts represent their content. So consider changing the title of
your new bar chart to reflect that the bars are now an accumulation of sales.
Discovery
The bar chart visualizes the sales volume of each month, grouped into quarters. By having the sales
accumulate inside each quarter, we get a better understanding of the volume of sales for each quarter. You
can hover the mouse pointer over a month and view the details.
In the bar chart we can see that Q1 has the highest sales volume. We can also see that even though Q4
had the lowest sales volume, the first two months of the quarter were better than the ones from Q3.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
l Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
l Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
l Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
l Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
l Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
l No limitation: The default value.
l Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
l Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
l Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
l Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
l Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
l Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
l Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l Relative numbers: Only displayed when Relative numbers has been selected as a
modifier.It allows you to calculate percentages relative to a specific selection, relative
to the total, or relative to a field value. The modifier can be calculated over one or two
dimensions.
The following options are available:
l Selection scope: Sets whether the relative numbers are calculated based on
the current selection or a specific field value. You can also disregard the
current selection.
l Dimensional scope: Sets whether the relative numbers are calculated based
on a dimension. You can choose to have the modifier respect all available
dimensions, respect a specific dimension if there are two, or to disregard the
dimensions.
l Output expression: Shows the expression used by the modifier.
l Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
l Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
l Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
data load editor.
The following number formats are available:
l Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
l Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
l Date: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
l Duration: By default, the format pattern used for duration is the same as set up in the
operating system. Duration can be formatted as days, or as a combination of days,
hours, minutes, seconds and fractions of seconds. Use the Format pattern box to
change the format pattern.
l Custom: By default, the format pattern used for custom is the same as set up in the
operating system. Use the Format pattern boxes to change the format pattern.
l Measure expression: The format pattern is determined by the measure expression.
Use this option to display custom number formatting for a measure in a visualization.
Limitations:
Only works with visualizations that accept measures.
Cannot be used with a box plot.
Does not affect the number formatting of the axis.
l Add trend line: Trend lines are lines used to show trends over time.
l Label: Enter a label for the trend line. Click to open the expression editor.
l Type. Set the type of the trend line. The following types are available:
l Average
l Linear
l Second degree polynomial
l Third degree polynomial
l Fourth degree polynomial
l Exponential
l Logarithmic
l Power
l Colors: Set to Custom to change the color of the trend line.
l Dashed: Choose between dashed or continuous line style.
l Master item: Create a master measure based on the measure expression by clicking Add
new. If the measure is already linked to a master item, you can update the master item by
clicking Edit. All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Chart level scripting is not available for bar charts in stacked mode. If you have created a chart
script in grouped mode and switch to stacked mode, an invalid hypercube error will be shown.
Sorting
Drag the dimensions and measures to set the sorting priority order. The numbers show the order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options. The sorting is either
Ascending or Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in
the presentation. If there is more than one measure value, all the measure values must have
the value ‘0’ to be excluded from the presentation.
Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
l A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
l Reference lines: Add reference line: Click to add a new reference line.
l Show condition:Sets a condition that needs to be fulfilled for the reference line to appear.
Click to open the expression editor.
l Label: Enter a label for the reference line.
l Show label: Select to show the reference line label.
l Color: In the color picker, select the color of the reference line and the label.
l Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
l Show value: Select to show the value of the reference line.
l Line type: You can choose between solid and dashed line types.
l Colored background: Adds the selected color as a background around the label text.
l : Click to remove the reference line.
l Dimension reference lines: Add reference line: Click to add a new dimensional reference line.
l Show condition:Sets a condition that needs to be fulfilled for the dimensional reference line
to appear. Click to open the expression editor.
l Label: Enter a label for the dimensional reference line.
l Show label: Select to show the dimensional reference line label.
l Color: In the color picker, select the color of the dimensional reference line and the label.
l Reference line expression: Enter a value or an expression for the dimensional reference
line. Click to open the expression editor.
l Show value: Select to show the value of the dimensional reference line.
l Line type: You can choose between solid and dashed line types.
l Colored background: Adds the selected color as a background around the label text.
l : Click to remove the dimensional reference line.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
Titles, subtitles, and footnotes can be styled in Presentation.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
When you have at least two dimensions or two measures, you can present the dimensions or measures
grouped together or stacked on top of each other.
You can change the styling of the bars and text by clicking on Styling. You can reset your styles by clicking
.
l General: General styling controls font styles for titles, subtitles, and footnotes in the chart. For each
option, you can select the font, emphasis style, font size, and color.
l Chart: Chart controls the styling of bars in your chart. The following settings are available:
l Outline: Select if the bars should have an outline, and what the width of the outline should
be. Default setting is None. In the color picker, select the color of the outline. This option is
not available if Outline is set to None.
l Bar width: Set the bar width. This option is not available when using a continuous axis.
l Scroll alignment: Set the position of the chart scrollbar. By default the scroll alignment is set to
Start.
l Scrollbar: Set the type of scrollbar to display. There are three settings:
l Mini chart: Show a miniature of the chart.
l Bar: Show a regular scrollbar.
l None: There is no scrollbar, but you can still scroll in the visualization.
l Grid line spacing: Select the spacing of the grid lines. The Auto setting is Medium.
l Value labels: Value labels: By default, Off. With the Auto setting, the value labels are displayed
when there is enough space.
You can select to show Segment labels, Total labels, or both.
l Number formatting: You can set the format of the field or expression values
The following number formats are available:
l Auto: Qlik Sense automatically sets a number formatting based on the
source data.
To represent numeric abbreviations, the international SI units are used,
such as k (thousand), M (million), and G (billion).
l Number: By default, the formatting is set to Simple, and you can select
the formatting from the options in the drop-down list. Click the button to
change to Custom formatting, and use the Format pattern box to
change the format pattern.
Examples:
X-axis
l <Dimension>
l Continuous: Set to Custom to be able to show a continuous axis by selecting Use
continuous scale. Use continuous scale is only available for dimensions with numeric
values. You cannot change sorting when you use a continuous scale.
l Show mini chart: You can select if you want to display the mini chart below the chart. This
option is only available when you use a continuous scale.
l Labels and title: Select what to display of labels and title.
l Label orientation: Select how to display the labels. The following options are available:
l Auto: Automatically selects one of the other options depending on the space
available on the chart.
l Horizontal: Labels are arranged in a single horizontal line.
l Tilted: Labels are stacked horizontally at an angle.
l Layered: Labels are staggered across two horizontal lines.
To view examples of label orientation, see X-axis and Y-axis (page 574).
l Position: Select where to display the dimension axis.
l Number of bars: Set the upper limit to the number of visible bars.
l Auto: The number of visible bars is determined by the number of dimensions and
measures used.
l Max: The number of visible bars is set to maximum.
l Custom: When custom is selected, you can directly set the upper limit to the number
of visible bars using Maximum number, or by entering an expression. Click to open
the expression editor.
Y-axis
l <Measure>
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the measure axis.
l Scale: Set the spacing of the measure axis scale.
l Range: Select to set the min value, the max value, or both. The min value cannot be larger
than the max value. You can use expressions for the values.
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
l Measures: Click Add measure to show the measure as a tooltip.
o Select a measure from a field using From a field. You can also use an expression to add a
measure. Click to open the expression editor. The existing expression is displayed by
default.
o You can change the label of the measure using Label and the formatting using Number
formatting. If the measure is a master item, you can use the master measure formatting or
turn off formatting and select another format using Number formatting.
l Chart: Click Add chart to add a chart to the tooltip.
o Master items: Select a master visualization from the list to show as a tooltip.
o Chart size: Select the size of the chart container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Edit master item: Appears after you select a master visualization. Click to edit the master
item.
l Images: Click Add an image to add an image to the tooltip.
o Type: Choose the location of the image from either your Media library or from a URL.
o Size: Set the size of the tooltip container. Qlik Sense fits the image into the container.
o Small. Sets the width and height of the container to 50 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Original. Qlik Sense fits the image into the container. If the image is larger than 340
pixels, it is scaled down.
o Media library: Appears when you choose Media library for Type. Click to select an image
from your media library.
o URL: Appears when you choose URL for Type. Enter a URL.
Box plot
The box plot is suitable for comparing range and distribution for groups of numerical data,
illustrated by a box with whiskers, and a center line in the middle. The whiskers represent
high and low reference values for excluding outlier values.
You can define the box start and end points, and whiskers ranges with a few different presets, or define
your own settings using expressions.
1. First whisker
2. Box start
3. Center line
4. Box end
5. Last whisker
You can hover over a box to display a popup showing the respective values of the box plot
elements.
When to use it
The box plot is suitable for comparing range and distribution for groups of numerical data.
Advantages: The box plot organizes large amounts of data, and visualizes outlier values.
Disadvantages: The box plot is not relevant for detailed analysis of the data as it deals with a summary of
the data distribution.
In a box plot you need to use one or two dimensions, and one measure. If you use a single dimension you
will receive a single box visualization. If you use two dimensions, you will get one box for each value of the
second, or outer, dimension.
Do the following:
1. From the assets panel, drag an empty box plot to the sheet.
2. Add the first dimension.
This is the inner dimension, which defines a box.
3. Add a second dimension.
This is the outer dimension, which defines the boxes shown on the dimension axis.
4. Click Add measure and create a measure from a field. The measure does not have to contain an
aggregation.
When you have created the box plot, you may want to adjust its appearance and other settings in the
properties panel. By default, the Standard (Tukey) preset is used.
l Standard (Tukey)
This preset is based on the original box plot definition by J. Tukey. The center line represents the
median (second quartile), and the box start and end points represent the first and third quartiles.
Whisker length can be set to 1, 1.5 or 2 inter-quartile ranges. An inter-quartile range represents the
difference between the first and third quartiles.
l Percentile-based
This preset is also defined with the box start and end points representing the first and third quartiles,
and the center line representing the median, but the whisker length is adjusted by setting a
percentile based whisker position.
l Standard deviation
This preset is based on standard deviations, with the center line representing the average value,
and the box start and end points representing one standard deviation variance. You can set the
whisker length to a multiple of standard deviations.
You can also define a custom box plot where you set the value of each box plot element using an
expression.
Dataset
In this example, we'll use the following weather data.
The dataset that is loaded contains a daily average temperature measurement from a weather station in
the north of Sweden during the time period of 2010 to 2017.
Measure
We use the average temperature measurement in the dataset as the measure, by creating a .measure in
Master items with the name Temperature degrees Celsius, and the expression Avg([Average of the 24
hourly temperature observations in degrees Celsius]).
Visualization
We add a box plot to the sheet and set the following data properties:
l Dimension: Date (date) and Year (year). The order is important; Date needs to be the first
dimension.
l Measure: Temperature degrees Celsius; the measure that was created as a master item.
In this example we use the default box plot preset, Standard (Tukey) with the whisker length 1.5
interquartile range.
Discovery
The box plot visualizes the distribution of the daily temperature measurements. The visualization is sorted
in mean temperature order. The mean temperature for each year is illustrated by the middle line in each
box. The box stretches from the first quartile to the third quartile, and the whiskers stretch 1.5 inter-quartile
ranges. There are also a number of outlier values, the points that are placed outside the whiskers. You can
hover the mouse pointer over an outlier point and view the details.
In the box plot we can see that the year 2010 has the longest box and whiskers. That shows that the year
2010 has the largest distribution of temperatures measured. It also seems to be the coldest year in
average.
The range of 2017 is small, as the dataset only contains measurements from the first months of the year.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
n Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
n Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
l Standard (Tukey): This preset is based on the original box plot definition by J. Tukey.
The center line represents the median (second quartile), and the box start and end
points represent the first and third quartiles.
You can set the length of the whiskers with Whisker length: 1 inter-quartile range ,
1.5 inter-quartile range or 2 inter-quartile ranges.
1 inter-quartile range represents the length of the box, that is, the difference between
the first and third quartiles.
l Percentile-based: This preset is also defined with the box start and end points
representing the first and third quartiles, and the center line representing the median,
but the whisker length is adjusted by setting a percentile based Whisker position:
Min/max.
This setting sets the whisker start and end points to the minimum and maximum
values: 1st/99th percentile, 5th/95th percentile or 10th/90th percentile.
l Standard deviation: This preset is based on standard deviations, with the center line
representing the average value, and the box start and end points representing one
standard deviation variance. You can set the whisker length to a multiple of standard
deviations: One standard deviation, Two standard deviations or Three standard
deviations.
l Include outliers: You can select to display outlier values, that is, values on either side
of the whiskers.
l Custom boxplot element settings: If you set Use presets to Off you can define all
elements using a custom expression and label. Expressions are prefilled with the
expressions used to define the elements in the most recently used preset.
Center line: Name and Expression
Box edges: Box start name, Box start expression, Box end name or Box end
expression
Whiskers:First whisker name, First whisker expression , Last whisker name or
Last whisker expression
Sorting
If you set Sorting to Custom, you can sort the box plot by a custom expression, or by the second dimension
of the chart in numerical or alphabetical order. The sorting is either Ascending or Descending.
l Sort by expression: Select which element to sort by (First whisker, Box start, Center line, Box end
or Last whisker).
l Sort numerically: Enable this to sort numerically by the second dimension of the chart. If you
change the second dimension, the chart will be sorted by the new dimension.
l Sort alphabetically: Enable this to sort alphabetically by the second dimension of the chart. If you
change the second dimension, the chart will be sorted by the new dimension.
You can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling:
Calculation condition: Specify an expression in this text field to set a condition that needs to be
fulfilled (true) for the object to be displayed. The value may be entered as a calculated formula. For
example: count(distinct Team)<3. If the condition is not fulfilled, the message or expression entered
in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
l Reference lines:
o Add reference line: Click to add a new reference line.
o Show: When selected, the reference line is displayed.
o Label: Enter a label for the reference line.
o Color: In the color picker, select the color of the reference line and the label.
o Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
o : Click to remove the reference line.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
You can set the orientation to be Vertical or Horizontal.
l Show whisker ticks: Enable this to display vertical lines at the end of each whisker.
l Gridline spacing: Set this to Custom if you want to customize the horizontal gridlines. You can
choose between: No lines, Medium, and Narrow.
Colors
l Colors: You only need to select Custom if you want to change the settings. The Auto settings are
based on the visualization used and the number of dimensions and measures, that is, the settings
are not fixed, but are dependent on the data input.
o Single color: A single color (by default blue) is used for all items in the chart. In visualizations
that do not benefit from multiple colors (bar charts with one dimension and scatter plots),
single color is the default setting. Use the color picker to change the dimension color.
o By expression : You can use coloring by expression to accentuate certain values. Supported
formats: RGB, ARGB, and HSL.
o Expression: Enter the expression that you want to use. Click to open the expression editor.
X-axis
l <Measure>
o Labels and title: Select what to display of labels and title.
o Label orientation: Select how to display the labels. To access this option, the chart must
have two dimensions. The following options are available:
n Auto: Automatically selects one of the other options depending on the space
available on the chart.
n Horizontal: Labels are arranged in a single horizontal line.
n Tilted: Labels are stacked horizontally at an angle.
n Layered: Labels are staggered across two horizontal lines.
To view examples of label orientation, see X-axis and Y-axis (page 574).
o Position: Select where to display the measure axis.
Y-axis
l <Dimension>
o Labels and title: Select what to display of labels and title.
o Position: Select where to display the dimension axis.
o Scale: Set the spacing of the dimension axis scale.
o Range: Select to set the min value, the max value, or both. The min value cannot be larger
than the max value. You can use expressions for the values.
Bullet chart
The bullet chart (Bullet chart) displays a gauge with extended options. Bullet charts can be
used to visualize and compare performance of a measure to a target value and to a
qualitative scale, such as poor, average, and good.
In a bullet chart you need one measure, which determines the length of the bar.
You can also add a dimension. This will show one gauge for every dimension value. If you do not define a
dimension, the chart will show a single gauge.
Example:
A bullet chart showing sales performance for each value of the dimension (quarter)
The example shows a bullet chart with sales performance for each quarter. It also shows the performance
relative to target and performance range, which are different for each quarter.
When to use it
Bullet charts let you compare and measure performance with more enriched information than a common
gauge. This is helpful when comparing performance according to a target and a simple performance rating.
For example: you can show how sales relate to a target value, and in context of poor, good, and stretched
performance.
Do the following:
1. From the assets panel, drag an empty bullet chart to the sheet.
2. Click Add dimension to select the dimension that define how many gauges are shown.
3. Click the Add measure button to select the value measure of the chart that defines the length of the
bar.
Once the measure is selected the bullet chart is displayed with default settings. Each gauge is
displayed with an individual range. If you want to use a common range, you can set it with
Appearance>Y-axis>Common range.
4. To add a target value, click Target under the measure. You can define a fixed value or use a
measure with target values.
5. To add performance ranges, set Use segments under the measure to On.
Click Add limit to set a range limit for the segments. You can adjust the color of each segment by
clicking on it.
You can define a fixed limit value or an expression.
The bullet chart is now displayed with the dimension and measure you selected.
You can define a fixed value or use a measure with target values.
You need to add the limits for the ranges you want to use for showing indicators with Add limit. You can set
a limit value in three ways.
It's a good idea to use a bar color that is visually dominant to the range colors.
When you have added the limits, you can select the color and the symbol of the indicator for each defined
range.
l If you want to add a measure as a tooltip, you can add it from a field using From a field. You can
also use an expression to add a measure. Click to open the expression editor. The existing
expression is displayed by default. You can add a title and description to the tooltip. You can
change the label of the tooltip using Label as well as its formatting using Number formatting.
l If you want to add a chart as a tooltip, select a master visualization from the list of Master items.
l Set the size of the tooltip container. Qlik Sense fits the chart into the container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
After you add the chart, you can edit it by clicking Edit master item. See Editing a
master visualization (page 88).
l If you want to add an image as a tooltip, choose whether to add an image from your Media library or
from a URL.
o Set the size of the tooltip container. Qlik Sense fits the image into the container.
o Small. Sets the width and height of the container to 50 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Original. Qlik Sense fits the image into the container. If the image is larger than 340
pixels, it is scaled down.
o Media library: Appears when you choose Media library for Type. Click to select an image
from your media library.
o URL: Appears when you choose URL for Type. Enter a URL.
l If you want each dimension gauge to use the same scale, enable Common range. If the range
measure depends on the dimension value, the range bars will have different lengths.
This is useful when you want to be able to compare the actual values.
You can also set a common axis for all gauges with Appearance>Y-axis>Common range.
l If you want each range bar to be equally long, disable Common range.
This is useful when you want to be able to compare the relative performance of each dimension
value.
l Auto: Automatically selects one of the other options depending on the space available on the chart.
l Horizontal: Labels are arranged in a single horizontal line.
l Tilted: Labels are stacked horizontally at an angle.
l Layered: Labels are staggered across two horizontal lines.
To view examples of label orientation, see X-axis and Y-axis (page 574).
Combo chart
The combo chart is suitable for comparing two sets of measure values that are usually hard to
compare because of the differences in scale. It is basically a bar chart combined with a line
chart.
A typical example is when you have a bar chart with sales figures and want to combine these figures with
the margin values (in percent). In a regular bar chart, the bars for sales would be displayed as usual, but
the margin values would be almost invisible because of the very large difference between the numeric
values for sales and margin.
A combo chart with the margin values (in percent) and bars with sales figures.
With a combo chart you can combine these values by, for example, using bars for the sales values and a
line for the margin values. By default, the bars have the measure axis on the left and the margin values
have a separate axis to the right. The two measures use the same dimension (YearMonth).
If you have yet another measure, for example, gross sales, with values that are roughly in the same range
as the sales values, you can add the third measure as bars and either stack or group the new measure
values with the sales values. With grouped bars, you can easily compare two or more items in the same
categorical group. Stacked bars combine bars of different groups on top of each other and the total height
of the resulting bar represents the combined result.
A combo chart with three measures; the margin values (in percent), bars with sales figures and the measure Gross
sales grouped with the sales values.
When to use it
With the possibility to have different measure scales, one to the left and one to the right, the combo chart is
ideal when you want to present measure values that are normally hard to combine because of the
significant difference in value ranges.
But a combo chart can also be quite useful when comparing values of the same value range. In the image
above, the combo chart only has one measure axis, but the relationship between the two categories sales
and cost is clear.
Advantages
The combo chart is the best choice when combining several measures of different value ranges.
Disadvantages
The combo chart only supports one dimension, and can therefore not be used when you need to include
two or more dimensions in the visualization.
Do the following:
1. From the assets panel, drag an empty combo chart to the sheet.
2. Click Add dimension and select a dimension or a field.
3. Click Add measure and select a measure or create a measure from a field. Select to show the
measure as a bar.
4. Add another measure by selecting Add under Height of line. Enter an expression, or master
measure item, or a field with an aggregation function applied. By default a line will appear as the
measure. You can select More Properties to choose Presentation of the measure as either bars,
line, or marker. You can select drop-down options to switch between the Primary axis to the left or
the Secondary axis to the right (right and left axes are reversed if Right-to-left is turned on in App
Settings). For markers you can choose between several different shapes.
You can only have one dimension, but you can continue adding up to 15 measures. You can only have two
measure axes though. This means, if you add three or more measures with a large difference in value
range it can be hard to display all measures with a good distribution of values.
When you have created the combo chart, you may want to adjust its appearance and other settings in the
properties panel.
Display limitations
Displaying out of range values
In the properties panel, under Appearance, you can set a limit for the measure axis range. Without a limit,
the range is automatically set to include the highest positive and lowest negative value, but if you set a limit
you may have values that exceed that limit. A bar that exceeds the limit will be cut diagonally to show that it
is out of range. For a line data point value that is out of range, an arrow indicates the direction of the value.
To avoid displaying limited data sets, you can either make a selection or use dimension limits in the
properties panel.
Dataset
In this example, we will use two data files from the Qlik Sense Tutorial - Building an App. To download the
files, go to Tutorial - Building an App. Download and unzip the tutorial, and find the files in the Tutorials
source folder:
l Sales.xls
l Item master.xls
Create a new app, and add the two data files. Make sure that they are associated by Item Number.
The dataset that is loaded contains sales data. The Item master table holds the information about the items
ordered, such as product groups.
Measures
We need to create two measures in Master items:
l Sales volume: with the name Sales, and the expression Sum(Sales).
l Sales margin in percent: with the name Margin %, and the expression Avg(Margin/Sales)*100.
Visualization
We add a combo chart to the sheet and set the following data properties:
The following chart is created, with a bar showing the sales for each product group. It is a bar chart at this
stage.
But we also want to show the sales margin, which has a different scale than the sales volume. Sales
volume is in the scale of millions, while the margin is a percentage between 0 and 100. If we add margin as
a bar next to sales volume, it would be too small to distinguish.
In the properties pane, go to Measures > Height of line. Use the drop down to add Margin % as a
measure.
Discovery
The combo chart visualizes the sales volume and margin of different product groups. You can hover the
mouse pointer over a product group and view the details. The bars show the sales volume with the scale to
the left, and the line shows the margin with the scale to the right.
In the chart we can see that Produce and Canned Products have the highest sales volumes. Both groups
have a lower margin than most other product groups.
Some product groups with low sales volume, like Eggs and Seafood, have a significantly higher margin.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use at least one line or when you have two measures.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
n No limitation: The default value.
n Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
n Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
n Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
n Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
o Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
This option is not available in box plot dimensions.
o Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
o Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l Steps: Only displayed when Range is set to Custom. The number of steps in
the dimension which form a moving average range. Only zero and positive
integers are accepted.
l Show excluded values: Include excluded values in the moving average.
l Output expression: Shows the expression used by the modifier.
n Difference: Only displayed when Difference has been selected as a modifier. It
allows you to calculate the difference between consecutive values of a measure over
one or two dimensions.
The following options are available:
l Dimension: Selects the dimension on which the difference will take place. If
the difference is made across multiple dimensions, this will be the first
dimension.
l Across all dimensions: Continues difference across all available dimensions.
l Show excluded values: Include excluded values in the difference.
l Output expression: Shows the expression used by the modifier.
n Relative numbers: Only displayed when Relative numbers has been selected as a
modifier. It allows you to calculate percentages relative to a specific selection, relative
to the total, or relative to a field value. The modifier can be calculated over one or two
dimensions.
The following options are available:
l Selection scope: Sets whether the relative numbers are calculated based on
the current selection or a specific field value. You can also disregard the
current selection.
l Dimensional scope: Sets whether the relative numbers are calculated based
on a dimension. You can choose to have the modifier respect all available
dimensions, respect a specific dimension if there are two, or to disregard the
dimensions.
l Output expression: Shows the expression used by the modifier.
o Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
o Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
o Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
data load editor.
The following number formats are available:
n Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
n Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
l Single color: Select the color for the measure by entering the
hexadecimal code or by using the color picker.
l By expression: Use an expression to define the color for a value. Click
Expression to open the expression editor. Supported functions and
strings:
l Color functions, for example, RGB(0, 255, 255).
l Predefined color functions, for example, blue().
l Valid CSS colors, for example, 'green'.
o Master item: Create a master measure based on the measure expression by clicking Add
new. If the measure is already linked to a master item, you can update the master item by
clicking Edit. All instances of the linked dimension will be updated.
Master item: You can create a master measure based on the measure expression by
clicking Create new.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Sorting
Drag the dimensions and measures to set the sorting priority order. The numbers show the order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options. The sorting is either
Ascending or Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling:
o Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
o Include zero values: When unselected, measures that have the value ‘0’ are not included in
the presentation. If there is more than one measure value, all the measure values must have
the value ‘0’ to be excluded from the presentation.
l Primary axis reference lines: Add reference line: Click to add a new reference line.
o Show condition:Sets a condition that needs to be fulfilled for the reference line to appear.
Click to open the expression editor.
o Label: Enter a label for the reference line.
o Show label: Select to show the reference line label.
o Color: In the color picker, select the color of the reference line and the label.
o Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
o Show value: Select to show the value of the reference line.
o Color: Adds selected color to line.
o Line type: You can choose between solid and dashed line types.
o Colored background: Adds the selected color as a background around the label text.
o : Click to remove the reference line.
l Secondary axis reference lines: Add reference line: Click to add a new reference line.
o Show condition:Sets a condition that needs to be fulfilled for the reference line to appear.
Click to open the expression editor.
o Label: Enter a label for the reference line.
o Show label: Select to show the reference line label.
o Color: In the color picker, select the color of the reference line and the label.
o Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
o Show value: Select to show the value of the reference line.
o Color: Adds selected color to line.
o Line type: You can choose between solid and dashed line types.
o Colored background: Adds the selected color as a background around the label text.
o : Click to remove the reference line.
l Dimension reference lines: Add reference line: Click to add a new dimensional reference line.
o Show condition:Sets a condition that needs to be fulfilled for the dimensional reference line
to appear. Click to open the expression editor.
o Label: Enter a label for the dimensional reference line.
o Show label: Select to show the dimensional reference line label.
o Reference line expression: Enter a value or an expression for the dimensional reference
line. Click to open the expression editor.
o Show value: Select to show the value of the dimensional reference line.
o Color: In the color picker, select the color of the dimensional reference line and the label.
o Line type: You can choose between solid and dashed line types.
o Colored background: Adds the selected color as a background around the label text.
o : Click to remove the dimensional reference line.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
Styling
l Bar: Select bar styling. There are two settings:
o Outline width
o Bar width
o Reset all: Remove formatting.
l Line: Select line styling. There are four settings:
o Data point size
o Line thickness
o Line type
o Line curve
o Reset all: Remove formatting.
When you have at least two dimensions or two measures, you can present the dimensions or measures
grouped together or stacked on top of each other.
l Scroll alignment: Set the position of the chart scroll bar. By default the scroll alignment is set to
Start.
l Missing values: Set the behavior when values are missing.
l Show data points: Click to show data points on line.
l Grid line spacing: Select the spacing of the grid lines. The Auto setting is Medium.
l Value labels: By default, Off. With the Auto setting, the value labels are displayed when there is
enough space.
Value labels are available for Bars and Lines, but they are not available for Marker.
a visualization has both a master dimension and a master measure that have
colors assigned to them, you can select which to use in the visualization.
n Multicolored: Option when more than one measure is used.
By default, 12 colors are used for the dimensions. The colors are reused when there
are more than 12 dimension values.
l Use library colors: Option available when a master dimension or master
measure used in the visualization has a color assigned to it. You can select to
use the master item colors or to disable the master item colors. In cases where
a visualization has both a master dimension and a master measure that have
colors assigned to them, you can select which to use in the visualization.
l Color scheme: Select 12 colors or 100 colors to be used for the different
values. The 12 colors can all be distinguished by people with color vision
deficiency, but not all of the 100 colors.
n By dimension: By default, 12 colors are used for the dimensions. The colors are
reused when there are more than 12 dimension values. When selected, the following
settings are available:
l Select dimension: Enter a field or expression containing the values to color
objects in this chart.
l Library colors: Select whether to use the master dimension color or to disable
the master dimension color. Option available only when a master dimension
used in the visualization has a color assigned to it.
l Persistent colors: When selected, colors are persistent between selection
states. Only available when using one dimension and the setting By
dimension or Multicolored.
l Color scheme: Select 12 colors or 100 colors to be used for the different
values. The 12 colors can all be distinguished by people with color vision
deficiency, but not all of the 100 colors.
n By measure: By default, Sequential gradient is selected. The higher the measure
value, the darker the color.
l Select measure: Select the measure to use to color your chart.
l Library colors: Select whether to use the master measure color or to disable
the master measure color. Option available only when a master measure used
in the visualization has a color assigned to it.
l Color scheme: Select a color scheme from the following options:
o Sequential gradient: The transition between the different color groups
is made using different shades of colors. High measure values have
darker hues.
o Sequential classes: The transition between the different color groups
is made using distinctly different colors.
o Diverging gradient: Used when working with data that is ordered from
low to high, for instance, to show the relationship between different
areas on a chart. Low and high values have dark colors, mid-range
colors are light.
X-axis
l <Dimension>
o Continuous: Set to Custom to be able to show a continuous axis by selecting Use
continuous scale. Use continuous scale is only available for dimensions with numeric
values. You cannot change sorting when you use a continuous scale.
o Show mini chart: You can select if you want to display the mini chart below the chart. This
option is only available when you use a continuous scale.
o Labels and title: Select what to display of labels and title.
o Label orientation: Select how to display the labels. The following options are available:
n Auto: Automatically selects one of the other options depending on the space
available on the chart.
n Horizontal: Labels are arranged in a single horizontal line.
n Tilted: Labels are stacked horizontally at an angle.
n Layered: Labels are staggered across two horizontal lines.
To view examples of label orientation, see X-axis and Y-axis (page 574).
Y-axis
l <Measure>
o Labels and title: Select what to display of labels and title.
o Position: Select where to display the measure axis.
o Scale: Set the spacing of the measure axis scale.
o Range: Select to set the min value, the max value, or both. The min value cannot be larger
than the max value. You can use expressions for the values.
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
l Measures: Click Add measure to show the measure as a tooltip.
o Select a measure from a field using From a field. You can also use an expression to add a
measure. Click to open the expression editor. The existing expression is displayed by
default.
o You can change the label of the measure using Label and the formatting using Number
formatting. If the measure is a master item, you can use the master measure formatting or
turn off formatting and select another format using Number formatting.
l Chart: Click Add chart to add a chart to the tooltip.
o Master items: Select a master visualization from the list to show as a tooltip.
o Chart size: Select the size of the chart container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Edit master item: Appears after you select a master visualization. Click to edit the master
item.
Distribution plot
The distribution plot is suitable for comparing range and distribution for groups of numerical
data. Data is plotted as value points along an axis.
You can choose to display only the value points to see the distribution of values, a bounding box to see the
range of values, or a combination of both as shown here:
When to use it
The distribution plot is suitable for comparing range and distribution for groups of numerical data.
Advantages
The distribution plot visualizes the distribution of data.
Disadvantages
The distribution plot is not relevant for detailed analysis of the data as it deals with a summary of the data
distribution.
In a distribution plot you need to use one or two dimensions, and one measure. If you use a single
dimension you will receive a single line visualization. If you use two dimensions, you will get one line for
each value of the second, or outer, dimension.
Do the following:
1. From the assets panel, drag an empty distribution plot to the sheet.
2. Add the first dimension.
This is the inner dimension, which defines the value points.
3. Add a second dimension.
This is the outer dimension, which defines the groups of value points shown on the dimension axis.
4. Click Add measure and create a measure from a field.
p Viewing the distribution of measure values in a dimension with a distribution plot (page 201)
When you have created the distribution plot, you may want to adjust its appearance and other settings in
the properties panel.
p Distribution plot properties (page 203)
Display limitations
Displaying large amounts of data in a distribution plot
When displaying large amounts of data in a distribution plot, the message "Currently showing a limited
data set." is shown to indicate that not all data is displayed.
l If the chart uses more than one dimension, 3000 data points are displayed.
Dataset
In this example, we'll use the following weather data.
The dataset that is loaded contains a daily average temperature measurement from a weather station in
the north of Sweden during the time period of 2010 to 2017.
Measure
We use the average temperature measurement in the dataset as the measure, by creating a .measure in
Master items with the name Temperature degrees Celsius, and the expression Avg([Average of the 24
hourly temperature observations in degrees Celsius]).
Visualization
We add a distribution plot to the sheet and set the following data properties:
l Dimension: Date (date) and Year (year). The order is important, Date needs to be the first
dimension.
l Measure: Temperature degrees Celsius, the measure that was created as a master item.
Distribution plot with the dimensions Date (date) and Year (year) and the measure Temperature degrees Celsius.
Discovery
The distribution plot visualizes the distribution of the daily temperature measurements. The visualization is
sorted by year, and each point represents a temperature measurement.
In the visualization we can see that the year 2012 has the lowest extreme temperature measurement, close
-40 degrees Celsius. We can also see that the year 2016 seems to have the largest distribution of
temperature measurements. With this many points in the distribution plot, it can be hard to spot clusters
and outliers, but the year 2017 has two low temperature measurements that stand out. You can hover the
mouse pointer over a point and view the details.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
l Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
l Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
l Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
l Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
l Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
l No limitation: The default value.
l Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
l Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
l Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
l Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
l Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
This option is not available in box plot dimensions.
l Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
l Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated..
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Sorting
You can sort the distribution plot by any of the distribution plot elements or a custom expression, or by the
second dimension of the chart in numerical or alphabetical order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options. The sorting is either
Ascending or Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in
the presentation. If there is more than one measure value, all the measure values must have
the value ‘0’ to be excluded from the presentation.
l Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
l Reference lines:
l Add reference line: Click to add a new reference line.
l Show: When selected, the reference line is displayed.
l Label: Enter a label for the reference line.
l Color: In the color picker, select the color of the reference line and the label.
l Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
l : Click to remove the reference line.
Appearance
General
l Show titles: On by default in all visualizations except filter panes, KPIs, and text & image
visualizations.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
You can set the orientation to be Vertical or Horizontal.
l Points and background - this option displays a bounding box showing the range of the values, and
value points.
l Points only - this option displays value points only.
l Background only - this option displays a bounding box showing the range of the values only.
l Gridline spacing: Set this to Custom if you want to customize the horizontal gridlines. You can
choose between: No lines, Medium or Narrow.
l Bubble size: You can adjust the size of the bubbles that illustrate the value points.
l Jitter points: You can use this option to jitter several overlapping value points. This moves some of
the points slightly to create a larger footprint that shows that there are more than one value behind
the point.
Custom: Manually select the method of coloring your values in the chart. The following methods are
available:
l Single color: A single color (by default blue) is used for all items in the chart.
l By dimension: By default, 12 colors are used for the dimensions. The colors are reused when there
are more than 12 dimension values. When selected, the following settings are available:
l Persistent colors: When selected, colors are persistent between selection states.
l Color scheme: Select 12 colors or 100 colors to be used for the different values. The 12
colors can all be distinguished by people with color vision deficiency, but not all of the 100
colors.
l By expression: Color the chart using an expression to define colors for values. Supported color
formats are: RGB, ARGB, and HSL.
l Expression: Enter the expression that you want to use. Click to open the expression editor.
l The expression is a color code: Selected by default. In most cases, it is best to keep this
setting. When the selection is cleared, the expression evaluates to a number, which in turn is
plotted against one of the chart gradients.
For more information, see Coloring a visualization (page 578)
l Range: When the coloring is by measure or by expression, you can set the color range (Min
and Max values). By setting the color range, the colors remain constant throughout
selections and paging. When using color by expression, the option The expression is a
color code must be cleared before you can set the color range.
l Show legend: Not available when Single color is selected. By default set to Auto. The legend is
displayed if there is enough space. The placement can be changed in the Legend position setting.
X-axis
l <Measure>
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the measure axis.
l Label orientation: Select how to display the labels. To access this option, the chart must
have two dimensions and be set to a vertical orientation. The following options are available:
l Auto: Automatically selects one of the other options depending on the space
available on the chart.
l Horizontal: Labels are arranged in a single horizontal line.
Y-axis
l <Dimension>
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the dimension axis.
Filter pane
You can add a filter pane to control what data that is shown in the visualizations on a sheet. A
filter pane can filter the data of several dimensions at once.
For example, if you have a chart of sales over time, you can use a filter pane to limit the data in the chart to
only show sales from a selected time period, from certain product categories, and from a certain region.
When a dimension is added, it is placed to the right of the previous dimensions, or below, depending on the
available space. As long as there is enough space, the dimensions are displayed as expanded lists. If there
is not enough space, the dimensions that were added first are turned into filter panes.
Selections have been made in the dimensions Year, Quarter, and Week.
When to use it
With filter panes, you can easily make several selections to define your data set exactly like you want it.
With your well-defined data set, you can explore data of particular interest.
By using the selection menu options in the filter panes (select possible, select alternative, and select
excluded), you can make adjustments to the data set and compare the results with the previous selection.
Advantages
Filter panes are good for making selections and defining data sets. But they also show the relationship
between different values, the associations. The green, white, and gray colors reflect the data associations
that exist - and that do not exist. And by analyzing those associations, you can make new discoveries, for
example, that a sales representative has too many customers, or that a region lacks a sales
representative.
Disadvantages
When the dimensions contain a very large amount of values, it may be hard to manage the data.
Do the following:
1. From the assets panel, drag an empty filter pane to the sheet.
2. Click Add dimension and select a dimension or a field.
When you have created the filter pane, you may want to adjust its appearance and other settings in the
properties panel.
If you double-click or drag a field or a dimension from the assets panel, a filter pane is added to
the sheet using the dimension. If you then double-click more dimensions, they are
automatically added to the new filter pane.
In some cases the frequency cannot be calculated and is displayed as -. One example of this is
for key fields.
When you make a selection, it is reflected in the small bars at the bottom of each filter pane dimension.
Four states can be displayed in the bars: selected (green), possible (white), alternative (light gray), and
excluded (dark gray). Locked values are indicated by a lock icon. The details of the selections are
displayed in the selections bar, above the sheet. You can click an item to see the details and change your
selection.
Fields are filtered out from each dimension to be shown in the visualizations on the sheet.
Display limitations
Responsive design
The filter pane has a responsive design and renders as many dimensions as possible. When space is
limited, this could involve reducing the size of each dimension so that all dimensions are displayed.
Example:
The following image shows a filter pane while it is being edited. Only three out of five dimensions are
displayed. The other dimensions are replaced by a button with an ellipsis (...), indicating that there are
more dimensions that are not displayed. You can click the button to open the filter pane in full screen view.
When you have finished editing the filter pane and enter analysis mode, you will see the filter pane with all
the dimensions displayed. If all items cannot be shown due to lack of space, the ellipsis box is displayed to
indicate that there are more dimensions.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Data
Click Add to add a dimension or create a dimension from a field. If the option is dimmed it is not available.
Dimensions
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings. If you want to
delete the dimension, right-click the dimension and select in the dialog. Alternatively, click the
dimension and click .
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Title: Enter a title for the dimension. If you have added a field from Fields in the assets panel,
the field name is automatically displayed.
o Show frequency: You can show the frequency of each value. You can show it as an absolute
number with Frequency count or a percentage with Relative frequency (%).
o Text alignment: When set to Custom, you can select how to display the content: Align left,
Align center, or Align right. If Text alignment is set to Auto, the alignment is automatically
aligned left or right, depending on the content.
o Master item: Create a master dimension based on the dimension expression by clicking
Add new. If the dimension is already linked to a master item, click Edit to update the master
item. All instances of the linked dimension will be updated.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
Sorting
By default, the dimensions are sorted in the order they were added, with the most recently added
dimension last. For filter panes, you change the sorting order of the dimensions under Dimensions in the
Data section. Drag the dimensions to change the order. Under Sorting you can change the internal sorting
of the dimensions.
Each dimension is sorted internally in the most common way for that type of data. Numbers are sorted
numerically, ascending. Text is sorted alphabetically, ascending. If you want to change the internal sorting
of a dimension, click the sorting button. The following list shows the internal sorting priority order and
sorting options. The sorting is either Ascending or Descending.
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Appearance
General
l Show titles: On by default in all visualizations except filter panes, KPIs, and text & image
visualizations.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
Gauge
The gauge shows a single measure value and visualizes how to interpret that value.
When to use it
The gauge is often used to present KPIs, for example, on an executive dashboard, and together with
segmenting and color coding, it is an effective way of illustrating a performance result.
It is important to set relevant max and min values to support the interpretation of the value. You can use a
reference line to provide additional context.
Advantages
A gauge is easy to read and understand and gives an instant indication of the performance within an area.
Disadvantages
The gauge is quite space-demanding in relation to the single value it visualizes.
Although visually compelling, the gauge is not always the best choice for presenting a single measure
value. Problems when deciding the max and min values can indicate that some other visualization should
be used.
If you only want to show a performance value, without a gauge, consider using a KPI instead.
Creating a gauge
You can create a gauge on the sheet you are editing. In a gauge you can only have one measure and no
dimensions.
Do the following:
When you have created the gauge, you may want to adjust its appearance and other settings in the
properties panel.
l A radial gauge.
l A single (blue) color.
l Range limits: min (0), max (100).
l No segments.
l Label and title are displayed in medium scale.
For example, you can change the radial gauge to a bar, and use a color gradient.
Display limitations
When a measure value is outside the range limits, an arrow indicates whether the measure value is higher
or lower than the range values.
Gauge properties
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Measures
On the Data tab, under Measures, click Add measure to open a list of available measures. Select the
measure that you want to add to the visualization. If you select a field, you are automatically presented with
some common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l <Measure name>:
l Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
l Expression: Click to open the expression editor. The existing expression is displayed by
default.
l Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
l Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
data load editor.
The following number formats are available:
l Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
l Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Add-ons
l Data handling: Calculation condition: Specify an expression in this text field to set a condition that
needs to be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
l Reference lines: Add reference line: Click to add a new reference line.
l Show: When selected, the reference line is displayed.
l Label: Enter a label for the reference line.
l Color: In the color picker, select the color of the reference line and the label.
l Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
l : Click to remove the reference line.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
l Range limits
l Min: Set the minimum value for the gauge. Click if you want to create an expression.
l Max: Set the maximum value for the gauge. Click if you want to create an expression.
l Radial/Bar: Select to display the gauge as a radial or as a bar.
l Orientation: Select vertical or horizontal orientation of the visualization. Only available for bar
gauges.
l Use segments: When Use segments is not selected, a single color (by default blue) is used to
illustrate the measure value. When Use segments is selected, and Use library is not selected, you
can divide the gauge into segments with different colors. When segments are used, a pointer marks
the measure value.
Click Add limit to add a segment to the gauge. Use the slider or type an expression to set the limit.
Click to create an expression. You can add several segments. Click the segment to change colors.
You can click Remove limit to remove a selected limit.
Select Gradient to use different shades of colors in the transition between the segments.
l Use library: You can use this option when a master measure used in the visualization has a color
assigned to it. You can select to use the master measure colors or to disable the master measure
color.
Measure axis
l Labels and title: Select what to display of labels and title.
l Scale: Set the spacing of the measure axis scale.
Histogram
The histogram is suitable for visualizing distribution of numerical data over a continuous
interval, or a certain time period. The data is divided into bins, and each bar in a histogram
represents the tabulated frequency at each bin.
When to use it
The histogram is suitable for visualizing distribution of numerical data over a continuous interval, or a
certain time period.
Advantages
The histogram organizes large amounts of data, and produces a visualization quickly, using a single
dimension.
Disadvantages
The histogram is not relevant for detailed analysis of the data as it deals with a summary of the data
distribution.
Creating a histogram
You can create a histogram on the sheet you are editing. You can only apply a single dimension to a
histogram. Histograms do not need a measure, as the frequency of the binned data is automatically
calculated.
Do the following:
When you have created the histogram, you may want to adjust its appearance and other settings in the
properties panel.
Dimension limitations
There are some limitations to the dimension used in a histogram.
Dataset
In this example, we'll use the following weather data.
The dataset that is loaded contains a daily average temperature measurement from a weather station in
the north of Sweden during the time period of 2010 to 2017.
Visualization
We add a histogram to the sheet and add the field Average of the 24 hourly temperature observations in
degrees Celsius as dimension.
The visualization creates a frequency measure automatically, and sorts the temperature measurements
into a number of bars according to frequency distribution.
We can adjust the size of the bars to get even intervals, by setting Bars to Custom and Bar width (x-axis)
with a width of 5. This adjusts the bars to be intervals of 5 degrees Celsius as shown below:
Discovery
The histogram visualizes the frequency distribution of the temperature measurements. You can hover the
mouse over a bar to see more details of the frequency.
We can see that most days, the temperature is between -5 and 15 degrees Celsius. There are days below -
30, but they are not many.
Histogram properties
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a field.
Fields
On the Data tab, under Fields, click Add to open a list of available Fields. Select the field that you want to
use.
You can also click to create a field in the expression editor. Another way to create a field is to type the
expression directly in the text box. Expressions added in this way must begin with an equals sign (=). Here
is an example with a calculated field:
l <Field name>
Field: Click the field name to open the field settings.
If you want to delete the field, right-click the field and select in the dialog. Alternatively, click the field
and click .
l Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
l Label: Enter a label for the field.
l Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
l Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
l Add alternative: Alternative fields are fields that are added to a visualization, but are not displayed
until a user chooses to switch which fields are being displayed during visual exploration.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Histogram settings
l Bars: You can set Bars to Auto or Custom:
Auto divides the data into the optimal number of bars based on the current data selection. You do
not need to make any other settings. The calculation is based on Sturge's formula.
Custom lets you define how to divide the data into bars.
l Number of bars: Set Maximum number to the number of bars you want to divide the data into.
l Bar width (x-axis): Set Width to define how wide each bar is. This is based on the values on the x-
axis.
You can offset the bars by changing the Offset setting.
Example:
If you set Width to 2 and keep the default Offset setting 0, your bars may be defined 0 to 2, 2 to 4, 4
to 6, and so on. If you change Offset to 1, the bars are defined -1 to 1, 1 to 3, 3 to 5, and so on.
l Count distinct values only: Select this to exclude duplicate values.
Add-ons
l Data handling: Include zero values: When unselected, measures that have the value ‘0’ are not
included in the presentation. If there is more than one measure value, all the measure values must
have the value ‘0’ to be excluded from the presentation.
l Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user
has filtered the data to a more manageable level by applying selections. Use the
Displayed message property to guide the user to filter the data.
l Reference lines: Add reference line: Click to add a new reference line.
l Show: When selected, the reference line is displayed.
l Label: Enter a label for the reference line.
l Color: In the color picker, select the color of the reference line and the label.
l Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
l : Click to remove the reference line.
Appearance
General
l Show titles: On by default in all visualizations except filter panes, KPIs, and text & image
visualizations.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
Gridline spacing: Set this to Custom if you want to customize the horizontal gridlines. You can choose
between: No lines, Medium, or Narrow.
Value labels: By default, Off. With the Auto setting, the value labels are displayed when there is enough
space.
l Colors: You can only set the bar color of the histogram.
l Y-axis: Frequency When set to Auto, the label is displayed if there is enough space.
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the frequency axis.
l Scale: Set the spacing of the frequency axis scale.
l Range: Select to set the min value, the max value, or both. The min value cannot be larger
than the max value. You can use expressions for the values.
l Label: Set the label for the frequency axis.
l X-axis: <Field>:
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the field axis.
KPI
The KPI visualization can show one or two measure values, and is used to track performance.
A KPI visualization with two measure values, using conditional colors and symbols.
When to use it
Use KPIs to get an overview of performance values that are central to an organization. Use color coding
and symbols to indicate how the figures relate to the expected results.
Advantages
KPIs give a quick understanding of the performance within an area.
Disadvantages
The KPI is somewhat limited when it comes to graphical components. You can use symbols to help
illustrate the performance, but if you want a more conspicuous component, consider using a gauge.
Creating a KPI
You can create a KPI visualization on the sheet you are editing.
Do the following:
1. From the assets panel, drag an empty KPI chart to the sheet.
2. Click Add measure and select a measure or create a measure from a field.
In a KPI visualization, you can have one or two measures and no dimensions. With two measures, the
second value automatically becomes a complementary value and is shown with a smaller font size. You
can easily switch their order by dragging the measures in the properties panel under Measures.
When you have created the KPI visualization, you may want to adjust its appearance and other settings in
the properties panel.
l Centered alignment.
l Black text color.
l No background color.
l Responsive layout behavior.
l Medium font size.
l No titles.
l Measure label displayed.
l Conditional colors and symbols are turned off.
l No link to sheet.
If you double-click or drag a measure from the assets panel, a KPI visualization is added on the
sheet using the measure.
You can do this by adding multiple range limits to the KPI, creating subsections that indicate performance.
For example, you can set your KPI so that it displays in:
You can also set range limits with expressions, rather than defining a single value.
Do the following:
1. In the properties panel for a KPI visualization, select Appearance and expand Color.
2. If necessary, turn off Library colors and turn on Conditional colors.
3. Click Add limit to create a new limit. Multiple limits can be added to a single KPI chart.
4. Specify a value for the limit, or enter an expression using the expression editor.
5. On the Value color bar, click the range area of the KPI you would like to modify.
6. Under Colors, select a preset color or use a custom color. Toggle, if needed, to Symbols to choose
the symbol displayed when your KPI falls within the specified limit.
KPI properties
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a measure.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure. Pie charts require a
measure for Angle, but optionally a measure can be added for Radius, which determines the radius of
each slice of the pie chart.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l <Measure name>:
l Expression: Click to open the expression editor. The existing expression is displayed by
default.
l Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
l Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
l Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
data load editor.
The following number formats are available:
l Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
l Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
l Duration: By default, the format pattern used for duration is the same as set up in the
operating system. Duration can be formatted as days, or as a combination of days,
hours, minutes, seconds and fractions of seconds. Use the Format pattern box to
change the format pattern.
l Custom: By default, the format pattern used for custom is the same as set up in the
operating system. Use the Format pattern boxes to change the format pattern.
l Decimal separator: Set the decimal separator.
l Thousands separator: Set the thousands separator.
l Format pattern: Set the number format pattern.
l Reset pattern: Click to reset to default pattern.
l Measure expression: The format pattern is determined by the measure expression.
Use this option to display custom number formatting for a measure in a visualization.
l Master item: Create a master measure based on the measure expression by clicking Add
new. If the measure is already linked to a master item, you can update the master item by
clicking Edit. All instances of the linked dimension will be updated.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Add-ons
l Data handling: Calculation condition: Specify an expression in this text field to set a condition that
needs to be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
l Show title: On by default. When selected, the measure title is displayed above the KPI value.
l Alignment: Set the alignment of the KPI value and the title.
l Layout behavior: Sets the layout mode for the font. Options are: Fixed in which the font size is
independent of the box size and the length of the text, Fluid in which the font size adapts to the size
of the box, and Responsive in which the font size adapts to the size of the box and the length of text.
l Font size: Set the relative font size of the measure value. When the chart is resized, the font size
might adjust to fit the chart depending on the setting of Layout behavior.
l Link to sheet: Off by default. When turned On, you can link from the KPI to any sheet in the app.
Select the sheet in the list. You can also select if the linked sheet opens in a new tab.
l Background color: Set the background color to single color or color by expression.
l Single color: A single color can be applied to the background. You can select a color from
the default palette, enter a hex value for a color, or select a color from the color wheel. No
background color is applied by default. For more information, see Coloring a visualization
(page 578).
l By expression: Use an expression to define the background color. You can enter the
expression directly in the Expression text box or click to open the expression editor.
Supported color formats are: RGB, ARGB, and HSL. For more information, see Examples
(page 585).
l Reset all: Resets all style editor properties to their default values.
Colors
l Conditional colors: When used, you can add range limits and use different colors and symbols for
the different sections.
l Add limit: Use the slider to set the limit. You can add several sections. Click the section to change
color.
You can use an expression as a limit. Click if you want to create an expression.
l Gradient: Select to use different shades of colors in the transition between the sections.
l Remove limit: Click to remove the selected limit. If no limit is selected, the most recently added limit
is removed.
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
l Measures: Click Add measure to show the measure as a tooltip.
o Select a measure from a field using From a field. You can also use an expression to add a
measure. Click to open the expression editor. The existing expression is displayed by
default.
o You can change the label of the measure using Label and the formatting using Number
formatting. If the measure is a master item, you can use the master measure formatting or
turn off formatting and select another format using Number formatting.
l Chart: Click Add chart to add a chart to the tooltip.
o Master items: Select a master visualization from the list to show as a tooltip.
o Chart size: Select the size of the chart container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Edit master item: Appears after you select a master visualization. Click to edit the master
item.
l Images: Click Add an image to add an image to the tooltip.
o Type: Choose the location of the image from either your Media library or from a URL.
o Size: Set the size of the tooltip container. Qlik Sense fits the image into the container.
o Small. Sets the width and height of the container to 50 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Original. Qlik Sense fits the image into the container. If the image is larger than 340
pixels, it is scaled down.
o Media library: Appears when you choose Media library for Type. Click to select an image
Line chart
The line chart is used to show trends over time. The dimension is always on the x-axis, and
the measures are always on the y-axis.
Your data set must consist of at least two data points to draw a line. A data set with a single value is
displayed as a point.
If you have a data set where data is missing for a certain month, you have the following options for showing
the missing values:
l As gaps
l As connections
l As zeros
When a month is not present at all in the data source, it is also excluded from the presentation.
When to use it
The line chart is primarily suitable when you want to visualize trends and movements over time, where the
dimension values are evenly spaced, such as months, quarters, or fiscal years.
Advantages
The line chart is easy to understand and gives an instant perception of trends.
Disadvantages
Using more than a few lines in a line chart makes the line chart cluttered and hard to interpret. For this
reason, avoid using more than two or three measures.
Do the following:
1. From the assets panel, drag an empty line chart to the sheet.
2. Click Add dimension and select a dimension or a field.
3. Click Add measure and select a measure or create a measure from a field.
In a line chart you need at least one dimension and one measure.
You can include up to two dimensions and one measure, or one dimension and up to 15 measures in a line
chart.
2 dimensions 1 measure A line chart with the first dimension on the X-axis, and a line for each
value of the second dimension.
When you have created the line chart, you may want to adjust its appearance and other settings in the
properties panel.
Display limitations
Displaying large numbers of dimension values
When the number of dimension values exceeds the width of the visualization, a mini chart with a scroll bar
is displayed. You can scroll by using the scroll bar in the mini chart, or, depending on your device, by using
the scroll wheel or by swiping with two fingers. When a large number of values are used, the mini chart no
longer displays all the values. Instead, a condensed version of the mini chart (with the items in gray)
displays an overview of the values, but the very low and the very high values are still visible. Note that for
line charts with two dimensions, the mini chart is only available in stacked area mode.
Line chart with a mini chart, since the dimension values exceeds the width of the visualization.
When a reference line is out of range, an arrow is displayed together with the number of reference lines
that are out of range.
l If the chart uses a continuous scale, 2000 data points are displayed.
l If the chart uses a non-continuous scale, the number of data points displayed is in the range of 2500
to 5000. The limit depends on if the chart has one or two dimensions, and if coloring is used.
Above that number, data points are neither displayed, nor included in selections made in the line chart.
Additionally, only twelve dimension values are displayed for the second dimension in a chart with two
dimensions and continuous scale.
To avoid displaying limited data sets, you can either make a selection or use dimension limits in the
properties panel.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
l Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
l Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
l Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
l Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
l Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
l No limitation: The default value.
l Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
l Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
l Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
l Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
l Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
l Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
l Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
l <Measure name>: Click the measure to open the measure settings.
If you want to delete the measure, right-click the measure and select in the dialog. Alternatively,
click the measure and click .
l Expression: Click to open the expression editor. The existing expression is displayed by
default.
l Modifier: Selects a modifier for the measure. Options are None, Accumulation, Moving
average, Difference, and Relative numbers.
l Accumulation: Only displayed when Accumulation has been selected as a modifier.
It allows you to accumulate values of your measure over one or two dimensions.
The following options are available:
l Dimension: Selects the dimension on which the accumulation will take place.
If the accumulation is made across multiple dimensions, this will be the first
dimension.
l Across all dimensions: Continues accumulation across all available
dimensions.
l Range: Select whether the accumulation will happen on the Full range, or a
Custom range of the dimension.
l Steps: Only displayed when Range is set to Custom. The number of steps in
the dimension which form an accumulation range. Only zero and positive
integers are accepted.
l Show excluded values: Include excluded values in the accumulation.
l Output expression: Shows the expression used by the modifier.
l Moving average: Only displayed when Moving average has been selected as a
modifier. It allows you to accumulate values of your measure over one or two
dimensions.
The following options are available:
l Dimension: Selects the dimension on which the moving average will take
place. If the moving average is made across multiple dimensions, this will be
the first dimension.
l Across all dimensions: Continues moving average across all available
dimensions.
l Range: Select whether the moving average will happen on the Full range, or a
Custom range of the dimension.
l Steps: Only displayed when Range is set to Custom. The number of steps in
the dimension which form a moving average range. Only zero and positive
Examples:
l Master item: Create a master measure based on the measure expression by clicking Add
new. If the measure is already linked to a master item, you can update the master item by
clicking Edit. All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Chart scripting is not available when forecast is enabled for line charts.
Sorting
Drag the dimensions and measures to set the sorting priority order. The numbers show the order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options. The sorting is either
Ascending or Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in
the presentation. If there is more than one measure value, all the measure values must have
the value ‘0’ to be excluded from the presentation.
Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
l A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
l Reference lines: Add reference line: Click to add a new reference line.
l Show condition:Sets a condition that needs to be fulfilled for the reference line to appear.
Click to open the expression editor.
l Label: Enter a label for the reference line.
l Show label: Select to show the reference line label.
l Color: In the color picker, select the color of the reference line and the label.
l Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
l Show value: Select to show the value of the reference line.
l Line type: You can choose between solid and dashed line types.
l Colored background: Adds the selected color as a background around the label text.
l : Click to remove the reference line.
l Dimension reference lines: Add reference line: Click to add a new dimensional reference line.
l Show condition:Sets a condition that needs to be fulfilled for the dimensional reference line
to appear. Click to open the expression editor.
l Label: Enter a label for the dimensional reference line.
l Show label: Select to show the dimensional reference line label.
l Color: In the color picker, select the color of the dimensional reference line and the label.
l Reference line expression: Enter a value or an expression for the dimensional reference
line. Click to open the expression editor.
l Show value: Select to show the value of the dimensional reference line.
l Line type: You can choose between solid and dashed line types.
l Colored background: Adds the selected color as a background around the label text.
l : Click to remove the dimensional reference line.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
l Styling: Change the styling of the lines. The following options are available:
l Data point size: Adjust the slider to set the size of data points.
l Line thickness: Adjust the solider to set the thickness of the lines.
l Line type: Set the line as Dashed or Solid.
l Line curve: Set the curvature of the line as Linear or Monotone.
l Line/Area: Select to display the chart as a line or as an area.
l Vertical/Horizontal: Select a vertical or horizontal orientation for the chart.
l Scrollbar: Set the type of scrollbar to display. There are three settings:
l Mini chart: Show a miniature of the chart.
l Bar: Show a regular scrollbar.
l None: There is no scrollbar, but you can still scroll in the visualization.
l Scroll alignment: Set the position of the chart scrollbar. By default the scroll alignment is set to
Start.
l Stacked area: When selected, the different areas are displayed on top of each other. Only available
with Area style.
l Stack positive and negative values separately: Only available with Area style.
l Missing values
Set how to show missing values.
l Show as gaps: The line has a gap, which represents the missing value.
l Show as connections: The line connects the values that exist on either side of the missing
value. If the missing value is first or last, no line is drawn.
l Show as zeros: The line is drawn to zero and from there to the next existing value. If the
missing value is first or last, no line is drawn.
l Show data points: When selected, the data points are displayed.
Value labels: By default, Off. With the Auto setting, the value labels are displayed when there is
enough space. You can also use All to show all labels at all times.
l Grid line spacing: Select the spacing of the grid lines. The Auto setting is Medium.
Examples:
When the coloring is by measure or by expression, you can set the color range
(Min and Max values). By setting the color range, the colors remain constant
throughout selections and paging. When using color by expression, the option
The expression is a color code must be cleared before you can set the color
range.
l Show legend: Not available when Single color is selected. By default set to Off. The legend
is displayed if there is enough space. The placement can be changed in the Legend position
setting.
l Legend position: Select where to display the legend.
l Show legend title: When selected, the legend title is displayed.
X-axis / Y-axis
The properties for x-axis and y-axis depend whether or not the axis is displaying a dimension or measure.
l <Dimension>
o Continuous: Set to Custom to be able to show a continuous axis by selecting Use
continuous scale. Use continuous scale is only available for dimensions with numeric
values. You cannot change sorting when you use a continuous scale.
o Labels and title: Select what to display of labels and title.
o Label orientation: Select how to display the labels. The following options are available:
n Auto: Automatically selects one of the other options depending on the space
available on the chart.
n Horizontal: Labels are arranged in a single horizontal line.
n Tilted: Labels are stacked horizontally at an angle.
n Layered: Labels are staggered across two horizontal lines.
To view examples of label orientation, see X-axis and Y-axis (page 574).
o Position: Select where to display the dimension axis.
o Number of axis values: Set the maximum number of values on the axis.
l <Measure>
o Labels and title: Select what to display of labels and title.
o Position: Select where to display the measure axis.
o Scale: Set the spacing of the measure axis scale.
o Range: Select to set the min value, the max value, or both. The min value cannot be larger
than the max value. You can use expressions for the values.
o Logarithmic: When selected, a logarithmic scale is used for the measure values. To be able
to use a logarithmic scale, the values must be all positive or all negative.
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
Map chart
Maps enable you to view your data geographically.
Maps have many ways to present your data. You can add multiple layers to your map to display different
types of information on the same map. You can set a custom scope for locations so that if two locations
have the same name, you display the locations and their data correctly. You can use drill-down dimensions
to create a hierarchy of geographic areas for selection. You can limit the pan of a map to a specific view
and scope of the map, such as a region of interest, out of which users cannot pan or zoom out. You can
add custom base maps to your map and use non-WGS-84 coordinates.
Advantages
The map is a versatile visualization that efficiently presents the geographical distribution of key values
related to location or area.
Disadvantages
With a large number of values, it may be hard to get a good overview. Values may be placed on top of each
other and not visible until zoomed in.
For more information, refer to the Map service connection requirements on Ports used by user web
browser.
If you are instead using an on-premise GeoAnalytics server, your map chart will not need access to
maps.qlikcloud.com and can function without an internet connection. However, in this setup, the Satellite
base map will not be displayed as it requires a connection with ibasemaps-api.arcgis.com. For more
information, see Using GeoAnalytics with Qlik Sense map.
Base map
The base map provides the background for the data contained in your layers. You can select your base
map in Map settings. Qlik Sense has four default base maps:
As of December 7, 2021 the map tile service used by Qlik Sense for satellite base maps
changed from services.arcgisonline.com to ibasemaps-api.arcgis.com. If your maps are not
functioning as expected, contact your Qlik administrator. They might need to allow this new
service.
Additionally, custom base maps can be added using background layers to add your own custom base
maps. For example, you could add the floor plan of an airport or office as a custom base map.
Layers
Layers contain visualized dimension and measure data that is displayed over your map. You can stack
layers on top of each other. You can also control at what zoom levels different layers appear in or have
layers that appear only if other values in a drill-down dimension are selected. This enables you to create
different levels of detail as you make selections and zoom in and out of areas of interest on your map. The
following layers are available:
l Point layer: A point layer overlays individual locations on a map, representing them with shapes.
Point layers (page 257)
l Area layer: An area layer presents areas on your map, such as countries or states. With polygon
geometry loaded into a field, it can present any custom area.
Area layers (page 258)
l Line layer: A line layer enables you to display lines between points on your map.
Line layers (page 259)
l Density layer: A density layer enables you to visualize the density of points in an area using a color
ramp.
Density layers (page 261)
l Chart layer: A chart layer enables you to display small pie charts or bar charts over locations in your
map.
Chart layers (page 262)
l Background layer: Background layers enable you to display a custom base map for your map
visualization.
Background layers (page 263)
Layers that use drill-down dimensions can be used to create drill-down layers. Drill-down layers enable you
to drill-down different hierarchical dimensions in a single layer or in multiple layers. You could, for example,
switch between area and point layers as selections are made. For more information, see Drill-down layers
(page 266). For an example map that uses drill-down dimensions and layers, see Controlling visible map
data with drill-down layers (page 283).
Locations can be either geometries or names of locations such as names of countries, regions, cities,
postal codes etc. Layer locations can be defined using fields that contain names and codes. Qlik Sense
can identify the following types of locations:
l Continent names
l Country names
l ISO alpha 2 country codes
l ISO alpha 3 country codes
l First-order administrative area names, such as a state or province names
l Second-order administrative area names
l Third-order administrative area names
l Fourth-order administrative area names
l Postal codes or ZIP Codes
l City, village, or other populated place names
l IATA airport codes
l ICAO airport codes
Availability of locations may vary by country. If the named location is not available, use
coordinate or area data for the location.
Qlik Sense uses map and location data obtained from recognized field leaders who use
accepted methodologies and best practices in marking borders and naming countries within
their mappings. Qlik Sense provides flexibility to enable users to integrate their own, separate
background maps. If the standard maps do not fit, Qlik Sense offers the option to load customer
provided background maps, borders, and areas.
Geometries can either be added at load time by the data preparation service or loaded from geographic
sources such as KML. Point layers also support latitudes and longitudes in separate fields. For area layers,
areas can be defined using geometries from a geographic data source such as KML files. Line layers
support the same point data as point layers. Line layers also support strings with line geometries in
GeoJSONLineString or MultiLineString formats.
If you are using a custom map in a background layer that uses non-WGS-84 coordinates, you can use a
field with locations defined in the coordinate system the map uses (either degrees or meters). For more
information, see Using non-WGS-84 coordinate systems (page 256).
Creating maps
You can add a map to the sheet you are editing.
You can create several map visualizations based on different point data or area data, which
use the same dimension data.
Do the following:
Once the map is created, you can adjust its appearance and other settings for the map and its layers in the
properties panel. For more information on settings, see Map properties (page 267).
will appear in the top-left corner of your map if there is an issue with the added layer. Click the
icon to see the error message.
Do the following:
Do the following:
You can toggle the set pan limit on and off with Limit pan navigation. You can clear the saved pan limit by
clicking Clear pan limit.
When using non-WGS-84 coordinates, you must use geometries loaded into a field. Location names
cannot be used.
Do the following:
Point layers
A point layer overlays individual locations on a map, representing them with shapes.
By default, point layers use circular bubbles, but you can also use several other shapes. You can also use
custom images as the points in a point layer. The size of the points in your layer can be fixed or you can
specify a measure or expression to set the sizes of the different points. You can highlight these differences
in values further by coloring by measure.
Map with point layer displaying cities in Atlantic Canada colored and sized by population.
Do the following:
1. Drag and drop a field onto the map, select Add as new layer, and select Add as point layer.
2. From Layers in the properties panel, click Add layer and select Point layer. In Dimensions, click
Add and select a field containing point data to use as the dimension.
3. If there are issues with the point locations, adjust the location settings in Locations in the properties
panel.
For more information, see Limiting location scope in map layers (page 255).
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Area layers
An area layer presents areas on your map, such as countries or states. With polygon
geometry loaded into a field, it can present any custom area.
With an area layer, each dimension value corresponds to a presented area. By using colors with your area
layer, you can present different measure values for the areas. In the properties panel, under Appearance >
Colors and legend, switch Colors to Custom where the options By measure and By expression are
available.
Map with area layer displaying Australian states and territories colored by population.
Do the following:
panel.
Limiting location scope in map layers (page 255)
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Line layers
A line layer enables you to display lines between points on your map.
For example, you can use a line layer to show aircraft flights between cities. With a line layer, you can use
two fields containing point data to define the start points and end points for lines in the layer. Alternatively,
you can use a field containing line geometry in either GeoJSON LineString or MultiLineString format. You
can customize the width and curvature of lines in the line layer and add directional arrows to your lines.
Map with line layer displaying departing flights between airports in Europe.
If you are using a start and end point line layer, the dimension you select for your line layer should
represent the fields selected as the start and end points in your Location settings. For example, if you
wanted to visualize where your shipments are being sent, you could set Shipments as the dimension and
then use Distribution Center Location and Shipping Destination as the start point and end point in
Location.
Alternatively, you can add two dimensions to the line layer and use these as the start and end points. This
is useful if you want to display lines between all locations in the first dimensions to all locations in the
second dimension, which has an association to the first dimension.
Do the following:
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Do the following:
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Density layers
A density layer enables you to visualize the density of points in an area using a color ramp.
Each point influences a circular area, with the highest influence at the center and declining towards its
outer perimeter. You can specify the influence radius of the points, change its color and scale it to suit your
visualization. Density layers can be used to show hotspots of activity, population densities and more.
Do the following:
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Chart layers
A chart layer enables you to display small pie charts or bar charts over locations in your map.
It uses one dimension to identify the locations and a second dimension to create the pie or
bar charts.
You can label the charts and use an expression to control their size. The info bubble displays useful
information about the contents of the selected chart.
Map with chart layer displaying source of funds in European Union countries as pie charts. The size of each pie
chart shows average absorption rate of funds.
Do the following:
1. In Dimensions, under Location, click Add and select a field containing point data to use as the
locations on your map. Click Add and select a field containing data to use as the dimension on your
charts.
2. In Measures, click Add and select a field containing data to use as the measure on your charts.
3. If there are issues with the point locations, adjust the location settings in Location in the properties
panel.
Limiting location scope in map layers (page 255)
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Background layers
Background layers enable you to display a custom base map for your map visualization.
A background layer could, for example, be a map of an airport that then has a point layer with WIFI hotspot
locations overlaid on it. If the custom base map format supports transparency, you can overlay it on top of
another map. Qlik Sense supports the following custom maps formats as background layers:
Maps services must be located on their own server. Unlike other layers, the background layer uses no
dimensions or measures and only displays an external base map.
If your WMS contains areas with no data, you can set the areas with no data to be transparent. This
enables the WMS background layer to be overlaid on another base map or background layer. You can also
choose which WMS layers to include in the background layer.
You can insert an image as a background layer. This can be used as a custom base map. You could add
an image of a floor plan and use it as a custom base map. An image background layer can also be overlaid
on top of another background layer. For example, you could insert an image of a detailed local map as a
background layer over top another map. Background layers support the following image types:
l .png
l .jpg
l .jpeg
l .gif
Do the following:
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
Do the following:
Once the layer is added, you can adjust settings for the layer in the properties panel. For more information
on settings, see Map properties (page 267).
When you add an image background layer for a smaller geographic area as a custom base
map, add a layer containing data, such as a point layer, at the same time. This lets the map
automatically zoom in to the position of your image background layer.
The lowest unit in the scale bar is 10 meters. If this measurement is too large for your image,
you can disable the scale bar in Presentation and then proportionally adjust up your image in
the background layer to the scale you want. Scale the location data you want to use in other
layers as well.
Do the following:
5. Position your image by entering the coordinates for the top left and bottom right corners of the
image.
Coordinates must be in the same coordinate type as was selected in Projection.
If you are unsure of the coordinates in your image background layer, enable Show
debug info. This will display the coordinates for the current center of your map.
Once the layer is added, you can adjust settings for the layer in the properties panel. For image
background layers being used as custom base maps, it is recommended that you change the Limit zoom
levels and Limit pan navigation settings to set the focus on your custom map. For more information on
settings, see Map properties (page 267).
Drill-down layers
When creating a map that has multiple points of data located in a wide geographical area, you
can use drill-down dimensions to display your layers in a selection hierarchy.
This enables you to use different layers at different levels within your map, ensuring only the most relevant
information is being displayed.
As you make selections in a drill-down layer, the dimension used for locations changes to the next
dimension in the drill-down dimension. The drill-down happens across layers that use the same drill-down
dimension. If you have an area and point layer that use the same drill-down dimension, you can set which
layer displays with which dimension from the drill-down dimension.
If selections cause the current drill-down dimension field to have only one possible value, the
next field in the list is used instead.
Drill-down dimensions used for drill-down layers should have the fields in order of highest geographical
area to smallest geographical area.
For information on creating drill-down dimensions, see Creating a drill-down dimension (page 91).
Do the following:
Map properties
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Common properties
Map settings
l Base map: Select the base map for the map chart. The following options are available:
o Default: Use an OpenStreetMap-based map.
o Pale: Use a paler version of Default.
o Dark: Use a darker version of Default.
o Satellite: Use a satellite image map.
o None: Use no map for the base map. This selection should be used if a background layer is
going to be added to the map. None uses the background color from the current theme or the
value defined for mapChart.backgroundColor in the current theme.
l Projection: Set the projection the map uses for locations and define what kind of coordinates the
map uses. Each base map supports a set of projections. The following projections are available:
o Mercator: Display the map using Mercator projection. Mercator projections requires
coordinates use WGS-84.
Available with Default, Pale, Dark, Satellite, and None base maps.
o Adaptive: Display the map in an adaptive projection that does not exaggerate the areas
close to the poles as much when zoomed out.
Available with Default, Pale, and Dark base maps.
o Undefined degrees: Display the map using coordinates in a degree-based coordinate
system. If you are using a custom base map with custom coordinates that use degrees,
select this option.
All settings in Location except Location field are not compatible with this projection.
Available with None.
o Undefined meters: Display the map using coordinates in a degree-based coordinate
system. If you are using a custom base map with custom coordinates that use meters, select
this option.
All settings in Location except Location field are not compatible with this projection.
Available with None.
l Map language: Set the language for labels on the map.
o Auto: Use English labels (where available) when the map view is zoomed out and local
language labels when zoomed in.
o Local: Use labels in the local language for the displayed country or region where available.
English: Use English labels where available.
l Map units: Set the units of measure for the map. The following options are available:
o Metric
o Imperial
l Selection method: Sets how users can select multiple values on the map while holding down the
Shift key:
o None: Disable multiselect in the map using the Shift key and clicking and dragging the
cursor.
o Circle with distance: Select by dragging from a center point and out in a circle. The circle
measures and presents the radius of the circle.
o Lasso: Select by drawing the perimeter of an area.
l Auto-zoom: Set whether the map zooms to a selected locations when the selection changes.
l Set default view: Set the current view of the map as the default view of the map when the app is
opened.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the map.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
Alternate states
State: Set the state to apply to the visualization. You can select:
Legend
l Show legend: Show or hide the legend for all layers.
l Legend position: Set the position of the legend relative to the map.
Presentation
l Styling: Customize the look and feel of the chart object, including title, subtitle, and footnote.
Under General, you can make adjustments to the following components of the map:
l Title text: Customize font family, size, and color. Style the text as bold, italic, and underlined.
l Subtitle text: Customize font family, size, and color. Style the text as bold, italic, and
underlined.
l Footnote text: Customize font family, size, and color. Style the text as bold, italic, and
underlined.
l Navigation: Show navigation controls on top of map with buttons for panning, zooming, and
returning to original position.
l Location finder: Show the location button on the map. The location button adds a pin to the map
with the user's location when clicked. The user must choose to allow location sharing.
Location finder is not supported with
o Downloading visualizations
o Storytelling.
l Scale bar: Select to show a scale bar for your map.
l Limit zoom levels: Set the zoom limits in the map.
If set to No, the map can be zoomed in and out to the predefined limits in the base map.
If set to Custom, the slider can be used to set limits:
o Set the zoom out limit by adjusting the left side of the slider.
o Set the zoom in limit by adjusting the right side of the slider.
l Limit pan navigation: Set limits on the vertical and horizontal movement of the map view, as well as
limiting the zoom of the map.
If set to No, there are no pan limits.
If set to Custom, you set the pan limit to the current view of the map by clicking Set pan limit. When
a pan limit is set, users cannot move the map view outside the bounds of the current view or zoom
out past the current zoom level.
l Debug info: Display resolution, scale, zoom level, and coordinates for the center of the displayed
area.
l Label coloring: Sets the color contrast to use for labels on the map. Labels must be turned on in
Layer properties (page 270) to see the effect on the map.
If set to Auto, the label coloring will adjust to provide the best contrast with the color of the base
map. For example, labels will use a dark coloring on a pale base map and a light coloring on a dark
base map. Choose Dark or Light to set a specific label coloring to use independent of the base map
color.
You can also change label coloring in the Exploration menu, under Map settings>Label coloring.
When you apply changes made in the Exploration menu, the map properties automatically update
to use this setting.
Layer properties
Data (Point layer, area layer, line layer, and density layer)
l Dimensions
o Field: The field or expression selected as the dimension for the layer. The dimension usually
defines the locations on the layer, although you can change the field that defines locations in
the Location properties settings.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Include null values: Select to include null values in the map. By default, this is selected.
l Measures
l Expression: The field or expression selected as the measure for the charts on the layer.
l Label: Enter a label for the measure. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
l Number formatting: Select to include null values in the map. By default, this is selected.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
o Tile size pixels: Set the width and height of map tiles in pixels.
o Tile width: Set the tile width at level 0 (maximum zoom out) in the base map. The geographic
unit is the one used by the base map.
For most base maps, the internal coordinate system uses Mercator with width in
meters, even if the external coordinate system uses WGS-84 format degrees.
o Tile height: : Set the tile height at level 0 (maximum zoom out) in the base map. The
geographic unit is the one used by the base map.
For most base maps, the internal coordinate system uses Mercator with height in
meters, even if the external coordinate system uses WGS-84 format degrees.
o Origin X: The origin of tiles in the x-axis. This field uses the same unit as Tile height. All tiles
to the left of this origin use a negative value.
o Origin Y: The origin of tiles in the y-axis. This field uses the same unit as Tile width. All titles
to above this origin use a negative value.
If ${-y} is used in the URL, the y-axis is reversed and all tiles below this value will
have a negative value.
o Layers: Select the WMS layers to display in the map chart. The available layers depend on
your source WMS map.
l Image position: (Image only) Set the coordinates of the image in the background layer.
o Top left corner: Enter the coordinates for the location of the top left corner of the image.
o Bottom right corner: Enter the coordinates for the location of the bottom right corner of the
image.
Sorting (Point layer, area layer, density layer, and chart layer)
Click the dimension name to open the settings and click the sorting button to switch to Custom sorting.
Sorting determines the order map locations are added. For example, if you have three overlapping points
in a layer, sorting determines which point is on top. Sorting also determines which locations are displayed
in a layer if you limit the number of visible map objects with Max visible objects. The sorting is either
Ascending or Descending. The following sorting options are available:
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Location
l (Line layer only) Set what kind of data you are using for your lines.
o Start & end point: Select to use two fields to set the start and end points. When selected,
separate sections are added in Location for the start point and end point location settings.
o Line geometry: Select to use GeoJSONLineString or MultiLineString format line geometry
from a field. When selected, all other location settings are replaced with Line geometry field.
l Latitude and Longitude fields: (Point, Line ,Density, and Chart layers only) Select to use separate
latitude and longitude fields.
If selected, Location field is replaced with the following fields:
o Latitude: (Point, Line ,Density, and Chart layers only) Enter the field or expression
containing latitude data.
o Longitude: (Point, Line ,Density, and Chart layers only) Enter the field or expression
containing longitude data.
l Location field: Enter the field or expression containing the locations to use in this layer. The field
can contain geometries or the names of locations such as countries, cities, or postal codes.
If there are multiple locations associated with dimension values, you should set a
custom scope for locations or use an expression that contains qualifiers.
l Scope for locations: Set the scope of locations names the map chart uses to look for values
contained in Location field. This improves accuracy when the name of a location is not globally
unique or if you want one location per dimension value.
o Auto: Set the scope of locations to all any type of locations.
o Custom: Set the scope of locations to a custom set of locations.
n Location type: Select the type of locations contained in Location field:
l Auto: Any type of location.
l Continent: Continent names.
l Country: Country names.
Examples:
o Money: By default, the format pattern used for money is the same as set up in the operating
system. Use the Format pattern box to change the format pattern.
o Date: By default, the formatting is set to Simple, and you can select the formatting from the
options in the drop-down list. Click the button to change to Custom formatting, and use the
Format pattern box to change the format pattern.
o Duration: By default, the format pattern used for duration is the same as set up in the
operating system. Duration can be formatted as days, or as a combination of days, hours,
minutes, seconds and fractions of seconds. Use the Format pattern box to change the
format pattern.
o Custom: By default, the format pattern used for custom is the same as set up in the operating
system. Use the Format pattern boxes to change the format pattern.
l Decimal separator: Set the decimal separator.
l Thousands separator: Set the thousands separator.
l Format pattern: Set the number format pattern.
l Reset pattern: Click to reset to default pattern.
o Measure expression: The format pattern is determined by the measure expression. Use this
option to display custom number formatting for a measure in a visualization.
l Label: Set a label for the Size by property.
l <Symbol> size range: Set a minimum and maximum size range limit for the selected symbol for
your point layer.
l Range: Set the value limits for the size range.
o Auto: The symbol size range maps to the minimum and maximum value of the Size by field.
o Custom: The symbol size range maps to the minimum and maximum values set in Minimum
size value and Maximum size value. Values exceeding the minimum and maximum values
will use the same settings as the minimum and maximum values.
l Shape: Select the shape for your point layer. The following shapes are available:
o Bubble
o Triangle
o Square
o Pentagon
o Hexagon
o Image from media library
o Image from URL
l Image: (Image from media library shape only) Click to open the media library where you can select
an image. To remove the image, click .
l Image: (Image from URL shape only) Enter the URL to the image. PNG, JPEG, and GIF formats are
supported. Images with transparent backgrounds are supported.
l Image rotation: (Image shape only) Enter the degree of rotation. You can enter a numeric value for
the degrees of rotation. You can also use an expression to set the degree of rotation for the image.
Examples:
o Pie chart size range: Set a minimum and maximum size range limit for the pie charts for
your chart layer.
o Range: Set the value limits for the size range.
l Auto: The size range maps to the minimum and maximum value of the Size by field.
l Custom: The size range maps to the minimum and maximum values set in Minimum
size value and Maximum size value. Values exceeding the minimum and maximum
values will use the same settings as the minimum and maximum values.
l Bar chart
o Height: Set a height size for the bar charts for your chart layer.
o Width: Set a width size for the bar charts for your chart layer.
Examples:
o Custom: By default, the format pattern used for custom is the same as set up in the operating
system. Use the Format pattern boxes to change the format pattern.
n Decimal separator: Set the decimal separator.
n Thousands separator: Set the thousands separator.
n Format pattern: Set the number format pattern.
n Reset pattern: Click to reset to default pattern.
o Measure expression: The format pattern is determined by the measure expression. Use this
option to display custom number formatting for a measure in a visualization.
l Label: Set a label for the Width by property.
l Line size width range: If you are using Width by, set the minimum and maximum width of the lines.
l Line width: Set the width of the lines.
l Range: Set the value limits for line width.
n Auto: The line width range maps to the minimum and maximum value of the Width by field.
n Custom: The line width range maps to the minimum and maximum values set in Minimum
line value and Maximum line value. Values exceeding the minimum and maximum values
will use the same settings as the minimum and maximum values.
l Line curve: Set the curvature of the lines in your line layer.
l Arrow: Set the style of the arrows for your lines. The following options are available:
n None: No arrow is added to your line.
n Forward: An arrow is added in the direction of the last point of the line.
n Backward: An arrow is added in the direction of the first point of the line.
n Both: Arrows are added facing both the first and last point of the line.
l Arrow position: Set the position of the arrow in the line.
Colors (Point layer, area layer, line layer, and chart layer)
l Colors: Select how the map values are colored. There are two settings:
o Auto: Colors the map values using default settings.
o Custom: Manually select the method of coloring your values in the map. The following
methods are available
n Single color: Color the map using a single color (by default blue). When selected, the
following settings are available:
Examples:
o Money: By default, the format pattern used for money is the same as
set up in the operating system. Use the Format pattern box to change
the format pattern.
o Date: By default, the formatting is set to Simple, and you can select the
formatting from the options in the drop-down list. Click the button to
change to Custom formatting, and use the Format pattern box to
change the format pattern.
o Duration: By default, the format pattern used for duration is the same
as set up in the operating system. Duration can be formatted as days,
or as a combination of days, hours, minutes, seconds and fractions of
seconds. Use the Format pattern box to change the format pattern.
o Custom: By default, the format pattern used for custom is the same as
set up in the operating system. Use the Format pattern boxes to
change the format pattern.
n Decimal separator: Set the decimal separator.
n Thousands separator: Set the thousands separator.
n Format pattern: Set the number format pattern.
n Reset pattern: Click to reset to default pattern.
o Measure expression: The format pattern is determined by the measure
expression. Use this option to display custom number formatting for a
measure in a visualization.
l Color scheme: Select a color scheme from the following options:
o Sequential gradient: The transition between the different color groups
is made using different shades of colors. High measure values have
darker hues.
o Sequential classes: The transition between the different color groups
is made using distinctly different colors.
o Diverging gradient: Used when working with data that is ordered from
low to high, for instance, to show the relationship between different
areas on a map. Low and high values have dark colors, mid-range
colors are light.
o Diverging classes: Can be seen as two sequential classes combined,
with the mid-range shared. The two extremes, high and low, are
emphasized with dark colors with contrasting hues, and the mid-range
critical values are emphasized with light colors.
l Reverse colors: When selected, the color scheme is reversed.
l Range: Define the range of values used to color by measure or by expression.
o Auto: The color range is set by the measure or expression values.
o Custom: When custom is selected, you can set the Min and Max
values for the color range.
n By expression: Color the map using an expression to define colors for values.
Supported color formats are: RGB, ARGB, and HSL.
o Expression: Enter the expression that you want to use. Click to open the
expression editor.
o The expression is a color code: Selected by default. In most cases, it is best
to keep this setting. When the selection is cleared, the expression evaluates to
a number, which in turn is plotted against one of the chart gradients.
When the coloring is by measure or by expression, you can set the color range
(Min and Max values). By setting the color range, the colors remain constant
throughout selections and paging. When using color by expression, the option
The expression is a color code must be cleared before you can set the color
range.
l Outline color: Select the color for the outline of the shapes in the map.
l Outline opacity: (Point, chart, and area layers only) Set how opaque the outline of shapes in
the map is.
l Opacity: Set how opaque the layer is over the base map.
Options
General
l Show legend: Display a legend if there is enough space on the map. You can set a size for the
legend or let Qlik Sense automatically determine the size. The placement can be changed using
Legend position.
l Show size legend: (Point, line, and chart layers only) Display a legend for point, line, or chart size.
l Show tooltip: (Point, area, chart, and line layers only) Display a tooltip over the displayed locations
in a layer with the location's value.
l Max visible objects: (Point, area, density, chart, and line layers only) Set the maximum locations to
display in the layer. The maximum number of values in a map layer is 50,000. By default, map
layers display a maximum of 4,000 values for point layers and 1,000 for other layers.
l Show label: (Point, area, chart, and line layers only) Set whether to include a text label with the
layer's locations on your map.
o Labels: Set the label for the locations in this layer.
o Label position: Set the position of the label relative to the location.
o Label font family: Set the style of the font for the label text.
o Label font size: Adjust the size of the label text.
o Label font color: Adjust the color and brightness of the label text.
o Show in zoom levels: Set the label to be visible at all zoom levels or at a select range of
zoom levels.
l Disable selections: If this option is selected, users cannot select data from this layer in the map.
Layer display
l Show layer: Select to show or hide layer.
l Exclude from autozoom: Select to exclude this layer when the map visualization is determining the
automatic zoom level based on the data in the map.
l Show in zoom levels: Set the layer to be visible at all zoom levels or at a select range of zoom
levels.
l Visible drill-down levels: Set which dimensions in the drill-down are displayed with this layer.
l Calculation condition: Specify an expression in this text field to set a condition that needs to be
fulfilled (true) for the object to be displayed. The value may be entered as a calculated formula. For
example: count(distinct Team)<3. If the condition is not fulfilled, the message or expression entered
in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
l Hide calculation message: Select to hide the message or expression entered in Displayed
message.
Tooltip (Point layer, area layer, line layer, and chart layer)
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
l Measures: Click Add measure to show the measure as a tooltip.
o Select a measure from a field using From a field. You can also use an expression to add a
measure. Click to open the expression editor. The existing expression is displayed by
default.
o You can change the label of the measure using Label and the formatting using Number
formatting. If the measure is a master item, you can use the master measure formatting or
turn off formatting and select another format using Number formatting.
l Chart: Click Add chart to add a chart to the tooltip.
o Master items: Select a master visualization from the list to show as a tooltip.
o Chart size: Select the size of the chart container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Edit master item: Appears after you select a master visualization. Click to edit the master
item.
l Images: Click Add an image to add an image to the tooltip.
o Type: Choose the location of the image from either your Media library or from a URL.
o Size: Set the size of the tooltip container. Qlik Sense fits the image into the container.
o Small. Sets the width and height of the container to 50 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Original. Qlik Sense fits the image into the container. If the image is larger than 340
pixels, it is scaled down.
o Media library: Appears when you choose Media library for Type. Click to select an image
from your media library.
o URL: Appears when you choose URL for Type. Enter a URL.
When creating a map that has multiple points of data located in a wide geographical area, you can use drill-
down dimensions to display your layers in a hierarchy. As users make selections in a layer, the dimension
displayed in the layer changes to the next dimension in the drill-down dimension. This enables you to use
display data at different selection levels within your map, ensuring only the most relevant information is
being displayed.
We have a list of all historical sites in the United States National Park Service's National Register of
Historic places. When we add the cities that historical sites are located in to a map as a point layer, we get
accurate locations for our bubbles. It could be made more understandable with better organization,
however.
How then can we organize this information better, especially if we also want to add in another point layer
containing airports to help plan how to get to the different sites?
To solve this problem, we will create a map of the United States of America with a layer of states that drills
down to the county level. Drilling down to the county level will also show the cities that contain the historical
sites as data points, as well as all airports for that state and the surrounding states.
Dataset
This example uses two sets of data:
l Federal listings: National Register of Historic Places listed properties from federal agencies
(federal_listed_20190404.xlsx)
This data set is available from the National Park Service National Register of Historic Places. It
contains data about all registered history places, their location, and the federal agencies associated
to them.
≤ federal_listed_20190404.xlsx.
l Airport data
This table contains data for airports in the United States. It consists of each airport's International Air
Transport Association (IATA) code, city, and state or territory.
You must import this data into Qlik Sense either by adding to a spreadsheet that you then import
into Qlik Sense or by importing the table from this help page as a web file.
Airport data
Airport data
Airport AirportCity AirportState
ABE Allentown/Bethlehem/Easton, PA PA
ABI Abilene, TX TX
ABQ Albuquerque, NM NM
ABR Aberdeen, SD SD
ABY Albany, GA GA
ACT Waco, TX TX
ACV Arcata/Eureka, CA CA
ADQ Kodiak, AK AK
AEX Alexandria, LA LA
AGS Augusta, GA GA
ALB Albany, NY NY
ALO Waterloo, IA IA
AMA Amarillo, TX TX
ANC Anchorage, AK AK
APN Alpena, MI MI
ART Watertown, NY NY
ASE Aspen, CO CO
ATL Atlanta, GA GA
ATW Appleton, WI WI
AUS Austin, TX TX
AVL Asheville, NC NC
AVP Scranton/Wilkes-Barre, PA PA
AZO Kalamazoo, MI MI
BDL Hartford, CT CT
BET Bethel, AK AK
BFL Bakersfield, CA CA
BGR Bangor, ME ME
BHM Birmingham, AL AL
BIL Billings, MT MT
BIS Bismarck/Mandan, ND ND
BJI Bemidji, MN MN
BKG Branson, MO MO
BLI Bellingham, WA WA
BMI Bloomington/Normal, IL IL
BNA Nashville, TN TN
BOI Boise, ID ID
BOS Boston, MA MA
BQK Brunswick, GA GA
BQN Aguadilla, PR PR
BRD Brainerd, MN MN
BRO Brownsville, TX TX
BRW Barrow, AK AK
BTM Butte, MT MT
BTV Burlington, VT VT
BUF Buffalo, NY NY
BUR Burbank, CA CA
BWI Baltimore, MD MD
BZN Bozeman, MT MT
CAE Columbia, SC SC
CAK Akron, OH OH
CDV Cordova, AK AK
CHA Chattanooga, TN TN
CHO Charlottesville, VA VA
CHS Charleston, SC SC
CIC Chico, CA CA
CLD Carlsbad, CA CA
CLE Cleveland, OH OH
CLT Charlotte, NC NC
CMH Columbus, OH OH
CMI Champaign/Urbana, IL IL
CMX Hancock/Houghton, MI MI
COD Cody, WY WY
COU Columbia, MO MO
CPR Casper, WY WY
CRW Charleston/Dunbar, WV WV
CSG Columbus, GA GA
CWA Mosinee, WI WI
CVG Cincinnati, OH KY
DAL Dallas, TX TX
DAY Dayton, OH OH
DBQ Dubuque, IA IA
DCA Washington, DC VA
DEN Denver, CO CO
DHN Dothan, AL AL
DIK Dickinson, ND ND
DLH Duluth, MN MN
DRO Durango, CO CO
DTW Detroit, MI MI
EGE Eagle, CO CO
EKO Elko, NV NV
ELM Elmira/Corning, NY NY
ELP El Paso, TX TX
EUG Eugene, OR OR
EWR Newark, NJ NJ
EVV Evansville, IN IN
FAI Fairbanks, AK AK
FAR Fargo, ND ND
FAT Fresno, CA CA
FAY Fayetteville, NC NC
FCA Kalispell, MT MT
FLG Flagstaff, AZ AZ
FNT Flint, MI MI
FOE Topeka, KS KS
GCC Gillette, WY WY
GEG Spokane, WA WA
GGG Longview, TX TX
GNV Gainesville, FL FL
GPT Gulfport/Biloxi, MS MS
GRK Killeen, TX TX
GSP Greer, SC SC
GTR Columbus, MS MS
GUC Gunnison, CO CO
GUM Guam, TT TT
HDN Hayden, CO CO
HIB Hibbing, MN MN
HLN Helena, MT MT
HNL Honolulu, HI HI
HOB Hobbs, NM NM
HOU Houston, TX TX
HSV Huntsville, AL AL
IAD Washington, DC VA
IAH Houston, TX TX
ICT Wichita, KS KS
ILG Wilmington, DE DE
ILM Wilmington, NC NC
IND Indianapolis, IN IN
ISN Williston, ND ND
ISP Islip, NY NY
ITO Hilo, HI HI
JAC Jackson, WY WY
JAN Jackson/Vicksburg, MS MS
JAX Jacksonville, FL FL
JLN Joplin, MO MO
JNU Juneau, AK AK
KOA Kona, HI HI
KTN Ketchikan, AK AK
LAN Lansing, MI MI
LAR Laramie, WY WY
LBB Lubbock, TX TX
LEX Lexington, KY KY
LFT Lafayette, LA LA
LIH Lihue, HI HI
LNK Lincoln, NE NE
LRD Laredo, TX TX
LSE La Crosse, WI WI
LWS Lewiston, ID ID
MAF Midland/Odessa, TX TX
MCO Orlando, FL FL
MDT Harrisburg, PA PA
MDW Chicago, IL IL
MEM Memphis, TN TN
MFE Mission/McAllen/Edinburg, TX TX
MFR Medford, OR OR
MGM Montgomery, AL AL
MHT Manchester, NH NH
MIA Miami, FL FL
MKE Milwaukee, WI WI
MKG Muskegon, MI MI
MLB Melbourne, FL FL
MLI Moline, IL IL
MLU Monroe, LA LA
MOB Mobile, AL AL
MOD Modesto, CA CA
MOT Minot, ND ND
MQT Marquette, MI MI
MRY Monterey, CA CA
MSN Madison, WI WI
MSO Missoula, MT MT
MSP Minneapolis, MN MN
MTJ Montrose/Delta, CO CO
OAK Oakland, CA CA
OGG Kahului, HI HI
OMA Omaha, NE NE
OME Nome, AK AK
ONT Ontario, CA CA
ORD Chicago, IL IL
ORF Norfolk, VA VA
ORH Worcester, MA MA
OTZ Kotzebue, AK AK
PAH Paducah, KY KY
PDX Portland, OR OR
PHL Philadelphia, PA PA
PHX Phoenix, AZ AZ
PIA Peoria, IL IL
PIH Pocatello, ID ID
PIT Pittsburgh, PA PA
PNS Pensacola, FL FL
PSC Pasco/Kennewick/Richland, WA WA
PSE Ponce, PR PR
PSG Petersburg, AK AK
PVD Providence, RI RI
PWM Portland, ME ME
RDD Redding, CA CA
RDM Bend/Redmond, OR OR
RDU Raleigh/Durham, NC NC
RHI Rhinelander, WI WI
RIC Richmond, VA VA
RNO Reno, NV NV
ROA Roanoke, VA VA
ROC Rochester, NY NY
ROW Roswell, NM NM
RST Rochester, MN MN
SAV Savannah, GA GA
SCC Deadhorse, AK AK
SDF Louisville, KY KY
SEA Seattle, WA WA
SGF Springfield, MO MO
SHV Shreveport, LA LA
SIT Sitka, AK AK
SMF Sacramento, CA CA
SPI Springfield, IL IL
SRQ Sarasota/Bradenton, FL FL
STX Christiansted, VI VI
SWF Newburgh/Poughkeepsie, NY NY
SYR Syracuse, NY NY
TLH Tallahassee, FL FL
TOL Toledo, OH OH
TPA Tampa, FL FL
TTN Trenton, NJ NJ
TUL Tulsa, OK OK
TUS Tucson, AZ AZ
TXK Texarkana, AR AR
TYR Tyler, TX TX
TYS Knoxville, TN TN
VLD Valdosta, GA GA
VPS Valparaiso, FL FL
WRG Wrangell, AK AK
XNA Fayetteville, AR AR
YAK Yakutat, AK AK
YUM Yuma, AZ AZ
Instructions
Once you have loaded the data sets into a new app in Qlik Sense, you can begin building your map. To
make the example map, you must complete the following tasks:
Do the following:
Do the following:
Do the following:
Do the following:
Do the following:
Do the following:
1. In the assets panel, drag and drop a filter pane into the sheet.
2. Click Add dimension.
3. Add a filter pane containing the field Resource.
Some WMS sources include layers with transparency. With these sources, you can overlay the WMS
background layer on top of a base map or other layers. Images can also be placed over other background
layers. This enables you to create more complex base maps for your data.
Whether or not an WMS transparency layer supports transparency is dependent on the WMS
source.
In this map example, a custom TMS is used in a background layer. Two WMS background layers are
placed on top, using WMS endpoints from the National Ocean and Atmospheric Administration. The first
contains sea temperature data. The second contains 24-hour rainfall data. A point layer containing cities is
overlaid these background layers.
Map chart with a point layer overlaid on a TMS background layer and two WMS background layers
Dataset
This example uses a single table for data, Cities, with an external TMS and WMS data from external
sources. You can import the two tables into your app using the web file connector.
Cities
Cities
Cities
Annapolis, Maryland
Atlanta, Georgia
Augusta, Maine
Austin, Texas
Boise, Idaho
Cities
Boston, Massachusetts
Cheyenne, Wyoming
Columbus, Ohio
Denver, Colorado
Dover, Delaware
Frankfort, Kentucky
Harrisburg, Pennsylvania
Hartford, Connecticut
Helena, Montana
Honolulu, Hawaii
Indianapolis, Indiana
Jackson, Mississippi
Juneau, Alaska
Lansing, Michigan
Lincoln, Nebraska
Madison, Wisconsin
Montgomery, Alabama
Montpelier, Vermont
Nashville, Tennessee
Olympia, Washington
Phoenix, Arizona
Cities
Richmond, Virginia
Sacramento, California
Salem, Oregon
Springfield, Illinois
Tallahassee, Florida
Topeka, Kansas
This example adds layers so that they are layered on top of each other in the final order. If you
add these layers in a different order, you click and drag layers into the correct order you want in
Layers.
Do the following:
1. Add the table Cities to your app. You can copy and paste the table using manual entry or you can
import the table into your app using the web file connector.
2. In a sheet, add a map chart.
3. In Map settings, set Base map to None.
4. Add a background layer and do the following:
l In Data, do the following:
l For Format, select TMS.
l For URL, enter https://a.tile.openstreetmap.org/${z}/${x}/${y}.png.
l For Attribution, enter © OpenStreetMap contributors.
l In Options, do the following:
l Set Show legend to None.
5. Add a background layer and do the following:
This example map chart displays an office floor plan with a point layer. Each bubble is positioned over an
employee's desk. The weekly average of customer issues handled per day by the employee determines
the size and color of each bubble.
Map example with floor plan image background with a point layer showing employees sized by the number of
customer issues they have resolved
This example hides the default scale. Images do not have a consistent size scale. Image size in a map
background layer is also dependent on what coordinates the user sets for the corners of the image.
Dataset
This example uses two tables and a background image. You can import the two tables into your app using
the web file connector.
CustomerIssues
CustomerIssues
Date EmployeeNumber CustomerIssues
8/1/2019 1 24
8/1/2019 2 31
8/1/2019 3 21
8/1/2019 4 42
8/1/2019 5 24
8/1/2019 6 40
8/1/2019 7 40
8/1/2019 8 19
8/1/2019 9 23
8/1/2019 10 47
8/1/2019 22 38
8/1/2019 23 37
8/1/2019 24 31
8/1/2019 25 13
8/1/2019 26 11
8/2/2019 1 35
8/2/2019 2 31
8/2/2019 3 33
8/2/2019 4 14
8/2/2019 5 24
8/2/2019 6 33
8/2/2019 7 40
8/2/2019 8 14
8/2/2019 9 44
8/2/2019 10 24
8/2/2019 11 37
8/2/2019 12 39
8/2/2019 13 49
8/2/2019 14 16
8/2/2019 15 42
8/3/2019 1 16
8/3/2019 2 34
8/3/2019 3 15
8/3/2019 4 44
8/3/2019 5 49
8/3/2019 6 18
8/3/2019 7 16
8/3/2019 8 41
8/3/2019 9 27
8/3/2019 10 46
8/3/2019 11 21
8/3/2019 12 49
8/3/2019 13 38
8/3/2019 14 30
8/3/2019 15 48
8/3/2019 16 17
8/3/2019 17 42
8/3/2019 18 48
8/3/2019 19 44
8/3/2019 20 44
8/4/2019 6 50
8/4/2019 7 41
8/4/2019 8 14
8/4/2019 9 37
8/4/2019 10 39
8/4/2019 11 28
8/4/2019 12 35
8/4/2019 13 24
8/4/2019 14 19
8/4/2019 15 25
8/4/2019 16 26
8/4/2019 17 23
8/4/2019 18 45
8/4/2019 19 48
8/4/2019 20 36
8/4/2019 21 40
8/4/2019 22 21
8/4/2019 23 10
8/4/2019 24 42
8/4/2019 25 35
8/5/2019 11 41
8/5/2019 12 35
8/5/2019 13 48
8/5/2019 14 36
8/5/2019 15 36
8/5/2019 16 37
8/5/2019 17 31
8/5/2019 18 44
8/5/2019 19 21
8/5/2019 20 28
8/5/2019 21 13
8/5/2019 22 10
8/5/2019 23 50
8/5/2019 24 35
8/5/2019 25 11
8/5/2019 26 39
8/6/2019 1 26
8/6/2019 2 14
8/6/2019 3 45
8/6/2019 4 27
8/6/2019 16 14
8/6/2019 17 20
8/6/2019 18 23
8/6/2019 19 11
8/6/2019 20 23
8/6/2019 21 31
8/6/2019 22 48
8/6/2019 23 39
8/6/2019 24 50
8/6/2019 25 47
8/6/2019 26 40
8/7/2019 1 49
8/7/2019 2 39
8/7/2019 3 16
8/7/2019 4 28
8/7/2019 5 46
8/7/2019 6 37
8/7/2019 7 36
8/7/2019 8 15
8/7/2019 9 18
8/7/2019 21 41
8/7/2019 22 26
8/7/2019 23 25
8/7/2019 24 34
8/7/2019 25 50
8/7/2019 26 41
EmployeeData
EmployeeData
Employee EmployeeNumber Latitude Longitude
Nehru Pollard 1 2.1 -2.1
Duncan Bell 2 1.675 -2.1
Arthur Miller 3 2.1 -1.6
Latifah Randall 4 1.675 -1.6
Glenna Giles 5 2.1 -1.1
Chaim Gates 6 1.675 -1.1
Elijah Mcgowan 7 2.1 -0.585
Serina Richards 8 1.675 -0.585
Nora Odonnell 9 2.1 0.595
Fiona Craig 10 1.675 0.595
Background image
Example background image
Do the following:
1. Add the data sources to your app and associate the tables using the EmployeeNumber fields in
each table.
2. In a sheet, add a map chart.
3. In Map settings, do the following:
l Change Base map to None.
l Change Projection to User defined (degrees).
4. In Appearance > Presentation, do the following:
l Toggle the Scale bar to Off.
l Set Limit zoom levels to Custom and set the zoom to 7x zoom - 8x zoom.
5. Add a background layer to the map chart and in Data, do the following:
l In Format, select Image.
l Set the URL to https://help.qlik.com/en-
US/sense/Subsystems/Hub/Content/Resources/Images/ui_map-image-background-
example.png.
l Set the Top left corner to 2.5 for Top (latitude) and -4.1 for Left (longitude).
l Set the Bottom right corner to -2.5 for Bottom (latitude) and 4.1 for Right (longitude).
6. Add a point layer to the map chart and do the following:
l In Data, add Employee as the field.
l In Location, select Latitude and longitude fields. Set Lat as the Latitude field and Long as
the Longitude field.
l In Size & Shape, set Size byAvg(CustomerIssues).
l In Color, do the following:
l Set Color to Custom and color By measure.
l Select Avg(CustomerIssues) as the measure.
l Select Diverging classes as the color scheme.
The following example explains how to make a map with the focus locked on a single region and with a
custom maximum zoom level.
The map chart with panning limited to just the region of interest
This map has set a pan limit so users cannot pan the focus of the map visualization away from the region of
interest. Users can drill down between separate map layers, but they cannot scroll outside of the initial
view.
This map visualization uses a point layer and an area layer with two drill-down dimensions. One drill-down
dimension enables the area layer to display counties after states are selected. The other drill-down
dimension enables the point layer to display cities as a points after a state is selected in the area layer.
A zoom limit is applied to the map chart. When a state is selected in the area layer, the map drills down to
display the counties in the area layer and the cities in a separate point layer. The map remains zoomed a
level appropriate for a general regional overview.
Dataset
This example uses two sets of data. You must import this data into Qlik Sense. You can add the data to a
spreadsheet and import it into Qlik Sense. You can also import the table from this help page as a web file.
City data
Sample city data
City City Code County State Latitude Longitude
Customer
Sample customer data
Customer Customer Number City Code
ValueClick 10025878 1
A&G 10000457 2
Gainunion 10012885 2
Wasabi 10026294 2
Aadast 10000471 3
Relcom 10022978 3
Wayne'sWorld 10026334 3
Ed Stefanov 10010881 5
Gamacles 10013011 5
Onebox 10020907 5
SageGroup 10023511 5
VEI 10026023 5
AboveNet 10000496 6
Bezeq 10005043 6
K 10018518 6
PAGE 10021240 6
Sarcom 10023703 6
Abplus 10000497 7
BF Datacom 10005099 7
Edmark 10010923 7
Overdreams 10021006 7
ABSolute 10000499 8
Elbit Oy 10010990 8
P.C'S 10021111 9
Xcert 10026521 9
Abstract 10000502 10
BidCast 10005620 10
Elucidex 10011052 10
Ganymede 10013080 10
Xyratex 10026868 10
AC Exchange 10001103 11
AC&E 10001263 12
Acara 10001786 12
Big 10005810 12
EMC 10011093 12
Zero G 10027370 12
Acacia 10001784 13
Emergency 10011286 13
Gate9th 10013312 13
PADL 10021239 13
Enterprises 10011355 15
kGS 10019469 15
T&S 10024916 15
Biz-comm 10006836 16
KillerGraffix 10019502 16
T.F.C. 10024918 16
GDC 10013426 17
PageBoy 10021283 17
GEAR 10013538 18
PagePoint 10021286 18
Accidental 10002137 19
Bre-X 10007117 19
FCS 10011600 19
GearSource 10013572 19
PageSites 10021297 19
PageWeavers 10021302 19
T3West 10024930 19
AccessWare 10002136 20
PageWave 10021300 20
Tadpole 10024940 20
Brentano's 10006983 22
Lucky 10020080 22
Take 3 10025022 22
Accrue 10002139 23
C&C 10007134 23
Market 10020181 23
Talarian 10025024 23
Accton 10002140 24
Panasonic 10021350 24
Target 10025052 24
AccuCom 10002142 25
C.O.F. 10007183 25
Ferrari 10011918 25
MaxBan 10020227 25
Taroch 10025063 25
ACCUCOMP 10002144 26
C3 Development 10007253 26
FiberPlex 10011979 26
GURUs 10014059 26
MaXpeed 10020239 26
Panix 10021411 26
Tartanchase 10025086 26
AccuLAN 10002149 27
C3I 10007258 27
FICOM 10012023 27
MAXSTRAT 10020247 27
Paraclipse 10021494 27
HarborGroup 10014238 28
Maxtor 10020256 28
Tatters 10025213 28
Cadtex 10007309 29
HarveyOpolis 10014540 29
Teamaker 10025239 29
Acer 10002154 30
Cajun 10007448 30
Filene’s 10012158 30
HBS 10014802 30
Teammax 10025241 30
CalComp 10007457 31
Filetron 10012161 31
Teamsolve 10025242 31
ACI 10002159 32
Emergent 10011345 32
FIND/SVP 10012305 32
GateMaster 10013332 32
Calypso 10007536 33
Finder 10012328 33
Medics 10020332 33
PayMaxx 10021794 33
Acsior 10002412 34
Camelot IT 10007591 34
Helius 10015325 34
UBF 10025304 34
Camros 10007866 35
Finisar 10012399 35
UK Total.net 10025353 35
ActivCard 10002520 36
Firehole 10012514 36
hesketh.com 10015789 36
Picka 10021804 36
UKnames.net 10025359 36
Active 10002526 37
FireTrans 10012600 37
Nbase 10020491 37
Aberdeen 10000486 38
Ad-vantage 10003687 38
Besicorp 10004516 38
NBTel 10020492 38
QualityLogic 10022166 38
Safe 10023495 38
Ultra-Image 10025418 38
Vectrix 10026009 38
Ad Agency 10003554 39
NBX 10020515 39
Quallaby 10022167 39
Associates 10003749 40
iBEAM 10016780 40
Nematron 10020662 40
Quantum 10022201 40
De Postel 10009669 41
Gaecom 10012799 41
Id 10017290 41
Oki 10020672 41
Rdlabs 10022746 41
Userland 10025737 41
Do the following:
Mekko chart
The mekko chart is suitable for comparing groups, while being able to compare category
items contained within these groups. The dimension axis shows the groups, while the
measure axis shows the normalized percentage value for each category item. The size of
each group shows its value.
In this image, the dimensional groups represent different yearly quarters. The width of each quarter shows
the normalized percentage value of the sum of sales, for that quarter. Each quarter is divided in several
product categories, such as Produce, Canned Products, and Frozen Foods. The height of each product
category corresponds to the normalized percentage value of the sum of sales of that product category,
within that quarter. This allows you to easily compare between product categories inside a specific quarter,
and between different quarters.
Sorting is automatic according to size. By default, the coloring is by dimension, with 12 colors, but that can
be changed in the properties panel. You can decide which dimension to color by. In this example, the
coloring is by product category to clearly distinguish the different categories and how their contribution to
the sales change in each quarter.
If the data set contains negative values, a text message is shown stating that the negative values cannot
be displayed.
When to use it
Use a mekko chart when you need to visualize normalized percentage values of grouped data. Mekko
charts should primarily be used with values that can be aggregated.
Advantages
The mekko chart is easy to read and understand. You get a good comparison between groups, and a
comparison of the impact of categories within each group.
Disadvantages
The mekko chart does not work so well with many dimension values due to the limitation of the axis length.
Mekko charts are not good when there is a big difference in the magnitude of the measure values. Nor is a
mekko chart the right choice when mixing absolute and relative values.
Do the following:
1. From the assets panel, drag an empty mekko chart to the sheet.
2. Click Add dimension and select a dimension or a field. This dimension defines the grouping.
3. Add a second dimension in the order of hierarchy level. The second dimension you add defines the
categories.
4. Click Add measure and select a measure or create a measure from a field.
Each bar corresponds to the first dimension, divided into smaller categories based on the second
dimension. The values of the measures determine the relevant height of the categories inside each bar, as
well as the size of the bars.
When you have created the chart, you may want to adjust its appearance in the properties panel.
Comparing groups and group categories against a measure with a mekko chart
This example shows how to make a mekko chart to compare the sales between different
years as well as the impact specific product groups have on a year's sales, and how that
compares to other years.
Dataset
In this example, we will use two data files available in the Qlik Sense Tutorial - Building an App. Download
and expand the tutorial, and the files are available in the Tutorials source folder:
l Sales.xls
l Item master.xls
Add the two data files to an empty app, and make sure that they are associated by Item Number.
The dataset that is loaded contains sales data. The Item master table holds the information about the items
ordered, such as product groups.
Measure
We use the sales volume as the measure, by creating a measure in Master items with the name Sales, and
the expression Sum(Sales).
Visualization
We add a mekko chart to the sheet and set the following data properties:
The size of each column represents the volume of sales for each year. The size of the different sections
inside each column represent the volume of sales for each specific product group during that year.
Notice how the sum of all three yearly percentages adds up to 100%. The same applies to the percentages
of the product groups section of each year. This is because the percentages are normalized, so the size of
each section is relevant to the total.
We want to have a better overview of how each product group's sales change from one year to the next.
This is not obvious for product groups such as Baking Goods, Dairy, or Beverages which do not sit side by
side from one column to the next. We want to display a different sorting, one based on the product groups.
1. Date.Year
2. Product Group
3. Sum(Sales)
Discovery
The mekko chart visualizes the normalized percentage of sales per year for different product groups, as
well as the normalized percentage of sales of each year. The visualization is sorted in order of product
group, per year. You can hover the mouse pointer over a product group and view the details.
In the mekko chart we can see that Produce has the highest sales volume throughout the three years.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
n No limitation: The default value.
n Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
n Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
n Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
n Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
o Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
o Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
o Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
n Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
n Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Sorting
Drag the dimensions and measures to set the sorting priority order. The numbers show the order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options. The sorting is either
Ascending or Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
Data handling:
l Calculation condition: Specify an expression in this text field to set a condition that needs to be
fulfilled (true) for the object to be displayed. The value may be entered as a calculated formula. For
example: count(distinct Team)<3. If the condition is not fulfilled, the message or expression entered
in Displayed message is displayed.
l A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
l Show legend: By default set to Off. The legend is displayed if there is enough space. The
placement can be changed in the Legend position setting.
l Show legend title: When selected, the legend title is displayed.
Pie chart
The pie chart displays the relation between values as well as the relation of a single value to
the total. You can use a pie chart when you have a single data series with only positive
values.
In the pie chart, the dimensions form sectors of the measure values. A pie chart can have one dimension
and up to two measures. The first measure is used to determine the angle of each slice in the chart.
Optionally, a second measure can be used to determine the radius of each pie slice. This style of pie chart
is also known as a rose chart.
Sales by product sub group in a pie chart with the average sales per invoice sales determining slice radius
In the pie presentation of the pie chart, negative values in the radius measure are not supported and will be
excluded. Negative values in the radius measure are supported in the donut presentation and will point in
towards the center of the pie chart.
Sales by product sub group in a pie chart with radius measure containing a comparison of sales from the previous
year
When to use it
The primary use of a pie chart is to compare a certain sector to the total. The pie chart is particularly useful
when there are only two sectors, for example yes/no or queued/finished.
We do not recommend that you compare the results of two pie charts with each other.
Advantages
The pie chart provides an instant understanding of proportions when few sectors are used as dimensions.
When you use 10 sectors, or less, the pie chart keeps its visual efficiency.
Disadvantages
It may be difficult to compare different sectors of a pie chart, especially a chart with many sectors.
The pie chart takes up a lot of space in relation to the values it visualizes.
Do the following:
1. From the assets panel, drag an empty pie chart to the sheet.
2. Click Add dimension and select a dimension or a field.
3. Click Add measure and select a measure or create a measure from a field.
After you have created the pie chart, you may want to add a radius measure or adjust its appearance and
other settings in the properties panel.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings. If you want to
delete the dimension, right-click the dimension and select in the dialog. Alternatively, click the
dimension and click .
l Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
l Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
l Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
l Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
l Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
l No limitation: The default value.
l Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
l Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
l Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure. Pie charts require a
measure for Angle, but optionally a measure can be added for Radius, which determines the radius of
each slice of the pie chart.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
l <Measure name>:
o Expression: Click to open the expression editor. The existing expression is displayed by
default.
o Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
o Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
o Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
Examples:
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Sorting
Drag the dimension and measure to set the sorting priority order. The numbers show the order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options:
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling: Calculation condition: Specify an expression in this text field to set a condition that
needs to be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
You can change the styling of the slices and text by clicking on Styling . You can reset your styles by
clicking . Clicking Reset all resets styles in both General and Chart.
l General: General styling controls font styles for titles, subtitles, and footnotes in the chart. For each
option, you can select the font, emphasis style, font size, and color.
l Chart: Chart controls the styling of slices in your chart. The following settings are available:
l Outline width: Select if the pie chart slices should have an outline, and what the width of the
outline should be. Default setting is None.
l Outline color: In the color picker, select the color of the outline. This option is not available if
Outline width is set to None.
l Corner radius: Set the roundness of the corners of the slices.
l Inner radius: Set the inner radius of the chart when it is presented as a donut. This option is
only available when Donut has been selected.
l Reset all: Resets all style editor properties to their default values.
l Value labels:
o Auto: The measure values are displayed as a percentage of the whole.
o Custom: Select how to display the measure values.
n None: No measure values are displayed.
n Share: The measure values are displayed as a percentage of the whole (default
setting).
n Values: The regular measure values are displayed.
l Label measure: Select whether to use the values from the Angle measure or
the Radius measure.
Examples:
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
Pivot table
The pivot table presents dimensions and measures as rows and columns in a table. In a pivot
table you can analyze data by multiple measures and in multiple dimensions at the same
time.
You can rearrange measures and dimensions by pivoting rows and columns.
When to use it
The pivot table is useful when you want to include several dimensions or measures in a single table, and
then want to reorganize them to see different subtotals.
Advantages
The pivot table is very powerful when you want to analyze multiple dimensions and measures at once, and
then reorganize them to get a different perspective on your data. You can expand the rows you are
interested in while keeping the rows in the rest of the table collapsed.
Disadvantages
The pivot table may seem a bit complicated, and does not give insights at a glance.
Do the following:
1. From the assets panel, drag an empty pivot table to the sheet.
2. Click Add dimension and select a dimension or a field.
3. Click Add measure and select a measure or create a measure from a field.
You can adjust appearance and other settings in the properties panel.
Column width is automatically set to keep columns together for improved readability. You can
adjust the width of the dimension column by dragging the header divider. The width of
individual measure columns will still be automatically set. Double-click the header divider to
reset to automatic column width.
In the following pivot table, the dimension Customer has been dragged to the position after Product Group.
The dimension Item Desc has been moved to the position before Product Group. As a consequence, the
dimensions are now sorted by Item, primarily. Focus has shifted from Customer to Item Desc. You can find
out the quantities and sales for each customer by clicking . This will expand a dimension.
By moving the dimension Customer from rows to columns, you retain focus on the dimension Item Desc,
but you also get the distribution of items per customer. The move has made the pivot table more
information dense.
Measure grouping
As you may have noticed, Quantity and Sales are not presented as separate measures in the top column
row. Next to the dimension Customer, you find an item called Values. When you use more than one
measure, they are automatically grouped together forming a measure group, Values. This group can be
added to the rows section or the columns section. The measure group cannot be edited or selected in the
table. You cannot split up the measure item and use one measure as a row and another as a column.
Data
In the data pane, you can add dimensions and measures. You can move items between rows and columns.
You can also change item order inside rows or columns. When you use more than one measure, they are
grouped and a Values item is created.
Sorting
On the sorting pane, you can change the internal order of dimensions and measures.
For example, you have two measures: Quantity and Sales. In the properties pane, under Data> Measures,
Quantity is listed first. If you Sort by first measure in descending order, your table is sorted starting with the
dimension with the highest Quantity.
Pivot table in Edit mode. Sort by first measure has been toggled on.
Limitations:
l This option is only supported if subtotals are calculated. You can calculate subtotals by doing one of
the following:
o In the properties pane, go to Data, and click on a dimension. Toggle on Show totals.
o In the properties pane, go to Appearance > Presentation. Toggle on Indent rows.
l This option is not supported for calculated dimensions.
l This option is only supported if all dimensions are in the Row section and all measures are in the
Column section.
Sort by expression
When sorting by expression, the expression is only applied to the first dimension of a pivot table.
Subsequent dimensions are sorted in the same order as the first dimension.
Global grouping
Global grouping lets you create a limited data set, and within that data set, single out values that you want
to focus on. For example: the best quarters, the top sales people, or the worst selling products.
Example:
In the following pivot table, no limitation is applied. The values are sorted on Sales, descending. The list is
long and the values for 2013 are not shown.
In the following pivot table, a limitation has been applied to the (inner) dimension Sales Rep Name, so that
only the top five sales representatives for the years 2013 and 2014 are shown.
The next step is to select global grouping in the properties panel. The option Global grouping is only
available after you have applied a limitation on the dimension.
When global grouping is selected, the limitation on the top five sales representatives is applied again, but
this time the dimension Year is ignored. The five sales representatives with the highest sales (either in
2013 or 2014) are the only ones that will be presented in the final pivot table.
The following image shows the six highest results for 2014 and 2013. The top four results are from 2014,
but the fifth (John Greg) is from 2013. Because five other sales representatives have higher sales than
Brenda Gibson (who was number five in 2014), she is removed.
The following image shows the pivot table with global grouping applied. The pivot table only contains the
sales results for the top five sales representatives. Even though Brenda Gibson had a better result in 2014
than John Greg, his result for 2013 qualified him for the top five list.
Do the following:
Straight table
In the following table, you have:
The table shows food product sales. If you want to rearrange the data to simplify analysis, your options are
limited. You can change the order of the columns, but that does not improve the overview. You can also set
the sorting order, either in the sorting section in the properties panel, or by clicking the dimension columns.
However, the problem persists. The customers, product groups, and items are all displayed more than
once. It is not possible to get a good summary of the data.
Pivot table
We add a pivot table to the sheet and use the same info:
Discovery
As you can see, the pivot table presents the data in a much more condensed way. Compared to the regular
table, the number of rows has been halved and the number of columns is three instead of five.
One of the advantages of a pivot table is the interchangeability: the ability to move row items to columns
and column items to rows. You can rearrange the data and have several different views of the same data
set. You can move dimensions and measures to bring forward data of interest and hide data that is either
too detailed, or irrelevant to the analysis.
The pivot table shows the dimensions Customer, Product Group, and Item Desc, and the measures
Quantity and Sales. In this view, you have a summary of quantity and sales for each customer. If you want
to know which items and product groups that the customers bought, you can expand the customer fields by
clicking . A icon indicates that a field can be further expanded and present more details, while a icon
indicates that the field can be collapsed, to reduce the number of fields and details.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Dimensions
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
n No limitation: The default value.
n Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
n Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
n Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
n Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
o Show column if: You can show or hide a column depending on if a condition is true or false.
The column is shown only if the expression in this field is evaluated as true. If this field is
empty, the column is always shown. You can use this to require a field selection before
calculating and showing large amounts of data.
o Background color expression: Enter an expression for the background color. The text color
automatically changes to white when a dark background color is used.
o Text color expression: Enter an expression for the text color. If you use the same
expression as in the background color, the text will not be visible.
o Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
o Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
n Add: Click Add to open a list of available Dimensions and Fields. Select the
dimension or field that you want to use.
You can also click to create a dimension in the expression editor . To edit only this
instance of the dimension, click to unlink the dimension from the master item.
o Global grouping: If a limitation is set, you can use global grouping.
o Show totals: Adds a top row in the pivot table showing the total value of the underlying rows.
Show totals is not available for dimensions (except the first one) when Indent rows is
selected in the Appearance property.
o Totals label: Enter a label for the totals row.
o Text alignment: When set to Custom, you can select how to display the content: Left,
Center, or Right. If Text alignment is set to Auto, the alignment is automatically aligned,
depending on the content.
o Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measure
l <Measure name>: Click the measure to open the measure settings.
If you want to delete the measure, right-click the measure and select in the dialog. Alternatively,
click the measure and click .
o Expression: Click to open the expression editor.The existing expression is displayed by
default.
o Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
o Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
o Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
data load editor.
The following number formats are available:
n Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
n Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
o Background color expression: Enter an expression for the background color. The text color
automatically changes to white when a dark background color is used.
o Text color expression: Enter an expression for the text color. If you use the same
expression as in the background color, the text will not be visible.
o Text alignment: When set to Custom, you can select how to display the content: Align left or
Align right. If Text alignment is set to Auto, the alignment is automatically aligned left or
right, depending on the content.
o Master item: Create a master measure based on the measure expression by clicking Add
new. If the measure is already linked to a master item, you can update the master item by
clicking Edit. All instances of the linked dimension will be updated.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Sorting
The Sort by first measure toggle will sort dimension values by the numeric value of the first measure. This
sort order will affect all dimensions, and take precedence before any other sort order defined under the
dimensions. See: Pivot table (page 347).
Drag the dimensions and measures to set the sorting priority order. The numbers show the order.
Click the dimension or measure to expand sorting options. Toggle Sorting to switch to Custom sorting. The
following list shows the internal sorting priority order and sorting options. The sorting is either Ascending or
Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
The expression is only applied to the first dimension of a pivot table. Subsequent
dimensions are sorted in the same order as the first dimension.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in the
presentation. If there is more than one measure value, all the measure values must have the value
‘0’ to be excluded from the presentation.
l Calculation condition: Specify an expression in this text field to set a condition that needs to be
fulfilled (true) for the object to be displayed. The value may be entered as a calculated formula. For
example: count(distinct Team)<3. If the condition is not fulfilled, the message or expression entered
in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression with the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
l Styling: Customize the styling of the pivot table, overriding the app theme. You can add custom
header and content font sizes and colors. You can set rows to be highlighted when hovered over
and set colors for the row and font. You can also set the size of the scrollbar.
l Fully expanded: When selected, all values in the pivot table are displayed.
l Indent rows: When selected, an indentation is added to the beginning of each row.
Scatter plot
The scatter plot presents pairs of values from two or three measures.
This is useful when you want to show data where each instance has two numbers, for example, the
relationship between Sales and Quantity per Customer. In the scatter plot below, a third measure (Cost) is
used to generate the bubble size.
Scatter plot displaying the relationship between Sales and Quantity per Customer.
The scatter plot presents values from different measures over one dimension as a collection of points. In
most charts, you find your dimension on one of the axes, but for a scatter plot, the dimension is
represented by the points in the chart, and the measures are found on each of the two axes. When a third,
optional, measure is used, its value is reflected in the bubble size. If you are analyzing large data sets and
view compressed data, the density of the data points is reflected by color.
When to use it
The scatter plot helps you find potential relationships between values, and to find outliers in data sets. The
scatter plot is useful when you want to show data where each instance has at least two metrics, for
example, average life expectancy and average gross domestic product per capita in different countries.
Advantages
The scatter plot is a great way to visualize the correlation of two or more measures at the same time. The
third measure is an efficient way of differentiating between values and simplifying the identification of, for
example, large countries, large customers, large quantities, and so on.
Disadvantages
The scatter plot may be difficult to understand for an inexperienced user, because it has measure value on
both axes, and the third, optional, measure adds complexity to the interpretation. Make sure a novice can
interpret the scatter plot correctly. Using descriptive labels is a good way to make the visualization easier to
interpret.
Values may be placed on top of each other and are then not visible until you zoom in.
In a scatter plot you need one dimension and at least two measures. You can have maximum one
dimension and three measures, where the third measure is visualized as bubble size.
Do the following:
1. From the assets panel, drag an empty scatter plot to the sheet.
2. Click Add dimension and select a dimension or a field.
3. Click Add measure and select a measure or create a measure from a field.
4. Click Add measure and select a measure or create a measure from a field.
5. Optionally, if you want bubble size to be set according to a third measure:
Click Add measure and select a measure or create a measure from a field.
When you have created the scatter plot, you may want to adjust its appearance and other settings in the
properties panel.
Display limitations
Large data sets in scatter plots
If you have a scatter plot with large amounts of data (more than 1000 data points) Qlik Sense uses an
algorithm to create an overview of the data, as shown in the scatter plot below. However, if you zoom or
make selections so that the number of displayed data points is reduced to less than 1000 data points, the
data will be shown as individual bubbles. This switch between compressed view and bubble view is done
automatically. The density of the data points is reflected by color.
Zooming and panning is not possible when you have made a selection in the compressed data view.
You can change the compression resolution in the visual exploration menu or in the properties panel.
Coloring
Compressed scatter plots are always auto-colored by the primary data color. That means that any custom
color definition made will not affect compressed data.The density of the data points is reflected by color.
More dense data will be displayed in a darker color.
However, if you zoom or make selections so that the number of displayed data points is reduced to less
than 1000 data points, the data will be colored as defined.
Dataset
In this example, we'll use two data files available in the Qlik Sense Tutorial - Building an App. Download
and expand the tutorial, and the files are available in the Tutorials source folder:
l Sales.xls
l Sales rep.csv
Add the two data files to an empty app, and make sure that they are associated by Sales Rep ID - Sales
Rep Number.
The dataset that is loaded contains sales data. The Sales rep table holds the information about the sales
persons.
Measures
We need two measures that we create in Master items:
l AverageSales with the expression Avg(Sales). This is the average of the sales value for all orders.
l AverageMargin with the expression Avg(Margin/Sales). This is the average of the sales margin for
all orders.
Visualization
We add a scatter plot to the sheet and set the following data properties:
But we also want to have information about the total sales for each sales person, by adding the third
measure Avg(Sales). The size of each bubble reflects the total sales for each sales person.
Discovery
The scatter plot visualizes the average sales versus average margin for each sales person, and we can
see which sales persons distinguish themselves in performance. You can hover the mouse pointer over a
sales person and view the details.
In the chart we can see that Lee Chin has the highest average sale value. Stewart Wind has the largest
total sales volume, followed by Judy Thurman. Cheryle Sincock has a significantly smaller average margin
than other sales persons, while outperforming most of them in average sales volume.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l <Measure name>:
o Expression: Click to open the expression editor. The existing expression is displayed by
default.
o Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
o Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
o Number formatting: Different options for formatting the measure values. If you want to
change the number format at app level, and not just for a single measure, it is better to do
that in the regional settings, that is, in the SET statements at the beginning of the script in the
data load editor.
The following number formats are available:
n Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
n Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Add-ons
X-axis reference lines:
Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in the
presentation. If there is more than one measure value, all the measure values must have the value
‘0’ to be excluded from the presentation.
l Calculation condition: Specify an expression in this text field to set a condition that needs to be
fulfilled (true) for the object to be displayed. The value may be entered as a calculated formula. For
example: count(distinct Team)<3. If the condition is not fulfilled, the message or expression entered
in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large amount of
data. You can use the calculation condition to hide an object until the user has filtered the data to a
more manageable level by applying selections. Use the Displayed message property to guide the
user to filter the data.
Regression lines:
Appearance
General
l Show titles: On by default in all visualizations except filter panes, KPIs, and text & image
visualizations.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
l Navigation: By default, off. When set to Auto, the navigation tool is displayed, with options to pan
and zoom.
l Bubble size: Set the size of the data point bubbles.
For a scatter plot with two measures, this sets the uniform size of all bubbles.
For a scatter plot with three measures, this sets the scale of the bubble sizes. In a scatter plot with
three measures, the third measure controls the size of each bubble.
l Labels: Select what labels to display, you have three options:
o Auto: The number of labels displayed varies with the size of the visualization.
o All: All labels are displayed. This option may cause labels to overlap.
o None: No labels are displayed.
l Colors: Select how the chart values are colored. There are two settings:
o Auto: Colors the chart values using default settings.
o Custom: Manually select the method of coloring your values in the chart. The following
methods are available:
n Single color: Color the chart using a single color (by default blue). Use the color
picker to change the dimension color.
l Use library colors: Option available when a master dimension used in the
visualization has a color assigned to it. You can select to use the master
dimension color or to disable the master dimension color.
n By dimension: Color the chart by dimension values. By default, 12 colors are used for
the dimensions. The colors are reused when there are more than 12 dimension
values. When selected, the following settings are available:
l Select dimension: Enter a field or expression containing the values to color
objects in this chart.
l Library colors: Select whether to use the master dimension color or to disable
the master dimension color. Option available only when a master dimension
used in the visualization has a color assigned to it.
l Persistent colors: Select to have colors remain the same between selection
states.
l Color scheme: Select 12 colors or 100 colors to be used for the different
values. The 12 colors can all be distinguished by people with color vision
deficiency, but not all of the 100 colors.
n By measure:
l Select measure: Select the measure to use to color your chart.
l Library colors: Select whether to use the master measure color or to disable
the master measure color. Option available only when a master measure used
in the visualization has assigned colors.
l Label: Enter text or an expression for the measure that displays in the legend.
l Color scheme: Select a color scheme from the following options:
o Sequential gradient: The transition between the different color groups
is made using different shades of colors. High measure values have
darker hues.
o Sequential classes: The transition between the different color groups
is made using distinctly different colors.
o Diverging gradient: Used when working with data that is ordered from
low to high, for instance, to show the relationship between different
areas on a chart. Low and high values have dark colors, mid-range
colors are light.
o Diverging classes: Can be seen as two sequential classes combined,
with the mid-range shared. The two extremes, high and low, are
emphasized with dark colors with contrasting hues, and the mid-range
critical values are emphasized with light colors.
l Reverse colors: When selected, the color scheme is reversed.
l Range: Define the range of values used to color by measure or by expression.
o Auto: The color range is set by the measure or expression values.
o Custom: When custom is selected, you can set the Min and Max
values for the color range.
n By expression: Color the chart using an expression to define colors for values.
Supported color formats are: RGB, ARGB, and HSL.
l Expression: Enter the expression that you want to use. Click to open the
expression editor.
l The expression is a color code: Selected by default. In most cases, it is best
to keep this setting. When the selection is cleared, the expression evaluates to
a number, which in turn is plotted against one of the chart gradients.
For more information, see Coloring a visualization (page 578)
When the coloring is by measure or by expression, you can set the color range
(Min and Max values). By setting the color range, the colors remain constant
throughout selections and paging. When using color by expression, the option
The expression is a color code must be cleared before you can set the color
range.
l Show legend: Not available when Single color is selected. By default set to Off. The legend is
displayed if there is enough space. The placement can be changed in the Legend position setting.
l Legend position: Select where to display the legend.
l Show legend title: When selected, the legend title is displayed.
X-axis
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the axis.
l Scale: Set the spacing of the axis scale.
l Range: Select to set the min value, the max value, or both. The min value cannot be larger than the
max value. You can use expressions for the values.
Y-axis
l Labels and title: Select what to display of labels and title.
l Position: Select where to display the axis.
l Scale: Set the spacing of the axis scale.
l Range: Select to set the min value, the max value, or both. The min value cannot be larger than the
max value. You can use expressions for the values.
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
l Measures: Click Add measure to show the measure as a tooltip.
o Select a measure from a field using From a field. You can also use an expression to add a
measure. Click to open the expression editor. The existing expression is displayed by
default.
o You can change the label of the measure using Label and the formatting using Number
formatting. If the measure is a master item, you can use the master measure formatting or
turn off formatting and select another format using Number formatting.
l Chart: Click Add chart to add a chart to the tooltip.
o Master items: Select a master visualization from the list to show as a tooltip.
o Chart size: Select the size of the chart container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Edit master item: Appears after you select a master visualization. Click to edit the master
item.
l Images: Click Add an image to add an image to the tooltip.
o Type: Choose the location of the image from either your Media library or from a URL.
o Size: Set the size of the tooltip container. Qlik Sense fits the image into the container.
o Small. Sets the width and height of the container to 50 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Original. Qlik Sense fits the image into the container. If the image is larger than 340
pixels, it is scaled down.
o Media library: Appears when you choose Media library for Type. Click to select an image
from your media library.
o URL: Appears when you choose URL for Type. Enter a URL.
Table
The table shows several fields simultaneously, where the content of each row is logically
connected. Typically, a table consists of one dimension and several measures.
You only make selections in the dimension columns. All dimension columns have a search icon in the
header.
When to use it
Use a table, when you want to view detailed data and precise values rather than visualizations of values.
Tables are good when you want to compare individual values. Drill-down group dimensions are very
efficient in tables. Within a limited space, you can drill down to the next level of detail and analyze the
updated measure values.
Advantages
You can filter and sort the table in different ways. Many values can be included in a table, and when you
drill down in a table, you make good use of a limited space of the sheet. A table is excellent when you want
to see exact values rather than trends or patterns.
Disadvantages
If the table contains many values, it is difficult to get an overview of how values are related. It is also hard to
identify an irregularity within the table.
Creating a table
You can create a new table on the sheet you are editing.
Do the following:
When you have created the table, you may want to adjust its appearance and other settings in the
properties panel.
Column width is automatically set to keep columns together for improved readability. You can
adjust the width of a column by dragging the header divider. Double-click the header divider to
reset to the default width.
Aligning data
If Text alignment is set to Auto, column data is aligned according to data type: text values are left-aligned
and number values, including date related values, are right-aligned. If you set it to Custom, you can align
the data to the left, center, or right.
l Column sorting: adjust the order of the dimensions and measures from left to right
l Row sorting: adjust the sorting priority order of the rows
l Internal sorting: use the internal sorting order of dimensions and measures
l Interactive sorting: during analysis you can click on a column header to sort the table
Column sorting
By default, the order in which columns are sorted is set by the order in which dimensions and measures are
added to the table. If you add the measure Sales first, it is presented first (leftmost) in the table. The next
dimension or measure that is added is presented in the second column, and so on. The column sorting
order can be changed in the properties panel, under Columns.
Row sorting
By default, rows are sorted by the first added dimension or measure, numeric values descending, text
values ascending. A small arrow under the column header shows by which column the table is sorted.
You can change the row sorting in the properties panel, under Sorting. Drag the dimensions and measures
to change the sorting priority order. In many cases, sorting is not only affected by the first dimension or
measure in Sorting, but also the following ones.
Example:
In the following screenshot, the rows are first sorted by Customer, then by Month, and then by Product
Type. As you can see, the columns Customer and Month have several rows with the same values (A-2-Z
Solutions and Month). The rows in Product Type are ordered alphabetically, but only those that were sold
in January to the customer A-2-Z Solutions are displayed.
By changing the sorting order, so that secondary sorting is by Product Type, followed by Month, all Product
Type items sold to the customer A-2-Z Solutions are presented in alphabetical order, whereas only the
months when they were sold are displayed under Month.
Internal sorting
Each dimension and measure has a default (Auto) internal sorting order, which can be changed. Under
Sorting, click the item you want to change and click the button to switch to Custom sorting. Changes made
to the internal sorting of an item may not have any effect if the sorting is in conflict with an item with higher
priority.
Interactive sorting
During analysis, you can set which column to sort on by clicking the column header. The first click sorts the
table according to the default sorting of the selected item. A second click reverses the sorting order.
Interactive sorting is session based and is not saved. If you want your changes to the sorting to be
persistent, you need to make the changes in the properties panel.
Displaying totals
By default, the totals of numeric values are displayed under the column names. In the properties panel, you
can change this to display the totals at the bottom of a column, or not at all.
When you have added the limits, you can select the color and the symbol of the indicator for each defined
range.
l You can show both the indicator and the measure value by selecting Show values.
l You can set the value color to the same as the indicator color with Apply color to value.
l You can display the indicator to the right or to the left of the value with Indicator position.
Example
In this example, we added a trend indicator to the Sales measure to indicate which values are below the
target value. The indicator limits are:
When you have selected the mode, you can specify the Y-axis of the Mini chart at the bottom of the mini
chart options.
l You can optionally set the Max value color and Min value color, which will highlight the highest and
lowest visible chart values.
l You can optionally set the Highlight first and Highlight last colors, which will highlight the first and
last visible chart values.
You can set the positive and negative color for a Positive/negative mini chart.
Display limitations
Number of rows and columns
In a table, you can have millions of rows and virtually any number of columns with dimensions and
measures. But because huge tables are impractical and hard to manage, the limit for what is practical is far
less than the theoretical maximum. In most cases, it is desirable to see all the columns without scrolling
horizontally.
We recommend that you disable multiline text wrapping in these cases to avoid confusion for the user.
Searching in tables
In a table, you can search the dimension columns, and make selections in the resulting list.
Do the following:
You can confirm the selection of all matching items by pressing Enter.
You can remove the search string by clicking or pressing Esc. The search string is always
removed when you press Enter.
Selections in tables
You can make selections in a table by clicking or drawing in the dimension columns.
Measure values cannot be selected. When you make a selection, it is always the dimension values that
you select. You can only make selections in one column at a time.
To deselect a row, click it. To confirm a selection, click or click outside the visualization. You can also
press Enter. To cancel, click or press Esc. If you confirm, the selection is reflected in all visualizations
associated with the table.
You cannot select dimension values that are null. Null values in a table are presented as dashes (-). Rows
without valid dimension values will not be included in the selection.
Dataset
In this example, we will use a data file available in the Qlik Sense Tutorial - Building an App. Download and
expand the tutorial. The file is available in the Tutorials source folder: Sales.xls
Add the data file to an empty app. The dataset that is loaded contains sales data.
Measure
We use the sales volume as the measure that we create in Master items:
l Sales with the expression Sum(Sales). This is the sum of the sales volume.
Visualization
We add a table to the sheet and set the following data properties:
The following table is created, with columns showing the year, the month, and the sum of sales for each
month.
Make sure to set the Sorting with Year > Month > Sales.
Accumulation
To have our sales data accumulate over one dimension, we need to set an additional data property:
We add this measure twice to reuse it for accumulation. To do this we need to apply a modifier to our Sales
measure.
Do the following:
1. Under Measure: Sales set the Modifier to Accumulation. This will set the measure to accumulate
over one dimension.
2. Set the Modifier>Dimension to Month. This sets the dimension over which the accumulation will
take place.
3. Make sure Across all dimensions is turned off. We want the accumulation to restart at the
beginning of each year.
In Accumulation there is the option to select Show excluded values. When turned on, your
visualization includes any dimensional values that do not have data. This ensures that all
values, including months with no sales data, are counted in the accumulation.
Our table becomes as follows, with the last column showing sales accumulating from one month to the
next, for each year.
It is good practice to have the title of your charts represent their content. So consider changing the titles of
the columns of your table to reflect that the last column contains an accumulation of sales.
Our data for the year 2014 is insufficient as it stops at June. In order to achieve a better comparison
between the accumulated sales of all three years we will choose a more appropriate range of months, from
January to June.
Do the following:
1. Click Done.
2. Select all months from January to June and confirm your selection.
Our table becomes as follows, with the sales accumulating from January to June, inside each year.
Discovery
The table shows the sales volume of each month, grouped into years. By having the sales accumulate
inside each year, we get a better understanding of the volume of sales for each year. We have made a
selection of the months from January to June, to compare the same range of months between the three
years. In the last column of the table we can see that the accumulated sales for 2014 so far have been
higher than the accumulated sales for 2012, but not as high as the ones for 2013.
Dataset
In this example, we will use a data file available in the Qlik Sense Tutorial - Building an App. Download and
expand the tutorial. The file is available in the Tutorials source folder: Sales.xls
Add the data file to an empty app. The dataset that is loaded contains sales data.
Measure
We use the sales volume as the measure that we create in Master items:
l Sales with the expression Sum(Sales). This is the sum of the sales volume.
Visualization
We start by adding a filter pane to the sheet and set the following data properties:
We also add a table to the sheet and set the following data properties:
The following table is created, with columns showing the year, and the sum of sales for each year.
Make sure to set the Number formatting to Money, and the Format pattern to $ #,##0;-$ #,##0.
It is good practice to have the title of your charts represent their content. Additionally, consider changing
with the title of each column to reflect what it represents. The first column that we added is the Year, and
the second column contains the Sales per year.
Relative numbers
We could use the filter pane to select specific product groups and see their yearly sales and their total
sales. That would not provide a good comparison to their contribution. Instead we will use relative numbers
to get percentages as an indication of the product group contribution. By changing the parameters upon
which the relative numbers calculation is based, we will get different contributions and gain more insight.
Do the following:
l In the properties panel right-click on Sales per year and select Duplicate.
Do the following:
1. Under Measure: Sales per year set the Modifier to Relative numbers. This will set the measure to
act as a relative number.
2. Set the Modifier>Selection scope to Current selection. This sets the modifier to be calculated
relative to any selection made.
3. The Modifier>Dimensional scope is set to Disregard dimension by default. This sets the modifier to
be calculated relative to the total.
4. Set the Number formatting to Custom, and the Format pattern to #,##0%.
5. Change the Label to something meaningful such as Contribution to total sales of current selection.
Our table becomes as follows, with the last column showing the contribution of each year to the total sales
of the selected product group.
Do the following:
l In the properties panel right-click on Contribution to total sales of current selection and select
Duplicate.
We will apply the Relative numbers modifier again, but with different properties this time.
Do the following:
1. Set the Modifier>Selection scope to Disregard selection. This sets the modifier to be calculated
disregarding any selection made.
2. The Modifier>Dimensional scope is already set to Disregard dimension. This sets the modifier to
be calculated relative to the total.
3. Change the Label to something meaningful such as Contribution to total sales from all years.
The Number formatting and the Format pattern are already set, since we duplicated the previous
measure.
Our table becomes as follows, with the last column showing the contribution of the selected product group
to the total sales from all three years.
Since we have not made any selections yet, the last two columns have the same values.
Do the following:
l In the properties panel right-click on Contribution to total sales from all years and select Duplicate.
We will apply the Relative numbers modifier again, but with different properties this time.
Do the following:
1. Set the Modifier>Selection scope to Disregard selection. This sets the modifier to be calculated
disregarding any selection made.
2. The Modifier>Dimensional scope is already set to Respect dimension. This sets the modifier to be
calculated relative to each dimensional value.
3. Change the Label to something meaningful such as Contribution to sales of each year.
Our table becomes as follows, with the last column showing the contribution of the selected product group
to the total sales from all three years.
Since we have not made any selections yet, the last column shows the yearly contribution of all product
groups for each year.
Making a selection
We can now start making selections to change our relative numbers to something that provides more
insight.
Do the following:
Discovery
The table shows the relative sales for each year. By having the different contribution columns, using the
relative numbers as a measure modifier, we get a better understanding of the contribution of each product
group to the total sales. From the Contribution to total sales of current selection column we can see that
40% of the Canned Product sales happened in 2012, with a dramatic drop in 2014. The Contribution to
total sales from all years column shows that 8% of the total sales from all three years came from the 2012
sales of Canned Product. The Contribution to sales of each year column also tells us that for 2012 the
Canned Product sales contributed 21% of the sales of that year, and the same applies to the sales of 2014.
Table properties
You can change the layout and formatting of tables in Qlik Sense.
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add column to add a dimension or a measure. Options that are dimmed are not available.
Columns
In the table, the dimensions and measures are presented together under the heading Columns.
Dimension settings
On the Data tab, click Add column and select Dimension to open a list of available Dimensions and
Fields. Select the dimension or field that you want to use.
A dimension can either be selected from the list of already existing Dimensions, or created from the list of
available Fields.
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings. If you want to
delete the dimension, right-click the dimension and select in the dialog. Alternatively, click the
dimension and click .
o Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
o Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
o Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion.
n When set to Image, values that contain an absolute URL of an image display as
images. Users select an Image setting; either Add label or Add URL. When you set
an image setting, only the corresponding option will be displayed.
l Image setting: Add label
l Image label: Enter a descriptive text label for the image that displays as
Alternative Text when the image is hovered over. Note that when the
selected Image Setting is Add label, the dimension must contain the
absolute URL for the image in either the dimension expression or the
data table. The links will be displayed and ordered by the URL (the
absolute URL of the image) expression. Click to open the expression
editor.
l Image setting: Add URL
l Image URL: Enter the URL (the absolute URL of the image) expression
that will display when the image is hovered over. Note that when the
selected Image Setting is Add URL, the user only needs to enter a
label into the dimension expression. The links will be displayed and
ordered by the link label expression. Click to open the expression
editor.
Image size and table layout can be modified by adjusting Row height
settings with Content font size in Styling: Presentation.
o Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
n Others label: Enter a label for the summarized values (when Show others is
selected). You can also use an expression as a label. Click to open the expression
editor.
o Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measure settings
On the Data tab, click Add column and select Measure to open a list of available measures. Select the
measure that you want to use. If you select a field, you are automatically presented with some common
aggregation functions that you can choose between for the measure.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l <Measure name>: Click the measure to open the measure settings. If you want to delete the
measure, click Delete.
o Expression: Click to open the expression editor. The existing expression is displayed by
default.
o Modifier: Selects a modifier for the measure. Options are None, Accumulation, Moving
average, Difference, and Relative numbers.
n Accumulation: Only displayed when Accumulation has been selected as a modifier.
It allows you to accumulate values of your measure over one or two dimensions.
The following options are available:
l Dimension: Selects the dimension on which the accumulation will take place.
If the accumulation is made across multiple dimensions, this will be the first
dimension.
l Across all dimensions: Continues accumulation across all available
dimensions.
l Range: Select whether the accumulation will happen on the Full range, or a
Custom range of the dimension.
l Steps: Only displayed when Range is set to Custom. The number of steps in
the dimension which form an accumulation range. Only zero and positive
integers are accepted.
l Show excluded values: Include excluded values in the accumulation.
l Output expression: Shows the expression used by the modifier.
n Moving average: Only displayed when Moving average has been selected as a
modifier. It allows you to accumulate values of your measure over one or two
dimensions.
The following options are available:
l Dimension: Selects the dimension on which the moving average will take
place. If the moving average is made across multiple dimensions, this will be
the first dimension.
l Across all dimensions: Continues moving average across all available
dimensions.
l Range: Select whether the moving average will happen on the Full range, or a
Custom range of the dimension.
l Steps: Only displayed when Range is set to Custom. The number of steps in
the dimension which form a moving average range. Only zero and positive
integers are accepted.
l Show excluded values: Include excluded values in the moving average.
l Output expression: Shows the expression used by the modifier.
n Difference: Only displayed when Difference has been selected as a modifier. It
allows you to calculate the difference between consecutive values of a measure over
one or two dimensions.
The following options are available:
l Dimension: Selects the dimension on which the difference will take place. If
the difference is made across multiple dimensions, this will be the first
dimension.
l Across all dimensions: Continues difference across all available dimensions.
l Show excluded values: Include excluded values in the difference.
l Output expression: Shows the expression used by the modifier.
n Relative numbers: Only displayed when Relative numbers has been selected as a
modifier. It allows you to calculate percentages relative to a specific selection, relative
to the total, or relative to a field value. The modifier can be calculated over one or two
dimensions.
The following options are available:
l Selection scope: Sets whether the relative numbers are calculated based on
the current selection or a specific field value. You can also disregard the
current selection.
l Dimensional scope: Sets whether the relative numbers are calculated based
on a dimension. You can choose to have the modifier respect all available
dimensions, respect a specific dimension if there are two, or to disregard the
dimensions.
l Output expression: Shows the expression used by the modifier.
l Label: Enter a label for the measure. Measures not saved in Master items are by default displayed
with the expression as label.
l Measure: Only displayed for master items. To edit only this instance of the measure, click to unlink
the measure from the master item.
l Number formatting: Different options for formatting the measure values. If you want to change the
number format at app level, and not just for a single measure, it is better to do that in the regional
settings, that is, in the SET statements at the beginning of the script in the data load editor.
The following number formats are available:
o Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
o Number: By default, the formatting is set to Simple, and you can select the formatting from
the options in the drop-down list. Click the button to change to Custom formatting, and use
the Format pattern box to change the format pattern.
Examples:
l Representation: You can select to show a value (Text) or an indicator (Indicator) or a Mini chart
(Mini chart) or an Image (Image).
The following properties are available if you select Indicator:
o Add limit: Add indicator limits.
o Gradient: Set the indicator color as a gradient according to the limit colors.
o Show values: Show both the value and the indicator.
o Apply color to value: Apply the indicator color to the value. This is only available when Show
values is selected.
o Indicator position: Select which side of the value to display the indicator. This is only
available when Show values is selected.
The following properties are available if you select Mini chart:
o Select dimension: Select a dimension for the Mini chart.
o Mode: Select a visualization mode for the Mini chart. Bars, Dots, Sparkline, and
Positive/negative are available.
o Colors: Set optional colors for the mini chart.
o Show dots: Adds dots to each data point on the sparkline mini chart.
o Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
o Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
o Y-axis: Select what value to use for the Y-axis of the mini chart.
The following properties are available if you select Image:
o Image Setting: Select either Add label or Add URL
o Image setting: Add label
l Image label: Enter a descriptive text label for the image that displays as
Alternative Text when the image is hovered over. Note that when the selected
Image Setting is Add label, the measure expression must contain the
absolute URL for the image in either the measure expression or the data table.
The links will be displayed and ordered by the URL (the absolute URL of the
image) expression. Click to open the expression editor.
o Image setting: Add URL
l Image URL: Enter the URL (the absolute URL of the image) that will display
when the image is hovered over. Note that when the selected Image Setting is
Add URL, the images will be displayed and ordered by the measure label
expression. Click to open the expression editor.
Image size and table layout can be modified by adjusting Row height settings
with Content font size in Styling: Presentation.
l Master item: Create a master measure based on the measure expression by clicking Add new. If
the measure is already linked to a master item, you can update the master item by clicking Edit. All
instances of the linked dimension will be updated.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Qlik Cloud has a default CSP for all users which includes domains that are safe-listed. You can use images
from the following domains without needing to add them to your own content security policy. Images taken
from other sources must have their domains added to the content security policy.
l maps.qlikcloud.com
l ibasemaps-api.arcgis.com
l cdn.pendo.io
l app.pendo.io
l pendo-static-5763789454311424.storage.googleapis.com
l data.pendo.io
l *.gravatar.com *.wp.com *.
l googleusercontent.com
l cdn.qlik-stage.com
l cdn.qlikcloud.com
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Sorting
Drag the dimensions and measures to set the sorting priority order. The numbers show the order.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following list shows the internal sorting priority order and sorting options. The sorting is either
Ascending or Descending.
l Sort by expression: Enter an expression to sort by. Only available for dimensions.
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Add-ons
l Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in
the presentation. If there is more than one measure value, all the measure values must have
the value ‘0’ to be excluded from the presentation.
l Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
Appearance
General
l Show titles: On by default in all visualizations except filter panes, KPIs, and text & image
visualizations.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
l Styling: Customize the styling of the table, overriding the app theme. You can add custom header,
content font sizes, row height (in lines), and colors. You can set rows to be highlighted when
hovered over and set colors for the row and font. You can also set the size of the scrollbar.
l Totals:
o Auto: The totals (the result of the expression), are automatically included at the top of the
table.
o Custom: Select whether to display the totals and where to display them, at the top or bottom.
l Totals label: Set the label for the totals row. You can also use an expression as a label.
l Horizontal scrolling: Use the drop down to choose between:
o Scroll: Enable horizontal scrolling. Use the toggle to freeze the first column when scrolling.
o Column picker: Enable column picker feature. App consumers can change column order in
the table.
l Multiline text wrapping: Enable or disable multiline text wrapping in headers and cells separately.
You can format and color the text and align the paragraphs. The background image has sizing and
positioning options. You can also set the responsive behavior for text and images.
When to use it
The text & image visualization is intended for presentation purposes, and does not support selections.
However, the measures in the text & image visualization are updated when selections are made. Some
typical uses:
Advantages
The text & image visualization contrasts with the other visualizations. You have many options for making
the text & image visualization stand out next to more regular charts.
Disadvantages
You are limited to a few measure values and rather short texts, otherwise the text & image visualization will
be cluttered.
Do the following:
1. From the assets panel, drag an empty text & image chart to the sheet.
2. Click the text & image chart to open the editing toolbar.
3. Add and format text, images, hyperlinks or measures to the text & image chart.
If you double-click a text & image chart in the assets panel, it is added to the sheet immediately.
When you are editing a sheet and the text & image visualization does not have focus, you need to click
twice to open the editing toolbar. In the editing toolbar, you can format text properties such as color, size,
and style, and also align the text. Additionally, you have options for adding links and images.
Creating a link
You can mark a text section and use it for a link.
If you do not add a prefix, http:// is added automatically, assuming that you are adding a web address.
Do the following:
1. Select the text section that you want to use for the link.
2. Click in the editing toolbar to open the link dialog.
3. Enter the web address that you want to link to.
4. Click .
Removing a link
You can remove a link from a text section.
Do the following:
Adding an image
You can add an image through the editing toolbar. You can use one of the default images, or an image of
your own.
Do the following:
Alternatively, right-click the image file you want to add and select Insert.
In the properties panel, you can add a background image, which, for example, can be used
when you want to insert text in the image. The images added through the editing toolbar are not
background images.
Adding a measure
You can add a measure in the following ways:
When you are editing the measure, it is displayed as a token, which can be styled and moved around in the
visualization. You can also apply number formatting to it. When you leave the editor, the measure value is
displayed . Values that cannot be aggregated are shown as a hyphen (-).
Deleting a measure
You can delete a measure in the following ways:
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add measure and select a measure or create a measure from a field.
Measure
On the Data tab, under Measures, click Add measure to open a list of available measures. Select the
measure that you want to add to the visualization. If you select a field, you are automatically presented with
some common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
Examples:
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
Presentation
In the list, set whether text and images should have a responsive behavior. When responsive behavior is
selected, the size of text and images are adjusted to the size of the visualization area. However, they do
not expand beyond their normal size.
Background image
Use background image: Off by default. Click the button to enable selection or removal of a background
image. You can only have one background image at a time.
l Image: Click to open the media library where you can select a background image. To remove the
background image, click .
l Sizing: Set the sizing of the image. With the Auto setting, the image does not scale when the text &
image visualization is resized.
l Position: Select the position of the image.
Treemap
Treemaps display hierarchical data by using nested rectangles, that is, smaller rectangles
within a larger rectangle.
In this image you have several product groups, such as Produce, Canned Products, and Frozen Foods.
Each product group consists of a large rectangle. You can regard the product groups as branches of the
tree. When you select a product group, you drill down to the next level, the product type, for example,
Vegetables, Meat, and Dairy. You can regard the product types as sub-branches of the tree. The branches
have leaves. A leaf node's rectangle has an area proportional to a specified dimension of the data. In this
example, the items Ebony Squash, Bravo Large Canned Shrimp, Red Spade Pimento Loaf, and so on, are
the leaves. The leaf nodes are colored to show a separate dimension of the data.
Sorting is automatic according to size. By default, the coloring is by dimension, with 12 colors, but that can
be changed in the properties panel. When you have more than one dimension, you can decide which
dimension to color by. In this example, the coloring is not by dimension, but by expression (Avg(Margin)), a
calculated measure, and by using this expression, you can see which items have the highest average
margin. The darker the color, the higher the average margin.
If the data set contains negative values, a text message is shown stating that the negative values cannot
be displayed.
When to use it
Use a treemap when space is constrained and you have a large amount of hierarchical data that you need
to get an overview of. Treemaps should primarily be used with values that can be aggregated.
Advantages
Treemaps are economical in that they can be used within a limited space and yet display a large number of
items simultaneously.
When there is a correlation between color and size in the tree structure, you are able to see patterns that
would be difficult to spot in other ways, for example, when a certain color is particularly relevant.
Disadvantages
Treemaps are not good when there is a big difference in the magnitude of the measure values. Nor is a
treemap the right choice when mixing absolute and relative values.
Creating a treemap
You can create a treemap on the sheet you are editing.
Do the following:
3. Click Add measure and select a measure or create a measure from a field. The measure will define
the size of a rectangle.
4. Add more dimensions in the order of hierarchy level . The last dimension you add defines the
rectangles. The other dimensions define the grouping of the rectangles.
In a treemap you need at least one dimension and one measure, but to make full use of the treemap it is
preferable to have two or three dimensions. You can only have one measure, but up to 15 dimensions. We
do not recommend using more than three dimensions as the treemap may become unmanageable.
When you have created the treemap, you may want to adjust its appearance and other settings in the
properties panel.
Display limitations
When displaying large amounts of data in a treemap , there may be cases when not each dimension value
within a rectangle is displayed with correct color and size. These remaining values will instead be
displayed as a gray, striped area. The size and total value of the rectangle will still be correct, but not all
dimension values in the rectangle will be explicit.
To remove the gray areas, you can either make a selection or use dimension limits in the properties panel.
We will look at sales numbers for different products which are categorized in four levels.
l Product group
l Product sub group
l Product item
Dataset
In this example, we'll use two data files available in the Qlik Sense Tutorial - Building an App. Download
and expand the tutorial, and the files are available in the Tutorials source folder:
l Sales.xlsx
l Item master.xlsx
Add the two data files to an empty app, and make sure that they are associated by Item Number.
The dataset that is loaded contains sales data for food and beverage products. The Item Master table
holds the information about the product categories.
Visualization
We add a tree map to the sheet and set the following dimensions and measures:
A treemap is created, with a rectangle for each product item. Rectangles are sized according to sales and
grouped according to Product Group and Product Sub Group.
But we also want to add some more information to the chart. The rectangles are colored by the product
group dimension, but we want color them by margin to also see which items are most profitable. You can
do this in Appearance > Colors and legend.
We also want to see the sales values in the chart. You can turn them on with Value labels Appearance >
Presentation.
Discovery
We can see in the chart that Produce has the largest sales, followed by Canned Products. The coloring by
margin allows you to identify product items or groups that stand out. You can drill down in the tree by
selecting a product group.
Here we have selected Produce, then Fresh Fruit. Tell Tale Red Delcious Apples are the number one
sellers, but margins are higher on Ebony Red Delicious Apples.
Treemap properties
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
Dimensions
On the Data tab, under Dimensions, click Add to open a list of available Dimensions and Fields. Select
the dimension or field that you want to use.
You can also click to create a dimension in the expression editor. Another way to create a dimension is to
type the expression directly in the text box. Expressions added in this way must begin with an equals sign
(=). Here is an example with a calculated dimension:
You can edit a dimension that is linked to a master item by updating the master item, or by unlinking the
dimension from the master item and editing only this instance.
l <Dimension name>: Click the dimension name to open the dimension settings.
If you want to delete the dimension, right-click the dimension and select in the dialog. Alternatively,
click the dimension and click .
l Dimension: Only displayed for master items. To edit only this instance of the dimension,
click to unlink the dimension from the master item.
l Field: If you have added a field from Fields in the assets panel, the field name is
automatically displayed. Click to open the expression editor.
l Label: Enter a label for the dimension. If you have added a field from Fields in the assets
panel, the field name is automatically displayed.
l Include null values: When selected, the measure values of all null dimensions are
summarized and presented as one dimension item in a visualization. All null values are
displayed as gaps or dashes (-).
l Limitation: Limits the number of displayed values. When you set a limitation, the only
dimensions displayed are those where the measure value meets the limitation criterion:
l No limitation: The default value.
l Fixed number: Select to display the top or bottom values. Set the number of values.
You can also use an expression to set the number. Click to open the expression
editor.
l Exact value: Use the operators and set the exact limit value. You can also use an
expression to set the number. Click to open the expression editor.
l Relative value: Use the operators and set the relative limit value in percent. You can
also use an expression to set the number. Click to open the expression editor.
l Calculated on measure: <measure>: Shown when you make a limitation to the
number of displayed dimension values. The dimensions whose measure value meet
the criterion are displayed.
l Show others: When selected, the last value in the visualization (colored gray), summarizes
all the remaining values. When some kind of limitation is set (Fixed number, Exact value, or
Relative number), the value counts as 1 in that setting. If, for example, Exact value is used
and set to 10, the tenth value is Others.
l Other label: Enter a label for the summarized values (when Show others is selected). You
can also use an expression as a label. Click to open the expression editor.
l Master item: Create a master dimension based on the dimension expression by clicking Add
new. If the dimension is already linked to a master item, click Edit to update the master item.
All instances of the linked dimension will be updated.
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag the dimensions to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
You can drag a field from Measures to Dimensions to change how it is used. Moving a measure to
Dimensions removes its aggregation. You cannot drag a master measure to Dimensions. You can only
drag a measure to Dimensions if its expression is simple.
Measures
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
l Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
l Number: By default, the formatting is set to Simple, and you can select the formatting
from the options in the drop-down list. Click the button to change to Custom
formatting, and use the Format pattern box to change the format pattern.
Examples:
l Add alternative: Alternative dimensions and measures are dimensions and measures that are
added to a visualization, but are not displayed until a user chooses to switch which dimensions and
measures are being displayed during visual exploration.
You can drag a field from Dimensions to Measures to change how it is used. Moving a dimension to
Measures assigns it an aggregation. You cannot drag a master dimension to Measures.
Sorting
The sorting is done automatically by measure size.
Add-ons
l Data handling:
l Include zero values: When unselected, measures that have the value ‘0’ are not included in
the presentation. If there is more than one measure value, all the measure values must have
the value ‘0’ to be excluded from the presentation.
l Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
l Show disclaimer: Set to Show if you want to see visualization disclaimers that appear at the bottom
of the chart, such as limited data or the chart has negative values.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
l Headers and labels:With the Auto setting, the display varies with the size of the treemap. Very
small treemaps have no headers or leaf labels. Small treemaps have overlay labels and no leaf
labels. Large treemaps have headers and (some) leaf labels. With the Custom option you can make
settings for headers and leaf labels:
l Headers: When set to Off, you can either use Overlay labels, or no labels at all, by setting
Overlay labels to Off.
l Leaf labels: With the Auto setting the leaf labels are displayed if there is enough space.
l Value labels: Set this to Off if you want to hide value labels on bars. With the Auto setting,
the value labels are displayed if there is enough space.
l Color scheme: Select 12 colors or 100 colors to be used for the different
values. The 12 colors can all be distinguished by people with color vision
deficiency, but not all of the 100 colors.
l By measure:
l Select measure: Select the measure to use to color your chart.
l Library colors: Select whether to use the master measure colors or to disable
the master measure colors. Option available only when a master measure
used in the visualization has colors assigned to it.
l Label: Enter text or an expression for the measure that displays in the legend.
l Color scheme: Select a color scheme from the following options:
l Sequential gradient: The transition between the different color groups
is made using different shades of colors. High measure values have
darker hues.
l Sequential classes: The transition between the different color groups
is made using distinctly different colors.
l Diverging gradient: Used when working with data that is ordered from
low to high, for instance, to show the relationship between different
areas on a chart. Low and high values have dark colors, mid-range
colors are light.
l Diverging classes: Can be seen as two sequential classes combined,
with the mid-range shared. The two extremes, high and low, are
emphasized with dark colors with contrasting hues, and the mid-range
critical values are emphasized with light colors.
l Reverse colors: When selected, the color scheme is reversed.
l Range: Define the range of values used to color by measure or by expression.
l Auto: The color range is set by the measure or expression values.
l Custom: When custom is selected, you can set the Min and Max
values for the color range.
l By expression: Color the chart using an expression to define colors for values.
Supported color formats are: RGB, ARGB, and HSL.
l Expression: Enter the expression that you want to use. Click to open the
expression editor.
l The expression is a color code: Selected by default. In most cases, it is best
to keep this setting. When the selection is cleared, the expression evaluates to
a number, which in turn is plotted against one of the chart gradients.
For more information, see Coloring a visualization (page 578)
When the coloring is by measure or by expression, you can set the color range
(Min and Max values). By setting the color range, the colors remain constant
throughout selections and paging. When using color by expression, the option
The expression is a color code must be cleared before you can set the color
range.
l Show legend: Not available when Single color is selected. By default set to Off. The legend is
displayed if there is enough space. The placement can be changed in the Legend position setting.
Tooltip
l Tooltip: Set to Custom to add any combination of measures, a chart, or an image, to the tooltip.
l Hide basic rows: Hide the rows of the tooltip that show basic information. If a custom tooltip has no
measures and a title and description, Hide basic rows will also hide dimension values as well.
l Title: Enter a title for the tooltip.
l Description: Enter a description for the tooltip.
l Measures: Click Add measure to show the measure as a tooltip.
o Select a measure from a field using From a field. You can also use an expression to add a
measure. Click to open the expression editor. The existing expression is displayed by
default.
o You can change the label of the measure using Label and the formatting using Number
formatting. If the measure is a master item, you can use the master measure formatting or
turn off formatting and select another format using Number formatting.
l Chart: Click Add chart to add a chart to the tooltip.
o Master items: Select a master visualization from the list to show as a tooltip.
o Chart size: Select the size of the chart container.
o Small. Sets the width and height of the container to 140 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Edit master item: Appears after you select a master visualization. Click to edit the master
item.
l Images: Click Add an image to add an image to the tooltip.
o Type: Choose the location of the image from either your Media library or from a URL.
o Size: Set the size of the tooltip container. Qlik Sense fits the image into the container.
o Small. Sets the width and height of the container to 50 pixels.
o Medium. Sets the width and height of the container to 200 pixels.
o Large. Sets the width and height of the container to 340 pixels.
o Original. Qlik Sense fits the image into the container. If the image is larger than 340
pixels, it is scaled down.
o Media library: Appears when you choose Media library for Type. Click to select an image
from your media library.
o URL: Appears when you choose URL for Type. Enter a URL.
You can add only treemap charts with one dimension to a tooltip.
Waterfall chart
The waterfall chart is suitable for illustrating how an initial value is affected by intermediate
positive and negative values. The starting and the final values are represented by whole bars,
and intermediate values by floating bars. You can also show subtotals in the chart.
When to use it
The waterfall chart is suitable for illustrating how an initial value is affected by intermediate positive and
negative values. One example of this is an income statement, when you want to show the positive and
negative contributions of different accounts.
Advantages
The waterfall chart provides a quick understanding of the transition of a value.
Disadvantages
The waterfall chart is not relevant for detailed analysis of the data as you can't make selections in the chart
or expand the data.
In a waterfall chart you need to use one measure for each bar in the chart. The order of the measures
defines the order of the bars in the chart. For each measure, you need to define how it affects the previous
value. You can add up to 15 measures in a waterfall chart.
Do the following:
1. From the assets panel, drag an empty waterfall chart to the sheet.
2. Add the first measure.
This is the first bar of the chart. By default, it will use the measure operation Add, and show a
positive value.
3. Add a second measure.
This is the second bar of the chart. If you want to show this measure as a negative contribution,
change Measure operation to Subtract.
4. Continue to add measures, setting Measure operation to Add or Subtract depending on how you
want them to contribute.
5. Add subtotals. There are two ways of adding subtotal bars to the chart:
l If you have a data field containing subtotal data, add a measure with the subtotal data and
select Subtotals as Measure operation.
l If you don't have a data field containing subtotal data, you can add an automatically
calculated subtotal by selecting the Subtotals check box of the measure before where you
want the subtotal bar.
When you have created the waterfall chart, you may want to adjust its appearance and other settings in the
properties panel.
l Add
The measure value adds to the previous bar. If this is the first measure, a whole bar is shown
starting at 0.
l Subtract
The measure value subtracts from the previous bar.
If the data already contains a negative sign, the result of subtraction will be a positive
change.
l Subtotals
The measure value is considered a subtotal.
If you do not have sub-totals as a field, you can add subtotals automatically by enabling
Subtotals in the measure before you want the subtotal.
In the waterfall chart shown above, the first bar, Sales, is defined as Add. The second bar, Sales cost, is
defined as Subtract, and the third bar, Sales margin, is defined as Subtotals.
Visualizing positive and negative contributions to the result with a waterfall chart
This example shows how to make a waterfall chart to visualize how positive and negative
values contribute to the final result.
We want to see the positive contributions to CO2 in the atmosphere, such as oil or gas, in relation to
negative factors, such as land sink.
Dataset
In this example, we will use a simple dataset that you can copy to a text file to use as data source. It
contains the atmosphere CO2 level in ppm from 1870, as well as the positive and negative contributors to
CO2 in the atmosphere in the time between 1870 and 2017.
Add the text file as data source in an empty app, and load the data. Make sure that you use comma as field
delimiter.
Visualization
We add a waterfall chart to the sheet and add the fields as measures in the following order. Edit the label
for each measure to remove the Sum() part.
l Sum(Atmosphere1870)
l Sum(Coal)
l Sum(Oil)
l Sum(Gas)
l Sum(Cement)
l Sum(Land)
l Sum(Imbalance)
l Sum(Land_sink)
l Sum(Ocean_sink)
To add a bar that shows the calculated result, the CO2 level for 2017, open the final measure and select
Subtotals. You can set Subtotal label to Atmosphere 2017.
Discovery
.As you can see in the chart, the CO2 level in the atmosphere is higher in 2017 than in 1870. Coal is the
main contributor of CO2. Some of the increase is offset by carbon sinks that absorb CO2, for example, the
ocean. As we can see, this is unfortunately not enough to stop the increase of CO2 in the atmosphere
You open the properties panel for a visualization by clicking Edit sheet in the toolbar and clicking the
visualization that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner.
If the visualization displays Linked visualization in the properties panel, the visualization is
linked to a master item. You can edit the master item or unlink the visualization from the master
item to edit only the current visualization.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Data
Click Add to add a dimension or a measure.
On the Data tab, under Measures, click Add to open a list of available measures. Select the measure that
you want to add to the visualization. If you select a field, you are automatically presented with some
common aggregation functions that you can choose between for the measure.
If no measure is available, you need to create one. You can enter the expression directly in the text box, or
click to create a measure in the expression editor.
You can edit a measure that is linked to a master item by updating the master item, or by unlinking the
measure from the master item and editing only this instance.
Measures
l <Measure name>: Click the measure to open the measure settings.
If you want to delete the measure, right-click the measure and select in the dialog. Alternatively,
click the measure and click .
l Expression: Click to open the expression editor. The existing expression is displayed by
default.
l Label: Enter a label for the measure. Measures not saved in Master items are by default
displayed with the expression as label.
l Measure: Only displayed for master items. To edit only this instance of the measure, click to
unlink the measure from the master item.
l Measure operation: Select how to use the measure in the chart:
l Add: The measure value is added.
l Subtract: The measure value is subtracted.
l Subtotals: The measure value is treated as a subtotal value of the last measures
using the same measure operation.
l Subtotals: Select Subtotals to add an automatically calculated subtotal measure based on
the result of all previous measure operations.
l Subtotal label: Enter a label for the automatically calculated subtotal measure.
l Master item: Create a master measure based on the measure expression by clicking Add
new. If the measure is already linked to a master item, you can update the master item by
clicking Edit. All instances of the linked dimension will be updated.
You can drag the measures to set the order in which they are displayed in the visualization. Use the drag
bars () to rearrange the order.
Scripts
Only available if chart level scripting has been enabled in your app. See Turning on chart level
scripting.
On the Data tab, under Scripts, click Add to create a chart script. You can add more than one chart script.
You can enter the chart script directly in the text box, or click to create a chart script in the expression
editor.
p Using chart level scripting in visualizations
Number formatting
l Number formatting: Different options for formatting the measure values. If you want to change the
number format at app level, and not just for a single measure, it is better to do that in the regional
settings, that is, in the SET statements at the beginning of the script in the data load editor.
The following number formats are available:
l Auto: Qlik Sense automatically sets a number formatting based on the source data.
To represent numeric abbreviations, the international SI units are used, such as k
(thousand), M (million), and G (billion).
l Number: By default, the formatting is set to Simple, and you can select the formatting from
the options in the drop-down list. Click the button to change to Custom formatting, and use
the Format pattern box to change the format pattern.
Examples:
Limitations:
Only works with visualizations that accept measures.
Cannot be used with a box plot.
Does not affect the number formatting of the axis.
Add-ons
l Data handling:
l Calculation condition: Specify an expression in this text field to set a condition that needs to
be fulfilled (true) for the object to be displayed. The value may be entered as a calculated
formula. For example: count(distinct Team)<3. If the condition is not fulfilled, the message or
expression entered in Displayed message is displayed.
A calculation condition is useful when a chart or table is slow to respond due to a large
amount of data. You can use the calculation condition to hide an object until the user has
filtered the data to a more manageable level by applying selections. Use the Displayed
message property to guide the user to filter the data.
l Reference lines: Add reference line: Click to add a new reference line.
l Show: When selected, the reference line is displayed.
l Label: Enter a label for the reference line.
l Color: In the color picker, select the color of the reference line and the label.
l Reference line expression: Enter a value or an expression for the reference line. Click to
open the expression editor.
l : Click to remove the reference line.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the chart.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Disable hover menu: Select to disable the hover menu in the visualization.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
l State: Set the state to apply to the visualization. You can select:
l Any alternate state defined in Master items.
l <inherited>, in which case the state defined for the sheet is used.
l <default state>, which represents the state where no alternate state is applied.
Presentation
l Gridline spacing: Set this to Custom if you want to customize the horizontal gridlines. You can
choose between: No lines, Medium or Narrow.
l Value labels: Set this to Off if you want to hide value labels on bars.
Y-axis
l Labels: Select if you want to show labels on the Y-axis.
l Position: Select where to display the dimension axis.
l Scale: Select how many lines you want to show on the Y-axis. Narrow shows many lines, and Wide
shows few lines.
l Range: Select to set the min value, the max value, or both. The min value cannot be larger than the
max value. You can use expressions for the values.
X-axis
l Labels: Select if you want to show labels on the X-axis.
l Label orientation: Select orientation of the labels. The following options are available:
o Auto: Automatically selects one of the other options depending on the space available on the
chart.
o Horizontal: Labels are arranged in a single horizontal line.
o Tilted: Labels are stacked horizontally at an angle.
o Layered: Labels are staggered across two horizontal lines.
To view examples of label orientation, see X-axis and Y-axis (page 574).
l Position: Select where to display the measure axis.
Button
You can use buttons to:
l add quick links for easy selection and navigation in your app
l reload data
When to use it
The button is useful when you want to help the app user by providing:
You can reload data in an app that you own. App users need the appropriate access rights.
Creating a button
You can create a button on the sheet you are editing. This shows how to create a button that makes a
selection and then navigates to another sheet. It is also possible to create a button that just performs the
action, or that navigates.
Do the following:
or a website.
5. Set the label of the button in Label under General in the properties panel.
You will now have a button that makes a data selection and then navigates to the place in the app you
selected.
The actions are performed in the order they are listed under Actions. You can change the order of an
action by dragging it.
You do not have to add an action if you just want the button to perform navigation.
Apply bookmark
You can apply the selection that is defined in a bookmark that you choose.
It is not possible to use fields with date, timestamp, or money data type.
l If you want to use an expression, you need to enclose it in single quotes, for example, ='=Sum
([Sales Amount]) > 200000'.
l If you want to search for a partial string, you need to use wild cards (*, ?,^). If you do not use wild
cards, only strings that match exactly are selected.
Select alternatives
Select all alternative values in a field that you specify. You can optionally overwrite locked selections.
Select excluded
Select all excluded values in a field that you specify. You can optionally overwrite locked selections.
Reload data
You can run the load script to reload data.
Navigation
You can choose to navigate to another sheet, a story, or a website when the button is clicked. You do not
have to specify an action if you want to create a simple navigation button.
qlik.com/sense/app/8f8ffa0e-3fde-48a5-a127-59645923a1fc/sheet/7300b241-f221-43db-bb8b-
8c8cc1887531/state/analysis
The ID of the sheet is 7300b241-f221-43db-bb8b-8c8cc1887531 in this example.
l The navigation option to switch to edit mode (Switch to edit mode) is not supported.
l The action to select a value and then lock the field (Select a value and lock field) is not supported.
This will be converted into two consecutive actions, Select values in a field and Lock a specific
field.
Container
The container is an object that lets you add visualizations in a limited space. You can also
show or hide the visualizations inside the container based on conditions.
When to use it
The container is useful when you want to quickly switch between different visualizations on a dashboard
with limited space. You can also use a container to show different visualizations based on:
Creating a container
You can create a container on the sheet you are editing.
Do the following:
You now have a container with a tab for each visualization you added. You can switch between tabs to
show different visualizations.
Do the following:
1. Click on the chart you want to add a show condition to, under Content in the property panel.
2. Add a show condition for the chart in Show condition. Typically you would use an If() function.
3. Add another show condition to a different chart.
The charts will now be shown or hidden depending on the result of the conditions you added. If the
condition of a chart results in True, it is shown, and if it is False, it is hidden.
Do the following:
Do the following:
Display limitations
l You cannot use a master visualization that has a container inside another container.
l You cannot add the same master visualization twice in a container.
l You cannot create a chart inside a container by dropping measures or dimensions on the container.
l When a single product group is selected a chart for product sub groups is displayed.
l When more than one product group is selected a chart for product groups is displayed.
Dataset
In this example, we will use two data files from the Qlik Sense Tutorial - Building an App. To download the
files, go to Tutorial - Building an App. Download and unzip the tutorial, and find the files in the Tutorials
source folder:
l Sales.xls
l Item master.xls
Create a new app, and add the two data files. Make sure that they are associated by Item Number.
The dataset that is loaded contains sales data. The Item master table holds the information about the items
ordered, such as product groups.
Measures
We need to create two measures in Master items:
l Sales volume: with the name Sales, and the expression Sum(Sales).
l Sales margin in percent: with the name Margin %, and the expression Avg(Margin/Sales)*100.
Visualizations
We need two different master visualizations based on product group selections. One of them with product
group as dimension, the other with product sub group as dimension.
We add a combo chart to the sheet and set the following data properties:
The following chart is created, with a bar showing the sales for each product group. It is a bar chart at this
stage.
But we also want to show the sales margin, which has a different scale than the sales volume. Sales
volume is in the scale of millions, while the margin is a percentage between 0 and 100. If we add margin as
a bar next to sales volume, it would be too small to distinguish.
In the properties pane, go to Measures > Height of line. Use the drop down to add Margin % as a
measure.
Make a copy of the product group visualization, and change the dimension to Product Sub Group.
Master visualizations
You need to create two master visualizations to use in the container.
l Add the product group visualization as a master visualization with name Product Group - sales and
margin.
l Add the product sub group visualization as a master visualization with name Product Sub Group -
sales and margin
You can now delete the two visualizations you created earlier, they are saved as master visualizations.
Container
You need to add a container to the sheet. Add the two visualizations to the container.
You can also hide the selection tabs of the container under Appearance>Container>Tabs.
To demonstrate how it works, you can add a filter pane with Product Group.
Discovery
You can now make selections in Product Group. When a single product group is selected, the chart
displays data for product sub groups of that product group. Otherwise, the chart displays data for product
groups.
Container properties
You open the properties panel for a container by clicking Edit sheet in the toolbar and clicking
the container that you want to edit.
If the properties panel is hidden, click Show properties in the lower right-hand corner to open it.
If the container has in the upper right-hand corner, the container is linked to a master item. You
cannot edit a linked container, but you can edit the master item. You can also unlink the
container to make it editable.
Some of the settings in the properties panel are only available under certain circumstances, for
example, when you use more than one dimension or measure, or when you select an option
that makes other options available.
Content
Click Add to add a chart to the container. If the container has more than one charts, you can drag the charts
to set the tab order.
l Label: Change how the label of the chart appears on the tab.
l Show condition: Add a show condition for the chart. Typically you would use an If() function
l Edit properties: Allows you to edit the properties of the chart inside the container.
l Delete Deletes the chart from the container.
Appearance
General
l Show titles: Select to enable or disable titles, subtitles, and footnotes in the container.
Enter Title, Subtitle, and Footnote. By default, the string is interpreted as a text string. However,
you can also use the text field for an expression, or a combination of text and expression. An equals
sign (=), at the beginning of a string shows that it contains an expression.
Click if you want to create an expression by using the expression editor.
Titles are displayed on a single line. If you inject line breaks they will be ignored.
Example:
Assume that the following string is used, including quotation marks: 'Sales: ' & Sum(Sales).
By default, the string is interpreted as a text string and is displayed as presented in the example. But
if you begin the string with an equals sign: (='Sales: ' & Sum(Sales)), the string is interpreted as an
expression instead. The output is then Sales: <value of expression>, where <value of expression>
is the calculated value.
l Show details: Set to Show if you want to allow users to be able to choose to view details, such as
descriptions, measures, and dimensions.
Alternate states
State: Set the state to apply to the visualization. You can select:
Container
l Tabs: Set whether each chart in the container appears in a tab. If set to Off only the top chart will
appear. By default, set to On.
l Menu: Set whether a menu button appears when there is not enough space for all tabs. By default,
set to Auto.
l Navigation arrows: Set whether navigation arrows appear when there is not enough space for all
tabs. By default, set to Auto.
l Show icons: By default, Off. With the On setting, chart icons are displayed on each tab.
l Default tab: Set which tab is displayed when a user opens a sheet. By default, the first tab in a
container is the active tab.
Properties
Borders:
l Auto: Default setting. Container will or will not have a border depending on app theme settings.
l Border: Container will have a border.
l No border: Container will not have a border.
Reference lines
A reference line is a line intersecting the chart area from a given point on the measure axis.
You can use a reference line to indicate a certain level of chart data. The reference line is only drawn if it
falls within the current range of the measure axis. You can have several reference lines in the same chart.
l Bar chart
l Box plot
l Combo chart
l Distribution plot
l Gauge
l Histogram
l Line chart
l Scatter plot
l Waterfall chart
Line chart average sales per month, with a reference line at 3.5k and a dimensional reference line in September.
l Bar chart
l Combo chart
l Line chart
Custom tooltips
Create a custom tooltip to add extra information to a visualization. You can include measures,
a master visualization chart, or an image. Tooltips display when you hover over a
visualization.
l Bar chart
l Bullet chart
l Combo chart
l KPI
l Line chart
l Map
l Pie chart
l Scatter plot
l Tree map
Do the following:
You can remove basic tooltip rows that appear by default by clicking Hide basic rows.
6. If you want to add a measure, under Measures, click Add measure. Select a measure from a field
using From a field, or use an expression. The existing expression displays by default, or you can
create a custom expression. Click to open the expression editor. You can change the label of the
tooltip using Label as well as its formatting using Number formatting.
7. If you want to add a chart, under Chart, click Add chart.
l From the Master items list, select the master visualization to add to the tooltip.
l Under Chart size, select the size of the chart container in the tooltip.
l Small. Sets the width and height of the container to 140 pixels.
l Medium. Sets the width and height of the container to 200 pixels.
l Large. Sets the width and height of the container to 340 pixels.
After you add the chart, you can edit it by clicking Edit master item. See Editing a
master visualization (page 88).
l Charts will not appear in custom tooltips when selecting visualizations on touch devices.
l Treemap chart must have only one dimension to use the chart in a custom tooltip.
Combo chart – A combination of the NaN value for the bar and the line.
Gauge N/A –
Histogram – No representation
KPI N/A –
Table – –
Treemap – Empty
Dashboard bundle
Dashboard bundle is a set of controls that you can use to enhance navigation and selection
in your Qlik Sense app. The controls are optional. You do not have to install or enable them to
use Qlik Sense.
Deprecated controls
These controls have been deprecated by the addition of a native control. Existing instances of these
controls will still function, but new ones cannot be added. We recommend that you replace deprecated
controls with the native control.
Show/hide container
Deprecated by Container.
If you need to configure existing instances of this control, please refer to the last version of the help before
deprecation.
Tabbed container
Deprecated by Container.
If you need to configure existing instances of this control, please refer to the last version of the help before
deprecation.
Navigation button
Deprecated by Button.
If you need to configure existing instances of this control, please refer to the last version of the help before
deprecation.
Limitations
When you use objects from Dashboard bundle there are some limitations compared to built-in controls.
The following limitations are valid for all controls from Dashboard bundle:
l The user interface of the visualization is not localized to the language that Qlik Sense is using.
l Right-to-left reading order is not supported.
l Accessibility features are not supported.
l It is not possible to edit objects from an object bundle supplied by Qlik with Dev Hub.
The following table shows which additional features are supported, or not supported, for all bundled
objects:
l Printing
Printing a visualization made in an object.
l Qlik NPrinting
There is an On-Demand reporting control (page 452). However, visualizations made in some
objects cannot be used in Qlik NPrinting reports.
l Download
Downloading as image, PDF, or Excel.
l Storytelling
Using a snapshot of a visualization created with an object in a story.
l Alternate states
Making different selections on the same dimension, and comparing the selections in a single
visualization or in two or more visualizations side by side.
l Qlik Sense Mobile Client Managed offline
Animator
The animator control animates the changes in values in your visualizations over a range of
values. For example, you could view changes in your visualizations over a period of time. It is
included in the Dashboard bundle.
The animator control adds a button and progress slider to the sheet. When pressed, animator cycles
through the values of its dimension. Users can use the slider to manually pick values from the dimension to
display.
Animator
When to use it
The animator is useful when you want to see your visualizations change over a specified range, such as
over a period of time. For example, you could use the animator control to view how visualizations in your
sheet change month to month over a period of a year. Animator can be used to animate any dimension
values. You could, for example, animate how your sales visualizations change city to city by selecting a
dimension containing city vales to use with animator.
The selections animator makes while running through values are applied to your current selections.
Creating animators
You can create an animator on the sheet you are editing. The dimension you select to use with animator
contains the range of values you want animated. By default, every value in the dimension will be used as a
step. You can customize the number of steps used in the animation as well as how quickly animator moves
between steps. Animator runs through dimension values by the order in Sorting.
Do the following:
1. From the assets panel, open Custom objects > Dashboard bundle and drag a Animator object to
the sheet.
2. Select a field to add as the dimension.
Once you have created the animator, you may want to adjust its animation options and other settings.
You can control how fast an animator transitions between values in the selected dimension in Time
Between Steps. Time Between Steps requires values be set in milliseconds.
It is not recommended to set Time Between Steps lower than 300 milliseconds.
You can set the total steps the animator runs through in Total Steps. The animator will divide the total
steps evenly across the dimension values. For example, if there are 10 values in the time dimension
selected and Total Steps is set to 5, animator will go to values 2, 4, 6, 8, 10). If Total Steps is set to 0, the
animator will use every value.
If you want the animation to show the total building over time for your selected values, select Aggregate.
When Aggregate is selected, each step is aggregated to the previous step.
By default, the animator will run through steps in a loop. You can control this with the Loop option.
You can control whether or not the dimension and current value displays in the animator as it runs with
Show Dimension Label and Show Dimension Value.
Limitations
Animator has the following limitations:
Dates associated to data appear in black in the calendar. Dates with no associated data appear in grey.
Users can select any date.
When to use it
The date range picker is useful when you have one or more date fields that you need to use to filter your
selections. Unlike a filter pane, a date range picker will only display date fields.
Do the following:
1. From the assets panel, open Custom objects > Dashboard bundle and drag a Date picker object
to the sheet.
2. Select the date field to use as filter in Date field.
The list contains only fields that are recognized as a date field by Qlik Sense.
If you want to use a timestamp field, you need to convert it to a date. Use the expression
=date(floor(myTimeStamp_Field)) instead of myTimeStamp_Field.
3. Select if you want to be able to pick a single date or a date interval in Single date / interval.
Date interval lets you pick a range of dates.
Single date lets you pick a single date only.
When you have created the date range picker, you may want to adjust its appearance and other settings.
l Custom Range represents the option where you select a date interval freely from the calendar.
Default value is Range.
l Today represents the date value of today. Default value is Today.
l Yesterday represents the date value of yesterday. Default value is Yesterday.
l Last $ days represents the two options for showing the last 7 or 30 days. $ is replaced by 7 or 30 in
the string. Default value is Last $ days.
l This represents the current period. By default Month is selected. You can select:
l Day
l Month
l Quarter
l Year
l None
l Last represents the previous period. By default Month is selected. You can select:
l Day
l Month
l Quarter
l Year
l None
You can specify how many of the previous periods to include in Last number of.
You can include the current period by selecting Include current.
You change the text prompt shown when the date range picker is minimized with the setting Default Text
under Calendar Settings > Language and labels. The default setting is 'Select date range'.
Limitations
For information about general limitations, see Limitations (page 447).
Requirements
l Qlik NPrinting Server (September 2019 or later) with a Qlik NPrinting app that is connected to the
Qlik Sense app that you are designing. This Qlik NPrinting app contains your report templates.
l All users generating On-Demand reports need to be added as users in Qlik NPrinting, with a
security role that supports running On-Demand reports.
l Users must be logged into Qlik Sense via NTML (Windows) authentication in order to generate
reports or create reporting buttons.
When to use it
The On-Demand reporting control is useful when you want the user to be able to print predefined Qlik
NPrinting reports within Qlik Sense, using their selections in the app as a filter.
You can add or remove object bundles from your Qlik Sense deployment at any moment. If you have a
multi-node installation, object bundles are installed on the central node.
You can see which extensions are installed in your deployment by checking the Extensions
section in the Qlik Management Console (QMC).
Do the following:
You can verify that the changes have been correctly applied by checking the Extensions section in the
QMC.
For each server path used to access the Qlik NPrinting web console, you must add a trusted origin. For
example, if your server can be accessed through a local domain, a shortened host, or fully qualified URLs,
a trusted origin must be added for each of those server paths.
How you enter the server paths in the Address field of the trusted origin depends on your security
configuration.
l http://qlikserver1
l http://qlikserver1.domain.local
l http://192.168.0.101
Configuration 2: SSL security setup with Qlik NPrinting web console and third-party
A trusted origin is required for each server path used to log onto the Qlik NPrinting web console. URLs
must use HTTPS. For example, if your server is qlikserver1 and has an IP address of 192.168.0.101, you
would add the following trusted origins:
l https://qlikserver1
l https://qlikserver1.domain.local
l https://192.168.0.101
On-Demand is compatible with Chrome, Firefox, and Explorer. It will not run in Microsoft Edge,
because the certificates will not download.
Do the following:
On-Demand requests only work with reports based on a single connection. MultiDoc
reports are not supported.
If you switch to a different browser or clear your browser’s cache, you will have to re-accept the
Qlik NPrinting certificate. On-Demand works in Chrome, Firefox, and Explorer. It does not run
in Microsoft Edge, because the certificates will not download.
Do the following:
Do the following:
1. From the assets panel, under Custom objects > Dashboard bundle drag On-demand reporting to
the sheet.
2. In the property panel, under NPrinting Connection > NPrinting server URL, set the server
connection. The URL must end with /.
For example: https://<server name>:4993/
3. Under NPrinting App, select the Qlik NPrinting app that contains the report template.
4. Under NPrinting connection, select the Qlik NPrinting connection.
As the default, the list only shows Qlik NPrinting connections to the Qlik Sense app you are working
in. You can use the App/Connection filter toggle to display connections not associated with the
current Qlik Sense app.
5. Under Report Configuration > Choose Report, select the report you want to connect to the button.
6. In Default Export Format, select a default export format.
7. Under Appearances > Button Label, set the button label. For example: Generate report.
Generating a report
You can generate a report that is filtered according to the current selections in the Qlik Sense app. You
need to be in analysis mode.
You can only filter on fields that are included in the Qlik NPrinting report template, or the report
will fail. It is not possible to filter on selections using an expression.
Do the following:
Limitations
For information about general limitations, see Limitations (page 447).
l If the Qlik NPrinting report template contains a filter, it is not possible to make conflicting selections
in the Qlik Sense app, or the report will fail.
l When you use the On-Demand reporting control in a mashup, you need to use Windows
authentication. Header authentication is not supported.
Additionally, if the mashup contains multiple apps, you can only use the app where on-demand
originates from to filter on-demand reports.
l
When to use it
If you have visualizations with expressions that contain a variable, you can use the variable input control to
let the user control the variable value.
Do the following:
1. From the assets panel, open Custom objects > Dashboard bundle and drag a Variable input
object to the sheet.
2. Select the variable to use in Name under Appearance > Variable in the property panel.
3. Select how you want to input data in Show as:
l Buttons lets you add a number of buttons with one button for each defined variable value.
You can select how to display the buttons in Display, select Row to show them in a
horizontal row or Column to show them in a vertical column.
You can define the buttons in two different ways, fixed (Fixed) or (dynamic) Dynamic with
the Fixed or dynamic values setting under Values.
If you select to use fixed values, you need to add each button with Add Alternative and
define a value (Value) and a label (Label) for each button.
If you use dynamic values, you define the buttons with a string in Dynamic values.Use | to
separate buttons, and ~ to separate value from label. For example,
'Germany~GER|France~FRA' will create two buttons labelled GER and FRA. The first will
change the variable value to Germany, and the second changes the value to France. You do
not need to specify labels if you want to use values as labels.
l Drop down adds a drop down with one item for each defined variable value.
You can define the items in two different ways, fixed (Fixed) or (dynamic) Dynamic with the
Fixed or dynamic values setting under Values.
If you select to use fixed values, you need to add each item with Add Alternative and define
a value (Value) and a label (Label) for each item.
If you use dynamic values, you define the items with a string in Dynamic values.Use | to
separate items, and ~ to separate value from label. For example,
'Germany~GER|France~FRA' will create two items labelled GER and FRA. The first will
change the variable value to Germany, and the second changes the value to France. You do
not need to specify labels if you want to use values as labels.
l Input box provides a simple input box that will update the variable value.
l Slider creates a slider that updates the variable value. You define the minimum setting with
Min and the maximum setting with Max under Values. You can also set the step to use with
Step. If you select Slider label, the selected value is displayed when you drag the slider.
The variable value is updated when you stop dragging the slider, but you can select Update
on drag if you want the variable value to be updated while you drag. This can be useful when
you want visualizations based on the variable to update dynamically when dragging the
slider. Use this option with caution, as the constant redrawing of charts can be annoying.
Limitations
For information about general limitations, see Limitations (page 447).
l The slider label can only display numeric values. This means, if the value is a date the numeric
value of the date is displayed. If the value is a percentage value, the percentage character is not
displayed.
Video player
The video player lets you play videos in different formats from external sources. It is included
in the Dashboard bundle.
l MP4
l OGG
l WEBM
l YouTube
Video player
When to use it
The video player is useful when you want to include a video in your application. For example, you want to
show a demo or a training video, add a tutorial, or present corporate news.
Adding videos
You can add video player object to a sheet that you are editing. Add or paste a video link into the video
object. The video is streamed from a source; it is not uploaded to Qlik Sense. By default, the video format
of the link will be auto-detected, the video will not auto-play, and video controls will be available to app
consumers.
Do the following:
1. From the assets panel, open Custom objects > Dashboard bundle and drag a Video player object
to the sheet, or click Add to Sheet.
2. Add a video as a URL in the video player object field Add URL, or in the properties panel under
Video > URL. You can format the URL field as an expression.
3. Autodetect format is default setting and it will adjust accordingly based on the URL. You can also
turn off Autodetect, and then select the correct supported video format.
Once you have added the video, you may want to adjust its options.
Click Auto play if you want the video to automatically start when viewed in analyzer mode. Auto play is
turned off by default. When Auto play is selected, the video starts but it is muted. The app user has to
select Unmute to turn the sound on.
Click Hide Controls to turn off video controls in analyzer mode. By default, video controls are visible.
You can add a Poster image. By default, the poster image is turned off. For Source, select an external
URL that directs to an image, or add an image from your media library.
If a poster image is selected, the selected image is displayed before the video starts playing. Poster
alignment specifies how the poster image will align inside the video player.
You cannot play the video in edit mode. The video restarts when you switch between analyzer mode and
edit mode.
In analyzer mode, you start the video with the play button. You can pause, switch between mute and
unmute, and view the video in full screen. You can also share the video player object, and Take snapshot.
In edit mode, the right-click context menu provides options for Qlik Sense. In analyzer mode, the context
menu provides options for YouTube.
The app developer (edit mode) or app consumer (analyzer mode) must allow YouTube videos to play in
Qlik Sense.
Limitations
The video player has the following limitations:
Visualization bundle
Visualizations are an important means of conveying information from massive data. The
Visualization bundle is a set of charts that can be used to enhance and increase your Qlik
Sense app's charting capacity. The charts are optional. You do not have to install or enable
them to use Qlik Sense.
Limitations
Visualization bundle visualizations have more limitations than built-in visualizations, such as bar charts.
The following limitations are valid for all visualizations from Visualization bundle:
l The user interface of the visualization is not localized to the language that Qlik Sense is using.
l Right-to-left reading order is not currently supported.
l Accessibility features are not currently supported.
l It is not possible to edit objects from an object bundle supplied by Qlik with Dev Hub.
The following table shows which additional features are supported, or not supported, for all bundled
objects.
l Printing
Printing a visualization made in an object .
l Qlik NPrinting
There is an On-Demand reporting control (page 452). However, visualizations made in some
objects cannot be used in Qlik NPrinting reports.
l Download
Download as image, PDF, or Excel.
l Storytelling
Using a snapshot of a visualization created with an object in a story.
l Alternate states
Making different selections on the same dimension, and comparing the selections in a single
visualization or in two or more visualizations side by side.
Trellis container No No No No No
Bullet chart
The bullet chart (Bullet chart) displays a gauge with extended options. Bullet charts can be
used to visualize and compare performance of a measure to a target value and to a
qualitative scale, such as poor, average, and good. The bullet chart is included in the
Visualization bundle.
We recommend that you use the Bullet chart instead of this object. The bullet chart in the
Visualization bundle will be deprecated in a later release. Existing instances of this chart will
still function, but new ones cannot be added.
l The first measure (Measure) is the actual value, represented by the bar.
l The second measure (Marker) defines a target value, which is represented by a vertical marker line.
l The third measure (Range) defines a qualitative range displayed behind the bar. This consists of
three ranges.
You can also add a dimension. This will show one gauge for every dimension value. If you do not define a
dimension, the chart will show a single gauge.
A bullet chart with one gauge for each value of the dimension (product group).
When to use it
Bullet charts let you compare and measure performance with more enriched information than a common
gauge. This is helpful when comparing performance according to a target and a simple performance rating.
For example: you can show how sales relate to a target value, and in context of poor, good, and stretched
performance.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Bullet chart object to
the sheet.
2. Click the Add measure button to select the value measure of the chart.
Once the first measure is selected the bullet chart is displayed.
3. To add a target value, click Add under Measures. You can define a fixed value or use a measure
with target values.
4. To add performance ranges, click Add under Measures. This will define the maximum performance
range value. You can set the internal range limits later.
5. To show one gauge for every dimension value, click Add under Dimensions.
The bullet chart is now displayed with the dimensions and measures you selected.
Do the following:
l Set value bar color in Appearance > Measure bar > Change bar color in the property panel.
l Set marker color in Appearance > Marker > Change marker color in the property panel.
l Set range color in Appearance > Range > Change range color in the property panel. The color you
select is used for the highest range. The two lower ranges are displayed in darker shades of that
color.
It's a good idea to select a light range color to avoid poor contrast between the ranges.
You should also make sure that the range color is less visually dominant than the value
bar.
l Set middle range (%) defines the upper limit of the middle range.
l Set lower range (%) defines the upper limit of the lower range.
l If you want each dimension gauge to use the same scale, enable this option. If the range measure
depends on the dimension value, the range bars will have different lengths. This is useful when you
want to be able to compare the actual values.
l If you want each range bar to be equally long, disable this option.
Example:
In this example, Consistent for all axis dimension values is disabled. This makes it easier to compare the
relative performance of each product group.
A bullet chart with Consistent for all axis dimension values disabled.
Limitations
For information about general limitations, see Limitations (page 461).
Funnel chart
The Funnel chart (Funnel chart) lets you add a sequential chart showing the connected
stages of a process. Each stage will decrease and should contain a subset of the previous
stage. The decrease is gradual, giving the chart an ever narrower funnel.
A funnel chart displaying the conversion rates of prospects to customers in a sales process.
Funnel charts show values across multiple stages in a process. They can represent anything that is
decreasing in size. The funnel chart shows a process that starts at 100% and ends with a lower
percentage. Each chart segment represents the value of a specific item and can influence the size of other
segments. The Funnel chart is included in the Visualization bundle.
When to use it
The funnel chart is useful to illustrate the stages of a process and the overall decrease of each step, for
example:
l Represent a sales process showing the amount of potential revenue for each stage.
l Illustrate the number of sales prospects at each stage in a sales pipeline, i.e. the process from
prospective customer to made purchase.
l Identify potential problem areas and bottlenecks of a sales process.
l Communicate a sales process to new team members and vendors.
l Illustrate website visitor trends – from visitor homepage hits to other areas, for example downloads,
etc.
l Show order fulfillment with initiated orders at the top, followed by for example, orders in delivery,
delivered, canceled and returned.
l Showing the flow of information from top secret to unclassified.
l Representing knowledge areas from general knowledge to expert knowledge.
l The dimension decides how it should be grouped in segments. By default, dimension values are
displayed in descending order by measure value.
l The measure is the value that decides the size of each segment.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Grid chart object to
the sheet.
2. Click the top Add dimension button and select the target dimension (usually target market) of the
chart.
3. Click the Add measure button to select the measure (what is to be measured) of the chart. Once
dimensions (dimension label) and measure (value label) have been selected the funnel chart
displays automatically (in color) in the chart field.
4. Click Done to revert to the main display field.
5. Click applicable region under Region. The chart field will update displaying chosen parameters and
details.
Dimension, measure and region details will continue to display in the chart field even when reverting to Edit
mode.
Funnel mode
You can set the shape of the funnel with Appearance > Presentation > Funnel Mode.
Area
The area of each item is proportionate to the measure. Only the height of the individual segment is affected
- not the overall chart or contents.
Height
The height of each item is proportionate to the measure. Only the height of the individual segment is
affected - not the overall chart or contents.
Width
The width of the upper edge is proportionate to the maximum value of the measure. The top segment is
always 100% and the following segments are relative in size to the first. The lowest segment is rectangular.
This affects the shape of the funnel and each segment has its individual slope.
Ordering
The measure only orders the segments with largest value at the top. The ordering is fixed so the shape of
the funnel is not affected.
Colors
You can choose how to color the funnel chart by changing the Appearance > Colors setting from Auto to
Custom.
Single color
You can use a single color for the entire funnel chart by selecting Single color in Colors.
Color by dimension
You can also color your entire funnel chart by dimension by selecting By dimension in Colors. There are
two gradient color schemes available:
l 12 colors
l 100 colors
You can also select to keep persistent colors with Persistent colors.
Color by measure
You can color your funnel chart by measure by selecting By measure in Colors. The measure of the chart
is selected as default, but you can change it under Select measure. This measure must be unlinked before
a new can be selected. You can also change the measure using an expression in the Expression editor ().
You can choose between four color schemes. It is also possible to reverse the colors.
l Sequential gradient
l Sequential classes
l Diverging gradient
l Diverging classes
You can also set a color range for your chart based on your measure by setting Range to Custom. Set the
range in Range > Min and Range > Max. You can use a number or an expression that evaluates as a
number.
Color by expression
You can color your funnel chart by measure by selecting By expression in Colors. You can color it in two
ways.
l The expression evaluates as a valid CSS color to color the chart. The expression is a color code
should be checked.
l The chart is colored by the expression value according to a color scheme. The expression is a
color code should be unchecked.
You can also set the range of the colors.
Sorting
Funnel chart elements are automatically sorted from largest to smallest. You can change the sort order in
the properties pane. Go to Sorting, and drag your dimensions and measurements into the desired order.
Dimension label
You can choose if you want to show the dimension label or not with Appearance > Presentation >
Dimension label
Value labels
You can choose how to show value labels for each segment by setting Appearance > Presentation >
Value labels to Custom.
Limitations
For information about general limitations, see Limitations (page 461).
Grid chart
The grid chart (Grid chart) uses symbols of varying size sorted in a grid. The grid chart is
included in the Visualization bundle.
Grid charts must have two dimensions and one measure. The dimension values are the x and y axes. The
measure is the metric that determines the size of the symbol in each crossing.
Grid chart with circles. Circle color is set by dimension (Quarter) and circle size is based on measure (Sum of Sales)
When to use it
A grid chart is useful when you need to quickly find measure values that stand out from other values. For
example: you want to see which products sell well in some months, but poorly in others.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Grid chart object to
the sheet.
2. Click the Add Dimension button to select the x axis value of the chart.
3. Click the second Add Dimension button to select the y axis value of the chart.
4. Click the Add Measure button to select the metric being weighed.
The grid chart is now displayed with the dimensions and measures you selected.
Sorting
Grid chart elements are automatically sorted alphabetically or numerically from smallest to largest on the x
axis. You can change the sort order of either axes in the property panel.
Do the following:
Grid chart with stars. Star color and size is set by measure (Gross Sales).
For a visual demo about using a grid chart as a heatmap chart, see Creating a heatmap using a grid chart.
Limitations
For information about general limitations, see Limitations (page 461).
l The Number of axis values setting in the property panel has a limit of 55 per axis.
l Sometimes when you set dimension limits on a grid chart, chart labels will incorrectly display more
items than requested.
Heatmap chart
A Heatmap chart (Heatmap chart) displays comparative data where the values are
represented as color patterns in a chart. You can convey information instantly by combining
elements from several sources into one. It is included in the Visualization bundle.
As of February 2022, the Heatmap extension will no longer be supported. Apps that use the
Heatmap extension at that time will continue to function. However, the extension will no longer
be available in the Assets panel.
A heatmap can display large amounts of data in their entirety because values are replaced by colors. This
condensed color-coded format provides an easy-to-understand overview of data.
Heatmaps require two dimensions and one measure. A second measure is optional. The chart displays in
a tabular format with color-coded tiles. The highest and lowest values show in each dimension column. The
values in between are shown in a color gradient, centered upon the average.
When to use it
A heatmap chart displays a visual summary of large amounts of comparative data. The information is
presented in color patterns, and is communicated almost instantly in a single chart. A heatmap is useful
when:
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Grid chart object to
the sheet.
2. From the assets panel, under Custom objects > Visualization bundle drag a Heatmap chart object
to the sheet.
3. Click the top Add dimension button and select dimension.
4. Click the lower Add dimension button and select second dimension variable.
5. Click the Add measure button to select the measure of the chart.
That outline then disappears and you can trace another lasso in the desired area.
Do the following:
1. Open your heat map in the main display field. If you are working in edit mode, click Done.
2. Click the cursor on a tile and, while pressing the mouse button down, outline of the area of the chart
you want to take a close look at.
3. End your outline where it began. The chart will automatically zoom in and display only the outlined
area.
Examples:
A border is traced around an area using the lasso tool, coloring it green.
Once selection is complete, only the zoomed-in outlined area show in the chart.
Do the following:
Enter a scale value by expression for mean value. This allows the system to choose color range that
defines a median color scale. You can also insert a scale string into the expression in the Expression editor
() under Appearance > Options > Mean scale value in the properties panel. When no mean is used, the
mean scale value should be set to 0.
Toggling titles
This option hides the name of the heatmap chart. Click Appearance > General in the properties panel, and
toggle the Show titles slide button.
Limitations
For information about general limitations, see Limitations (page 461).
When to use it
The multi KPI chart is useful when you want to easily view, understand and track the performance of your
goals. It is also helpful when you want to customize individual KPI values using conditional formatting. You
can link KPIs to separate sheet and insert objects to represent information or data.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Multi KPI object to the
sheet.
2. Click the Add measure button and select the main measure of the KPI chart. The main measure
and a KPI value for the chosen measure is displayed.
3. Click Add under Data > Dimensions in the property panel and select dimension.
When you have selected measure and dimension, a multi KPI chart is displayed.
Example:
A chart with the measure (Margin %) shown for different values of the dimension (City).
Example:
A chart with a two measures (Margin %, Quantity) grouped per dimension (City).
For conditional settings options, see Changing a measure/label color (page 484).
Limitations
For information about general limitations, see Limitations (page 461).
KPI values can also be customized independently by differentiating them using one ore more css-
properties such as text color, background color, fonts, sizes, icons, labels, graphics.
1. You can also set your own color by clicking the easel symbol in the color palette and select color or
enter a color code string in the field next to the easel symbol. The colors should be valid css-colors.
2. Click Appearance > Styles in the property panel.
3. Click the Background color box.
4. Select color from the color palette that opens and the chart updates.
l Dimension labels: Select the size of the labels from the drop-down menu under Appearance >
Dimensions > Size in the property panel.
Do the following:
1. Select the size of the measures in the property panel under Data > Measures.
2. Select measure and click the Override parameters box.
3. Enter the label type as a string or in the expression under Label and select the size from the options
in the drop-down menu under Size.
Do the following:
You can also change the font using an expression in the Expression editor () or apply individual font css
properties entered through Appearance > Styles > Styles (CSS) in the property panel.
Changing icons
You can set a predefined icon to represent a value and/or label by selecting from the icon set. The icons
can then be further customized by differentiating using the colors, fonts, labels and sizes options.
Do the following:
3. Click OK. The pop-up will close and your chart update.
4. Choose whether to configure your label or value by selecting Label or Value under Icon position.
You can also change a value/label to an icon by entering an icon string under Icon (Data > Measures >
applicable measure in the property panel) and then press Enter. Thereafter click Label or Value under
Icon position depending on which you want to configure. It is also possible to change an icon using an
expression in the Expression editor (). The icons should be valid CSSicons.
Do the following:
1. Click the applicable measure under Data > Measures in the property panel and click the Icon
button.
2. Select an icon to represent a measure from the predefined icon set (Icons) that opens.
3. Click the Infographic mode button. The resulting KPI chart updates and graphically shows the
measures with applicable number of icons (max. 100 icons per measure).
You can also select an icon using an expression in the Expression editor ().
Do the following:
1. In the in the property panel go the Data > Measures and click Add.
2. Click the Expression editor () button.
3. Enter the string ='Drag and Drop here' into the Expression editor and click Apply.
4. Drag and drop a master visualization object into the value region of each measure placeholder.
You can also change insert the object ID string into the expression in the Expression editor () under
Visualization for each measure (Data > Measures > applicable measure in the property panel).
For icons, enter appropriate classes in the Icon field of the chosen measure under Data > Measuresin the
property panel. You can also enter the icon string using an expression in the Expression editor ().
Alignment
You can configure the main chart text alignment by selecting applicable box under Alignment of chosen
measure under Data > Measures in the property panel.
All KPIs can also be vertically aligned. This alignment can be adjusted to align top, bottom and center or as
stretched. Select applicable alignment from the Vertical alignment menu under Appearance > Styles in
the property panel. It is also possible to center align labels by checking the Center align labels in the
property panel under Appearance > Dimensions.
Number formatting
You can also custom format the KPI number values. Different formatting can be applied to the same
values. The chart updates to reflect the changed number type.
Do the following:
1. Click Data > Measures in the property panel and select applicable measure.
2. Select applicable number formatting from the Number formatting menu.
Format pattern
The text of a specific measure can be changed or removed.
Do the following:
Segment/card
It is also possible to configure the layout of the KPI chart where dimensions and values display in a
segment or card layout.
Do the following:
The segment layout can be configured horizontally or vertically under Appearance > Dimensions >
Orientation in the property panel. Click either the Horizontal or the Vertical buttons.
Borders
You can hide external and internal borders of the chart. By default all borders are visible. To configure
borders go to Appearance > Dimensions in the property panel and check , as applicable, Hide external
borders or Hide internal borders.
Do the following:
Do the following:
1. Existing parameters:
a. Click Appearance > Measures in the property panel.
b. Click either Horizontal or Vertical under Labels orientation to select how the labels should
display.
2. New parameters:
a. Click Data > Measures in the property panel.
b. Click applicable measure and check the Override parameters box.
c. Enter the label string under Label and press Enter.
Label order
You can also adjust the order in which measure value labels appear.
Do the following:
Icon order
You can decide where to show icons - before or after a value. In the property panel under Appearance >
Measures go to Icon order and click either the Icon, Value or Value, Icon buttons to select which displays
first in the chart.
Hide Labels
l Measure labels: This option hides the measure label of each KPI. To hide the labels click Data >
Measures in the property panel and select applicable measure. Then check the Hide labels box.
l Dimension labels: This option hides the dimension label of each KPI. To hide the labels click
Appearance > Dimensions in the property panel. Then check the Hide labels box.
Hide Values
This option hides the value for each KPI. To hide the value, click Data > Measures in the property panel.
Then check the Hide values box.
Another option is to enter a dimension value string under Dimension value and press Enter. The chart will
update. You can also enter the dimension value using an expression in the Expression editor (). The values
should be valid CSS values.
Do the following:
1. Click Data > Measures in the property panel and select applicable measure.
2. Move the Link to sheet slider to the right to turn the option on.
3. Click the Select sheet button and from the Select sheet pop-up click the page you want a link to.
The sheet will close and your pages link.
Limitations
For information about general limitations, see Limitations (page 461).
Network chart
The network chart (network chart) lets you draw a network of connected nodes and edges
from a data set to a sheet. A network chart shows how information flows, how components
interact, and where components exist in the network. The network chart is included in the
Visualization bundle.
A network chart can provide a broad overview or be very detailed. Nodes represent system components,
and edges show the movement of information from one component to another. Network nodes are
connected to the nodes they interact with the most. This visualization uses different styles, colors, sizes,
and images to represent different levels of a network.
What it contains
You need to define three dimensions, with a fourth optional dimension:
l Node identifier: This dimension controls which nodes are presented in the chart.
l Node label: This dimension sets the label of each node.
l Node parent: This dimension sets the parent of a node, and controls the relationships between
nodes. It needs to contain the value of the node identifier of the parent to connect to.
l Node group (optional): You can use this dimension to group nodes. All nodes in the same group will
have the same color.
You can use up to three measures to enhance the diagram. All measures are optional, but you need to add
them in the following order:
1. Tooltip: You can set a measure value that is displayed in a tooltip when hovering over a node.
2. Node size: You can set the size of the node according to a measure.
3. Edge size: You can set the width of the lines between nodes according to a measure.
You need to add a tooltip before you can set node size. You can set edge size after adding a
tooltip and node size.
When to use it
Network chart diagrams can illustrate computer or telecommunications networks. They show the
components of a network and how they interact. For example, a group of connected computers, printers,
modems, hubs, and routers. This type of chart is helpful when:
l A field that identifies the node, the node identifier. Node identifier values must be integer values,
starting from 0 and in sequential order.
l A field with the name of the node.
l A field that defines the parent node. This value needs to be the node identifier of another node. If
this field is empty, and no other record refers to this node, a disconnected node is created.
It is also possible to use a hierarchical data model where each node has a single parent. This
will create a tree-shaped chart.
Here is some example data that you can save in a text editor and load in a new app. You need to load both
example files. The example shows passenger flows between different airports.
Example 1: Airports1.csv
ID;Name;LinkTo;Group;Volume
0;Frankfurt;;0;
1;London;0;1;5
2;Madrid;0;1;4
2;Madrid;1;1;8
3;Warsaw;0;1;7
4;Arlanda;0;1;1
3;Warsaw;1;1;5
4;Arlanda;1;1;6
5;Tunis;0;2;8
5;Tunis;2;2;4
6;Berlin;0;1;6
6;Berlin;4;1;4
7;Rome;0;1;6
7;Rome;6;1;3
8;San Francisco;0;3;2
9;New York;0;3;9
Example 2: Airports2.csv
ID,NodeVolume
0,48
1,24
2,16
3,12
4,11
5,12
6,13
7,9
8,2
9,9
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Network chart object
to the sheet.
2. Click the top Add dimension button and select ID as the node identifier.
3. Click the second Add dimension button and select Name as the node label.
4. Click the third Add dimension button and select LinkTo as the parent node.
5. Click Data in the properties panel. Click the Add button under Node group and select Group as the
group dimension.
6. Under Measure, click the Add button under Tooltip, and select Volume > Sum(NodeVolume).
7. Click the Add button under Node size, and select Volume > Sum(NodeVolume).
8. Click the Add button under Edge size, and select Volume > Sum(Volume).
Examples:
l Hide edge label value: This option hides the edge label of the network chart. Toggle the slide
button under Settings > Display edge value in the properties panel.
l Edge label position: This option decides where on each chart curve the edge value displays, for
example: above or below. Select applicable option from the menu.
Sorting
Sorting is set to Auto with the system choosing the sorting order as the default (under Sorting > chosen
dimension or measure in the properties panel) for all dimensions and measures. You can change them
individually by expression.
Do the following:
1. Open the dimension or measure menu under Sorting in the properties panel.
2. Move Sorting slide button to the left to turn the option from Auto to Custom.
3. Click the Sort by expression check box.
4. Enter an order string under Expression and press Enter. You can also change the color using an
expression in the Expression editor ().
5. Choose start order by selecting Ascending or Descending for the menu below.
Number formatting
It is possible to format the measure value. Different formatting can be applied to the same value, for
example: money, data,or duration. The chart updates to reflect the changed number type.
Do the following:
1. Click Data > Measures in the properties panel and click chosen measure.
2. Select applicable number formatting form the Number formatting menu.
3. Enter details in the panel fields. These display when choosing an option other than Auto when to
configuring the chart.
Limitations
For information about general limitations, see Limitations (page 461).
Org chart
You can use the org chart (Org chart) to create organization charts from data with a tree
structure. You can navigate through the hierarchy by expanding and collapsing the tree. The
org chart is included in the Visualization bundle.
You need to use a data set with two dimensions that define the tree structure.
l The first dimension needs to be the ID of the node. This would typically be an employee ID in a
traditional organization chart.
l The second dimension needs to be the ID of the parent node. This would typically be the employee
ID of a manager.
This connects to the first dimension to create a tree structure.
If this value is empty or points to a node that does not exist, the node becomes a root node at the top
of the tree.
l If a node has more than 99 children, the excess children nodes will not be rendered.
A message is displayed: Maximum number of child nodes reached, nodes are omitted.
l You should avoid having a large number of rows that do not have a parent node. These will be
shown as root nodes. The maximum number of root nodes is 99.
Do the following:
l Expand the first dimension and set an expression that returns a color or a color code under Card
background color. You can refer to data fields in the expression.
l Set a background color under Appearance > Presentation > Background color. You can set all
cards to a single color, or use an expression. If you use an expression you cannot refer to data
fields.
You can also set the color of the text with Appearance > Presentation > Font color.
1 dimension up to 9 A table with one row for each dimension value and one column for
measures each measure.
2 dimensions up to 8 A pivot table with one row for each value of the first dimension and one
measures column for each measure pivoted using the second dimension.
Do the following:
1. Make sure that Enabled is set to On under Appearance > Color by condition.
2. Select which rows to color by performance.
Set Color all rows by condition to Specified rows.
Add rows to color by name (dimension value) with Add row to color.
3. Select which measures to color by performance.
Set Color all measures to Specified measures.
Add a list of measures by number in Measure indices with the first measure of the chart numbered
zero. Separate the measures with a comma.
0,2,4
4. Set performance limits and colors.
You can set the range limits for Poor and Fair.
l All cells with a value lower than the Poor range limit are displayed with the background color
and text color set for Poor.
l All cells with a value lower than the Fair range limit, but higher than Poor, are displayed with
the background color and text color set for Fair. You should set the Fair range limit higher
than Poor.
l All other cells are displayed with the background color and text color set for Good.
You need to be able to add and load a CSV file to the app.
Do the following:
1. Create a style template as a CSV file. Use the style template format described below.
2. Load the style template to your app as one field. When you add the file, do not use semicolon as
field separator, each row should be loaded as one field.
3. Set Style template field under Appearance > Table format to the name of the template field you
added.
You can load several style templates in your app, and change the layout with Style template field.
The style template rows need to align to the data in your first dimension. You need to refer to a dimension
value in the template. The dimension value should be first in every row. You do not need to specify all
rows/dimension values in the template. The style template can contain maximum 5000 rows.
Each row in the template should be in the following format. It is not required to use a header row.
DimensionValue;Bold;Background;FontStyle;TextColor;Align;FontSize;Comment
l DimensionValue
The dimension value of the row that you want to style.
l Bold
Set to <bold> if you want bold text.
l Background
Set a background color. You can use <dark>, <night>, <soft>, <red>, <orange>, <violete>,
<blue>, <green> or a color code in RGB format, for example rgb(183,219,255). The default
background color is white.
l FontStyle
You can set the font style to <italic> or <oblique>.
l TextColor
You can set the color of the text to <white>. The default background color is black.
l Align
You can center align the text with <center>. The default alignment is left for text and right for
numeric values.
l FontSize
You can set the font size to <large>, <medium> (default) or <small>.
l Comment
You can use the <comment> tag to replace all zero values with a space. This is useful when you want
to include a sub header row. without values.
You can also use the style tags in any order, and exclude tags that are not used. These rows will give the
same result:
Operating expenses;<bold>;;<italic>;;;;
Operating expenses;<italic>;<bold>
To use this template, you need a data file where the first dimension contains values that correspond to the
first item of each row, for example Cost of goods sold.
P&L pivot chart styled with the layout template in the example
Limitations
For information about general limitations, see Limitations (page 461).
l There is a limitation for data transfer between Qlik Engine and P&L pivot. This limits each request
for data to 10000 elements, for example, 1000 rows and 10 columns. P&L pivot can make
automatic requests for more data using pagination.
You can set the limit of how much data to request with Pagination > Max pagination loops. The
default value is 20000 elements (20k cells) and the maximum value is 40000 elements.
You can also modify the error message displayed to the user when the data limit is exceeded. The
recommended workaround when the data limit is exceeded is to apply filters to the data to limit the
data transfer.
l It is not possible to convert a P&L pivot chart to another visualization or convert another
visualization to a P&L pivot chart.
Radar chart
The Radar chart (Radar chart) displays a two-dimensional chart using radial axes to chart
one or more groups of values over multiple variables. Radar charts can be used to visualize
and compare performance to a set standard or to a group's performance. The Radar chart is
included in the Visualization bundle.
Radar charts requires two dimensions and one measure. The y-axis goes from the center to the perimeter
and the x-axis is the perimeter of the chart. Each value represents the distance from the center of the chart,
and displays on axes starting from the center. The center of the chart represents the minimum value, and
the edge the maximum value.
A radar chart can show multiple series, each separately connected with their values. The data only goes
around the chart once. Adding values only increases the chart's granularity.
A radar chart with one axis for each month of the Date.Month dimension.
When to use it
Radar charts let you compare and measure data with an arbitrary number of variables. This is helpful when
comparing something's features or performance over several metrics. For example: before buying a
computer, you can compare different computers across several features, such as memory storage,
processing, and screen size. A radar chart is also useful when:
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Radar chart object to
the sheet.
2. Click the top Add dimension button and select the first dimension category to be measured (x-axis).
3. Click the second Add dimension button to select the second dimension (y-axis).
4. Click the Add measure button to select the measure of the chart.
Once dimensions and measure have been selected the radar chart displays automatically (in color) in the
chart field.
Do the following:
Limiting dimensions
You can set limits on your dimension values. To change limitations and terms go to Data > Dimensions in
the properties panel. Click dimension, and under Limitation choose a limitation from the menu.
Toggling titles
This option can hide the name of the radar chart. To toggle the name, click Appearance > General in the
properties panel. Move the Show titles slide button.
Number formatting
The default setting for Number formatting for measures and dimensions is Auto. You can change this
setting to Number, and then select a number format.
Limitations
Radar charts have the following limitations:
l Radar charts can only process 100 unique values per dimension.
l Exported radar charts will not include the chart legend.
l For information about general limitations, see Limitations (page 461).
Sankey chart
The Sankey chart (Sankey chart) lets you add a specific type of flow chart to the sheet you
are editing. The chart visually emphasizes major transfers or flows within defined system
boundaries. The width of the chart arrows is shown proportionally to the flow quantity. The
Sankey chart is included in the Visualization bundle.
l A minimum of two dimensions and one measure is required. You can use up to five dimensions, but
only one measure.
l The dimensions do not need to be of equal size on each side of the diagram.
l You can use the dimension values to set the color of the flows in the chart.
l Link colors can be based on source or target anchor.
A chart with a source dimension (Quarter) and the target dimension (Year).
When to use it
The sankey chart is useful when you want to locate the most significant contributions to an overall flow. The
chart is also helpful when you want to show specific quantities maintained within set system boundaries.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Sankey chart object
to the sheet.
2. Click the top Add dimension button and select the source dimension for the flow of the chart
(appears to the left).
3. Click the second Add dimension button to select the target dimension for the flow of the chart
(appears to the right).
4. Click the Add measure button to select the measure of the chart.
Once dimensions and measure have been selected the sankey chart diagram displays automatically (in
color) in the chart field.
A chart with three dimensions: the source dimension (Origin), the target dimension (Decision) and one additional
(Destination).
Sorting
Sankey chart elements are automatically sorted from largest to smallest flow. You can change the sort
order in the property pane.
Do the following:
Link colors
The colors of chart links are based on either the source or target anchors. To apply the source or target
anchor color to chart links either use the string ='SOURCE' or ='TARGET'. You can also select a separate
color by entering a color code string. The color should be a valid CSS color.
Do the following:
You can also change the link colors using an expression in the Expression editor (). It is also possible to
color a link that has its intensity based on the Margin % of the dimension values it represents.
Example:
Enter the string =rgb(round(Avg ([Margin %])*255), 100, 100) where Margin % is a value between 0-1
and the link will display as red in the chart.
Link opacity
You can adjust link opacity by moving the slide button of the link opacity slider under Appearance > Link
opacity in the property panel. Also, setting opacity to 1 (furthest right) allows the setting to drop a shadow,
giving links a more individually distinct appearance.
Node colors
You can change the node colors of each dimension value. The color should be a valid CSScolor.
Do the following:
1. Select applicable dimension under Data > Dimensions in the property panel.
2. Enter the color code string under Node color and press Enter. The chart will update.
For example: To use the color Aqua (#00ffff) set the color code string to ='#00ffff'. You can also
set the node colors using an expression in the Expression editor ().
Do the following:
Limitations
For information about general limitations, see Limitations (page 461).
Trellis container
You can use the Trellis container to show a trellis chart based on a master visualization. The
trellis chart shows a grid of the same chart for different dimension values. You can use the
trellis chart to compare metrics for different groups of data. The Trellis container is included in
the Visualization bundle.
Trellis chart based on a bar chart of sales data, shown for different product categories
Do the following:
1. Create the chart that you want to repeat for different dimension values and save it as a master
visualization.
2. In the assets panel, open Custom objects > Visualization bundle and drag a Trellis container
object to the sheet.
3. Select which master visualization to show in Appearance > Trellis options > Base visualization in
the property panel.
4. Select the dimension that you want to use as the first grid dimension in Data > Dimensions.
5. Optionally, add a second grid dimension to create a grid with one dimension in each axis.
You will now see a grid of charts, each based on the grid dimensions you selected.
Troubleshooting
I do not see a grid of charts, and receive this message: Too many dimension values!
Possible cause
There are more dimension values than the maximum number of charts allowed in the grid.
Proposed action
You can increase the number of charts allowed in Appearance > Trellis options > Maximum number of
charts.
l On will show the same range for all charts. This is the best option if you want to compare values
between different charts.
l Off will show an optimized range for each chart.
Show border
You can show a border for the trellis chart with Appearance > Trellis options > Border. You can adjust
width, color and style. It is also possible to define a custom border.
Slide mode
You can view the charts in slide mode instead of a grid by setting Appearance > Trellis options > Slide
mode to On. In slide mode, you view one chart at a time. You can scroll between the charts.
l Show the title in the master visualization. In the trellis chart, the title is replaced with the grid
dimension value of each chart.
l If you use expressions: create a label to hide the set expression.
l If you are using a combo chart: use only one axis, and set the minimum and maximum of the y-axis.
l If you are using a box plot: set the minimum and maximum of the y-axis.
l If you are using a scatter plot: set the x-axis.
l If you are using a map: use advanced mode, and set the layer color and title.
You can use the following placeholders in formulas in the master visualization. They will be replaced in the
trellis chart by the corresponding values:
Limitations
For information about general limitations, see Limitations (page 461).
Unsupported visualizations
You cannot use the following visualizations in a trellis chart:
l Filter pane
l Histogram
Selecting by dimension
If you make a selection on the dimension that is used as grid dimension in the trellis chart, the selection is
not reflected in the trellis chart.
Example:
You have a filter pane with countries, and a trellis chart with country as the first grid dimension. When you
select a country in the filter pane, the trellis chart will still show a chart for each country and ignore the
selection.
You need to use two measures, start value and end value, and one bridge dimension.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Variance waterfall
object to the sheet.
2. Click the Add dimension button to select the bridge dimension.
3. Click the first Add measure button to select the measure to use as start value.
4. Click the second Add measure button to select the measure to use as end value.
The variance waterfall chart is now displayed with one bar for the start value measure and one bar for the
end value measure. Between the measure bars you will see the variance for each value of the bridge
dimension.
Labels
You can turn off value labels by setting Appearance > Presentation > Value labels to Off.
Legend
You can customize the legend labels by setting Appearance > Presentation > Labels to Custom. You can
set a custom text for the following legend labels:
You can also hide the legend by setting Appearance > Colors and legend > Show legend to Off or
change the position of the legend with Appearance > Colors and legend > Legend position.
Dataset
The dataset we use contains sales numbers and budgeted sales for each quarter. You can paste it into a
text file and load it in Qlik Sense.
Quarter,Sales,Budget
Q1,9,10
Q2,14,12
Q3,12,12
Q4,18,14
Visualization
You can now create a variance waterfall chart.
The variance waterfall chart is created. We have adjusted the labels and colors in the example.
You can clearly see that Q1 had sales below budget, but the year ended with sales over budget, and that
Q4 was the largest contribution.
Limitations
For information about general limitations, see Limitations (page 461).
A word cloud chart displaying food items in different sizes and colors.
Requirements
Word cloud charts must have one dimension and one measure.
When to use it
A word cloud chart lets you visualize and identify the importance of a value against a measure. The more
important the value is against the measure, the larger it displays in the cloud.
Do the following:
1. In the assets panel, open Custom objects > Visualization bundle and drag a Word cloud chart
object to the sheet.
2. Click the Add dimension button and select the dimension.
3. Click the Add measure button to select the measure of the chart.
Once a dimension and a measure have been selected, the word cloud chart displays automatically.
l 1 will display all words in the same direction, set with Appearance > Design > Start angle.
l 2 will display words in two orientations, Appearance > Design > Start angle and Appearance >
Design > End angle.
l 3-10 will display words in the same number of orientations between Appearance > Design > Start
angle and Appearance > Design > End angle.
Example:
If you set a large font size, this can result in the larger words not being displayed in the chart as they do not
fit.
Changing scale
The word could chart scale can be either in linear or in log scale. Select scale Linear or Log under
Appearance > Design > Scale in the properties panel. Only positive values can be used for the log scale.
Zero or negative values return nothing.
Do the following:
You can set your own color range by clicking the easel symbol in the color palette, and selecting a color.
You can also enter a color code string in the field next to the easel symbol. The colors should be valid CSS
colors.
Do the following:
A word cloud chart displaying food items in different sizes and colors.
Formatting numbers
It is possible to format the measure value. Different formatting can be applied to the same value, for
example as money, date, duration. The chart updates to reflect the changed number type.
Do the following:
1. Click Data > Measures in the properties panel and click a measure.
2. Select applicable number formatting form the Number formatting menu.
3. Enter details in the panel fields. These display when choosing an option other than Auto when
further configuring the chart.
Limitations
For information about general limitations, see Limitations (page 461).
l The word cloud chart can handle maximum of 100 words per entry.
l Words that take up more space than the chart are not displayed. You can adjust the font size to
show more values, but we do not recommend that you use fields with long text values.
l Word cloud charts cannot be used in Qlik NPrinting reports.
Your visualization design is guided by the data in your fields and the unlimited potential for exploring
associations and correlations through measures and dimensions.
Insight Advisor offers assisted visualization creation. With Insight Advisor, you can
l Select types of analysis you want to see and generate visualizations of that type.
Creating analyses by selecting analysis types (page 531)
l Ask Insight Advisor what you want to see and let it generate visualizations.
Creating analyses using search (page 533)
l Select fields and master items and let Insight Advisor generate visualizations.
Creating analyses by asset selection (page 534)
For more information about creating visualizations with Insight Advisor, see Creating visualizations with
Insight Advisor (page 530).
Insight Advisor also can offer suggestions based on fields of interest when you make your own
visualizations. For more information, see Creating visualizations using Insight Advisor chart suggestions
(page 551).
After creating a visualization, you may want to make adjustments to improve how it conveys information to
users. For example, you can change the data used, or adjust the appearance of the visualization. You can
add more dimensions or measures for further depth of information or remove some to improve clarity.
Learn more about editing your visualizations here: Editing visualizations (page 526)
Adherence to design principals and clear communication of information is key to creation of apps that
engage and invite data discovery. All skill levels will benefit from reviewing best practices for designing
visualizations. See Best practices for designing visualizations (page 527)
Creating visualizations
You create visualizations by dragging the chosen type of visualization onto the sheet from the assets panel
and configuring its properties settings. For instructions on creating specific types of visualizations, see that
visualization type in Visualizations (page 140).
Do the following:
1. Drag the visualization from the assets panel onto the sheet, or double-click the visualization.
2. Add dimensions and measures to the visualization.
You can add dimensions and measures using the buttons on the visualization. Or you can drag a
field from the Fields tab of the assets panel, and then select it to use it as a dimension or measure.
The number of dimensions and measures that are required depends on which visualization you
select.
3. Adjust the presentation: for example: sorting, coloring, or labeling.
For more information, see Changing the appearance of a visualization (page 570).
You can also add a visualization by copying visualizations. This is useful if you want to use
existing visualization settings in another visualization type. For more information, see Copying
a visualization from an existing visualization (page 564)
Custom objects are added in a similar manner. You start creating a visualization by dragging a
visualization extension onto the sheet. For more information, see Creating a visualization using a custom
object (page 563).
You can use containers to save space on your dashboard, by quickly switching between tabs with different
visualizations.
The types of data you have in your tables and fields impacts whether they can be used as dimensions or
measures.
l Dimensions determine how the data in a visualization is grouped. For example: total sales per
country or number of products per supplier. For more information, see Dimensions (page 74).
l Measures are calculations used in visualizations, typically represented on the y-axis of a bar chart
or a column in a table. Measures are created from an expression composed of aggregation
functions, such as Sum or Max, combined with one or several fields. For more information, see
Measures (page 77).
l You can use Insight Advisor Search to generate visualizations based on your searches or
selections. You can then choose to add these visualizations to your sheets.
l You can use Insight Advisor Analysis Types to generate visualizations by picking the type of
analysis you want to see and then selecting the fields. You can then choose to add these
visualizations to your sheets.
l You can create visualizations using Insight Advisor chart suggestions by dragging a field onto the
sheet from the assets panel and then dragging additional fields that you want in the visualization
onto the first field. Qlik Sense then creates a suggested visualization based on the fields selected
for the visualization. For more information, see Creating visualizations using Insight Advisor chart
suggestions (page 551).
Editing visualizations
After creating a visualization, you may want to make adjustments to improve how it conveys information to
users. For example, you can change the data used, or adjust the appearance of the visualization. You can
add more dimensions or measures for further depth of information, or remove some to improve clarity, and
streamline a visualization.
The data in a visualization can be changed. For example, you might correct an invalid dimension or
measure, or unlink a measure from a master measure so you can modify it without changing the master
measure. For more information, see Changing the data of a visualization (page 565).
The appearance of a visualization can be edited to improve design and enhance understanding. There are
a number of different ways you can adjust the appearance of your visualizations:
l Colors: Coloring is one of the best ways to highlight values in your visualizations. Qlik Sense
provides a range of different coloring options.
For example, you can assign specific colors to the distinct values in a master dimension to ensure
that those values use the same colors across all your visualizations.
For more information, see Coloring a visualization (page 578).
l Sorting: The sorting of your dimensions and measures helps ensure that content is presented in a
logical and understandable manner.
For more information, see Change the sorting of a visualization (page 575).
l Titles and labels: Titles and labels can be changed for clarity and detail.
For example, in a pie chart showing sales by region, you could add an expression providing the total
sales sum.
For more information, see Changing the appearance of a visualization (page 570).
l Presentation: Different visualizations have different options that can be adjusted to enhance the
display of data.
For example, you can set bars in a bar chart to display as grouped or stacked, as well as vertically
or horizontally.
For more information, see Changing the appearance of a visualization (page 570).
You can convert a visualization into another visualization type, and preserve your settings. For more
information, see Converting a visualization to another kind of visualization (page 598).
Do the following:
Less is more
Users often try to include too much information in one app. Line charts with several measures can be
confusing and difficult to interpret. Try creating several smaller visualizations to spread this information out
onto the page. It also allows the reader to efficiently compare and contrast visualizations that are side-by-
side. You can also use alternative dimensions and measures to allow the reader to quickly switch between
measures without overcrowding a visualization. For more information, see Changing the data of a
visualization (page 565).
There are number of different ways you can improve the aesthetics and functionality of your app.
Depending on your audience and what data you want to highlight, the way you design your visualization
may have a serious impact on the reader's interpretation of the data.
l A subset of data being displayed in bar charts and line charts. When the number of dimension
values exceeds the width of the visualization, a mini chart with a scroll bar is displayed.
l Collapsed menus for selecting data filters. When the number of dimension values exceeds the
space available for the filter pane, the menu is collapsed. App consumers have to click on the
dimension name in the title of the filter pane to open a new pane. They can then make their
selections in the new pane. Additionally, when there is limited space, dimension names may appear
as ellipses in filter pane titles. App consumers have to click on the ellipses to view the name of the
filter pane.
l Truncated names in chart legends. Names that are too long for the space available for dimensions
and measures are truncated. An ellipses is added to the end of truncated name. App consumers
can hover their mouse pointer over the truncated name to view the complete name.
l Missing legends, labels and titles.
App consumers can expand visualizations to address some of these issues. However, we recommend that
you test your apps on devices where the apps may be consumed. You can also use various tools to test,
such as responsive design mode in Firefox (Ctrl + Shift + M). If necessary, you can move visualizations to
new sheets, reduce the amount of data shown in visualizations, and so on.
Color accessibility
The spectrum of colors is narrower for people who have color-based visual impairment. They may interpret
your visualization differently than you intended.
For example, some people see the colors red and green more as yellow or brown. This form of red-green
color vision deficiency is the most common. This is worth noting since red often carries a negative
connotation in data visualizations, especially in finance.
A red or green KPI status can be confusing. You can use shapes with colors as performance indicators to
make your designs more accessible. For example, use a red empty circle to denote bad, a green full circle
for good, and a triangle as a warning symbol that only appears when a KPI status is at an unacceptable
level.
Lines, bars, and pie slices can be difficult to distinguish when the colors are distorted.
For more information, see Changing the appearance of a visualization (page 570).
Left placement
Several popular websites use left-side navigation tiles and filters. This is due to the fact that many
languages read from left to right. As a result, the left-side of the screen is where these readers look most
frequently. Users who are scanning for content tend to gravitate toward the left side of the screen. The
farther to the right objects are, the less users will look at them. If all your filters and icons are stacked
vertically on the left, it gives them equal weight.
Alternately, with languages where text is written right to left, the opposite of this is true. This should be kept
in mind if your apps are translated into these languages.
Top placement
Another common placement option for icons and filters is along the top of an app. By not placing filters or
icons on the left it gives more space for larger visualizations with distracting menus. When filters and icons
are placed above visualizations they are also seen as separate from the content below. This can help show
the reader that you are prioritizing the filters or icon. If all your filters and icons are side-by-side at the top,
the one furthest to the left carries more weight and is prioritized by the reader.
For more information, see Structuring an app using sheets (page 9).
Information hierarchy
Sometimes you want your reader to prioritize certain visualizations over others. You can show hierarchy of
information by using a few key design best practices. For example, you can use different sizes to
emphasize some visualizations. Larger information is seen as more important: by increasing the font or
chart size, you can show the reader where to look first.
Page placement also plays a part in information hierarchy. The information at the top of a page is perceived
as more important than information at the bottom of the page because it is read first. Information on the first
page is perceived as more important than information on the last page.
To help bring context to your KPIs, include supporting information next to the value in smaller text. For
example, you can compare the current KPI value with the value from the previous year. You can also add a
small bar chart without axes or values to provide information about the current trend.
Color abuse
Do not overdo colors. Be aware that the wrong color in the wrong place might cause confusion rather than
clarity. Also, the same color may mean different things in different parts of the world.
Visual clutter
Too much information defeats the purpose of clarity. Use a maximum of nine KPIs, and remove all visual
clutter.
Bad data
Spot and correct issues with your data before you present it. Do not let your visualization take the blame for
bad information.
You can also select fields and master items from the assets panel. Insight Advisor generates results based
on your selections.
Users can also access Insight Advisor in the hub with Insight Advisor Chat.
You can also create your own custom logical model for the app. Business logic lets you to define the
relationship and use of data in your logical model. When business logic is turned on, precedent-based
learning is not available. If you define calendar periods and set them as default periods, period analysis
and period performance analysis types are available.
As of August 2022, Insight Advisor, including business logic, is no longer supported with Qlik
Sense Desktop. In November 2022, Insight Advisor will be upgraded to a new experience. This
will only be available on Qlik Sense Enterprise on Windows. Users who want to continue using
Insight Advisor and business logic on Qlik Sense Desktop should not upgrade to August 2022.
Creating visualizations with Insight Advisor Analysis Types and Insight Advisor
Search
You can generate charts using Insight Advisor in three ways:
l Select the type of analysis you want to see and the fields or master items that should be used with it.
Insight Advisor Analysis Types then generates matching analyses .
l Ask Insight Advisor a question and let Insight Advisor Search generate charts using natural
language analytics.
l Select fields or master items and let Insight Advisor Search generate charts through auto-analysis
of your data.
The data assets available to you in Insight Advisor depend on if the app uses business logic to define its
logical model and your space permission. If you have Can view permission will only be able to see master
items, unless the app defines its logical model with business logic.
Click Create an analysis on the Insight Advisor start page. In Analysis options, all available analysis types
display with descriptions of their use.
Analysis options
After selecting an analysis type, you then select fields or master items to use in the analysis. Insight
Advisor offers suggestions of assets to use for each parameter. You can change analysis types by
selecting a new analysis type from the dropdown or clicking View all analyses to view the analysis options.
You can clear your selections by clicking Reset analysis.
Building an analysis
Do the following:
l Enter a natural language question or statement, such as what are the top products for sales or
Show me Product by Revenue in Sweden. Natural language questions work best when they refer to
field or master items directly.
For guidelines on using natural language in your searches, see Using natural language with Insight
Advisor (page 543).
l For information about language support in Insight Advisor Search, see Supported languages (page
538).
l If your browser's voice-to-text capability is supported in Insight Advisor, you can click the
microphone icon to ask Insight Advisor your query.
Qlik Sense Desktop does not support voice-to-text capabilities for queries.
Insight Advisor uses the fields or terms you specify. It may use additional fields in the generated
visualizations. Insight Advisor uses any precedents you have given it for hiding charts, setting fields as
dimensions or measures, or excluding fields from analysis. In Qlik Sense Enterprise, Insight Advisor can
use precedents learned from other published apps if they use a similar or identical data model.
For natural language queries, Insight Advisor tries to find a matching Insight chart result. If one is found, it
shows related results as well. You can click to view how Insight Advisor generated results from your
search query. .
If you receive the following error message: "Unable to generate insights - Please try again
later," you might not meet the CPU requirements for Insight Advisor.
Do the following:
l In a sheet, enter a question or statement in the Ask Insight Advisor search bar and click .
Alternatively, click Insight Advisor, enter a query in the Insight Advisor search bar and click .
Insight Advisor uses any precedents you have given it for hiding charts, setting fields as dimensions or
measures, or excluding fields from analysis. In Qlik Sense Enterprise, Insight Advisor can use precedents
learned from other published apps if they use a similar or identical data model.
Do the following:
If users want to restrict this information flow to their relevant third-party browser (turn off the voice-to-text
feature), this might be achieved through specific controls, including settings within their browser of choice
and other security configurations.
If an analysis is new, you can add it to your sheets. If the chart exists in a sheet, you can click the sheet
name at the bottom of the chart to go to that sheet.
Some analysis types, such as period over period dashboard, provide multiple related visualizations rather
than a single chart. These show a preview of the kind of visualizations included in the analysis. Click Open
analysis to view the analysis with data.
You can view additional options by clicking . The following options are available:
l Chart type: Select a different chart type. For an outline of the alternate chart types available for the
different analyses, see Insight Advisor analysis types (page 544).
l Favorable trend: (Rank analysis only) Indicate if the favorable trend for ranking is to increase or
decrease.
l Dimensions and Measures: Change the fields used as Dimensions or as Measures. You can
change the measure aggregation. Reorder measures or dimensions by dragging them.
Dimensions and measures from Insight Advisor analysis can be added to your master items. Click a
dimension or measure and then click Add new.
If you specified filters in a natural language query, such as specific field values, you can modify
them as well.
l Details: View information about why the chart was generated and the precedents Insight Advisor
has learned from a chart. Select details by clicking them to change or reject them. You can set fields
as dimensions or measures or exclude fields from future analysis. You can hide charts from future
analysis by selecting We suggested a chart for this combination of data and clicking Hide this
chart.
l Analysis period: Change which period from business logic calendar periods is applied to the chart.
You can adjust the analysis period by selecting new values from Period 1 or Period 2.
Select an analysis period for rank type charts to view period and period performance analysis types.
Analysis period is only available when business logic is turned on and calendar periods
have been created for the app. If there is no business logic, Analysis period is available
if the app has data/time fields with autoCalendar derivations in the load script.
l Period changes: Shows the change of a measure from the current or latest period in the selected
analysis period.
l Period changes (detailed): Compares a change in a measure from the current period to the
previous period. The change is measured using a forecasted target value. You define the
percentages for meeting the target, almost meeting the target, and missing the target.
l Period over period: Compares a change in a measure of the current period versus the previous
period.
l Period over period (detailed): Compares changes in a measure over time between periods. It
includes a filter pane for exploring dimension values period over period.
These analysis types have unique properties. Period changes and Period over period (detailed) have the
following properties:
l Breakdown: Select the dimension to use with the measure to view the period changes.
l Measures: Select the measure for which you want to see period changes.
l Analysis period: Select the analysis period. You can adjust the analysis period by selecting new
values from Period 1 or Period 2.
l Measures: Select the measure for which you want to see period changes.
l Analysis period: Select the analysis period. You can adjust the analysis period by selecting new
values from Period 1 or Period 2.
l Parameters: Set the limits for percentage limits expected change margin and expected change
rate.
l Favorable trend: Indicate if the favorable trend for the measure is to increase or decrease.
l Breakdown: Select the dimension to view the detailed period changes with the measure.
l Measures: Select the measure for which you want to see period changes.
l Analysis period: Select the analysis period. You can adjust the analysis period by selecting new
values from Period 1 or Period 2.
Insight Advisor learns your preferences for that chart if you add it to a sheet or click Learn after editing the
chart. Precedents set by a user only apply to that user's instance of Insight Advisor.
General properties are not available when business logic is turned on.
l Hidden recommendations contains charts you have hidden from searches. You can click to show
the chart again in searches.
l Learned recommendations contains charts you selected Learn on after editing. You can delete
learned charts by clicking .
l Your defined preferences shows all the preferences Insight Advisor has learned. You can delete
preferences by clicking .
You can clear all hidden charts, learned charts, and preferences by clicking Clear all.
Supported languages
Qlik Sense supports English natural language queries.
If your Qlik Sense deployment includes access to a Qlik Sense SaaS tenant, administrators can enable
additional support for the following languages:
l German
l Spanish
l French
l Italian
l Dutch
l Polish
l Portuguese
l Russian
l Swedish
English is used by default for browsers not set to a supported language. The language used for queries can
be changed by selecting a new language from the Language button. For more information, see Enabling
multi-language natural language queries in Qlik Sense Enterprise on Windows.
l Narrative insights for English only provide a general statement when the question includes more
than two filters or more than two data value filters on a dimension. The filters used are included in
the response, however.
Limitations
Insight Advisor has the following limitations:
l Insight Advisor supports master items that use dollar-sign expansions in their expressions with the
following limitations:
l Expressions and captions for master items are expanded once and the results are cached.
The dollar-sign expressions are not reevaluated until the expressions change or the cache
expires (usually 30 days after the evaluation).
l Dollar-sign expressions that are defined in a way that expands to values, such as =sum
(Sales) are not supported. These expressions cannot be combined with filters in Insight
Advisor. Dollar-sign expressions must expand to expressions to be used in Insight Advisor.
l In published apps, only master items are available for use in Insight Advisor. Insight Advisor Chat
can use fields from published apps when creating Insights charts. If you go to Insight Advisor using
from Explore this further, your search may not be available.
l If a field name contains only numerical values, that field will be used when generating results from a
natural language query instead of a superlative (such as top or bottom with the same numerical
value).
For example, if you searched for top 3 service providers and one of your fields was named 3, 3 will
be used in the query results instead of the top 3 results for service providers.
l Narrative insights are not always included with supported analysis types, depending on how a
natural language question is processed and the data being used.
l Narrative insights only provide a general statement when the question includes more than two filters
or more than two data value filters on a dimension. The filters used are included in the response,
however.
l Narrative insights are not available for queries with multiple dimensions or three or more measures.
l Ranking
l Trend over time
l Comparison
l Breakdown (geospatial)
l Clustering
l Correlation
l Process control (mean)
Insight Advisor is available from the sheet view of an app. Click the Insight Advisor button to open Insight
Advisor.
From Insight Advisor, you can start generating analyses with Insight Advisor Search or Insight Advisor
Analysis Types.
Insight Advisor
Enter a question or select fields from the assets panel to start creating analyses with Insight Advisor
Search. Click Create an analysis to start building analyses with Insight Advisor Analysis Types. You can
also select from the common analysis types to start with Insight Advisor Analysis.
Search box
Insight Advisor charts can be added to existing or new sheets. Charts can also be downloaded as an
image, PDF, or as an Excel spreadsheet containing the data used in that chart.
Properties panel
The properties panel contains options for editing analysis and changing the precedents you have set in
Insight Advisor.
In General properties, you can view and edit your charts and the precedents you have set for generating
analysis. For more information, see Managing general properties (page 537).
In Analysis properties, you can edit an analysis and view details. You can see the Analysis type used to
create the chart. Click to learn more about the analysis type used. For more information, see Editing
Insight Advisor analysis properties (page 536).
You can search for facts, comparisons, and rankings. Facts are statements such as What are my sales, or
Show expenses over time for 2019. You can ask for a comparison by adding vs or compare to your query.
For example, Compare sales to expenses over time. You can ask for rankings by adding top to your query.
For example, Show me top 10 product by sales for 2020.
English is used by default for browsers not set to a supported language. The language used for
queries can be changed by selecting a new language from the Language button. For more
information, see Enabling multi-language natural language queries in Qlik Sense Enterprise on
Windows.
If your Qlik Sense deployment includes access to a Qlik Sense SaaS tenant, administrators
can enable support for additional languages. For more information on supported languages in
Insight Advisor Search, see Supported languages.
Natural language searches need to reference field names and values in your data model. You can also tag
master items with synonyms using tags on your master items. Use the format alt:<term> in synonym tags.
If you wanted to use cities as a synonym, you would tag the master item alt:cities. For more information,
see Tagging master items (page 118).
When searching field values, natural language queries only search the first 100,000 values per
field in the query.
For more information about natural language queries, see Qlik Sense Natural Language Query features.
Different analysis types are used depending on the inputs of the query and the characteristics of your data.
The Qlik cognitive engine determines the best analysis type for your query depending on the available
data. The following table describes the analysis types. Not all conditions for each analysis type are listed.
The table also lists charts potentially available as alternatives when editing an Insight Advisor analysis.
Analysis types
Analysis type Description Dimensions Measures
Trend over Show data trends over time, optionally broken 1 date/time 1-3
time down by a dimension with low cardinality. dimension and
optionally 1 other
dimension
Values (table) Show data organized in rows and columns that 0-10 0-10
show measures and dimensions.
The following examples show ways that Insight Advisor charts can be edited through properties and the
expression editor to enhance visualizations that best capture and frame your data. These examples are
based on charts that can be generated and then extended from the Insight Advisor business logic tutorial
app. .
Screenshots for these examples are from Qlik Sense SaaS and may differ in Qlik Sense
Enterprise on Windows. Screenshots in the examples may differ depending on the date on
which you loaded the business logic tutorial app.
Do the following:
1. In the business logic tutorial app, enter the query dependencies in the search box. Look for a result
displaying Mutual dependency between SalesOffice and selected items.
Default results for Mutual Information query
Discount.
Select the Label field. Replace SupplierCountry with Quantity and Sales.
Edit field parameters
b. Expand the measure PostalCode. Select in the Expression field to open the Edit
expression dialog.
Edit the expression by replacing SalesOffice with Sales and replace PostalCode with
SupportCalls.
Select the Label field . Replace PostalCode with Support calls and Sales.
c. Expand the measure City. Select in the Expression field to open the Edit expression dialog.
Edit the expression by replacing SalesOffice with Discount, and replace City with Cost of
Sale.
Select the Label field. Replace City with Discount and Cost of sale.
d. Delete the measure Country by right-clicking on the measure and choosing Delete.
7. Edit the X-axis range. These three measure comparisons all represent high levels of dependency.
To emphasize the differences in values and make the chart more interesting, modify the range of
the bar chart:
a. Expand the Appearance section and then X-axis.
b. Switch Range from Auto to Custom.
c. Select Min/Max for values to set. Set Min to 0.9 and Max to 1.
8. Select Done editing.
Mutual Information chart after editing
Do the following:
1. In the business logic tutorial app, enter the query Customer by Sales by Gross Profit in the search
box. Look for the result titled Customer clustered by sum(Sales) and sum(Gross Profit) (K-
Means).
Default results for kmeans query
2. Select Add to sheet in the lower right of this chart, then Create new sheet.
3. From the app overview, click Sheets to view the sheets. Select My new sheet and give the sheet a
Title and Description.For this example, name the sheet Customers clustered by sales and add the
description Kmeans applied to customer data by Sales and Gross Profit.
4. Select Edit sheet in the toolbar and select the k-means cluster chart.
5. Modify the scatter plot chart:
a. Enlarge chart: Make the chart larger to take up the canvas by dragging the lower right corner.
b. Edit the number of clusters argument. Expand the Appearance section and then Colors and
legend. Insight Advisor has colored the clusters by dimension. Select under the Select
dimension field to open the expression editor. Modify the num_clusters argument by
changing the value 0 to 6 (Insight Advisor utilized auto-clustering where if 0 is entered for the
number of clusters, an optimal number of clusters for that dataset is automatically
determined). Select Apply.
c. Edit axis ranges: The default chart that is generated shows range that is less than 0.
Negative numbers are not meaningful in this context and this range takes up space in the
chart. In the Appearance section, expand X-axis: Sales and change Range from Auto to
Custom. Note that Min automatically resets to 0. Expand Y-axis: Gross Profit and change
Range from Auto to Custom and note that Min automatically resets to 0 for the Y-axis as
well.
6. Select Done editing.
7. Deselect data: Data can be excluded from the chart by deselecting items that are not of interest. Exit
edit mode by selecting Done editing and open the Selections tool . Search for Customer and
select all customers except the following customers: Big Foot Shoes, Boleros, Bond Ltd, El
Carnevale, Fritid AB, Las Corbatas, The Fashion, and Vite.
KMeans scatter plot chart after edits
Do the following:
1. From the business logic tutorial app, enter the query Show me sales in the search box. Locate the
Period over period result.
2. Select the Period over period chart to display options to the right.
3. Expand Analysis period in the properties panel to display calendar period options.
4. Select Quarter comparison.
5. Change the value in Period 1 to 2020-Q1.
6. Change the value in Period 2 to 2021-Q1.
7. Sales now displays the results for the first quarter of 2021 compared to the first quarter of 2020.
Period analysis chart after changing the Analysis period
Insight Advisor chart suggestions enable you to select data fields and let Insight Advisor choose the
dimensions, measures, and visualization types. As you add or remove fields, the suggested visualization
adjusts itself based on your changes. You can customize a suggested visualization with a focused set of
properties.
If you started a visualization, enabling Chart suggestions will change your visualization to a suggested
visualization.
If you enable Chart suggestions and then disable them, you will lose changes made to your
visualization. You can restore your old visualization by undoing the changes. However, if you
navigate away from Sheet view or make changes in the assets panel, you will not be able to
undo and restore your visualization.
Do the following:
l Drag fields between Dimensions and Measures to change how a field is used. Moving a field to
Dimensions removes its aggregation. Moving a field to Measures assigns it an aggregation.
l Choose a different aggregation for a field used as a measure. Your aggregation choice will be used
whenever you use this field as a measure, while Chart suggestions is enabled.
l Use Change chart type to choose a different type of chart from the one suggested.
Tags Max 31 characters per tag and max 30 tags per master item.
Naming conventions
You can refer to a number of entities by their names in Qlik Sense, such as:
l Fields
l Dimensions
l Measures
l Variables
l Bookmarks
Some characters are reserved for system purposes in Qlik Sense. To avoid potential errors, avoid using
the following characters in names:
l :
l =
l [
l ]
l {
l }
l $
l ´
l `
l '
If you use long names for your dimensions and measures they will be displayed truncated. “...” will be
shown to denote that part of the name is hidden.
Number formats
To denote a specific number of digits, use the symbol "0" for each digit.
To denote a possible digit to the left of the decimal point, use the symbol "#".
To mark the position of the thousands separator or the decimal separator, use the applicable thousands
separator and the decimal separator.
The format code is used for defining the positions of the separators. It is not possible to set the separator in
the format code. Use the DecimalSep and ThousandSep variables for this in the script.
It is possible to use the thousand separator to group digits by any number of positions, for example, a
format string of "0000-0000-0000" (thousand separator="-") could be used to display a twelve-digit part
number as "0012-4567-8912".
Examples:
# ##0 describes the number as an integer with a thousands separator. In this example " " is
used as a thousands separator.
0000 describes the number as an integer with at least four digits. For example, the number 123
will be shown as 0123.
0.000 describes the number with three decimals. In this example "." is used as a decimal
separator.
Binary format To indicate binary format the format code should start with (bin) or (BIN).
Octal format To indicate octal format the format code should start with (oct) or (OCT).
Hexadecimal To indicate hexadecimal format the format code should start with (hex) or (HEX). If
format the capitalized version is used A-F will be used for formatting (for example 14FA). The
non-capitalized version will result in formatting with a-f (for example 14fa).
Interpretation will work for both variants regardless of the capitalization of the format
code.
Decimal format The use of (dec) or (DEC) to indicate decimal format is permitted but unnecessary.
Custom radix To indicate a format in any radix between 2 and 36 the format code should start with
format (rxx) or (Rxx) where xx is the two-digit number denoting the radix to be used. If the
capitalized R is used letters in radices above 10 will be capitalized when Qlik Sense is
formatting (for example 14FA). The non-capitalized r will result in formatting with non-
capital letters (for example 14fa). Interpretation will work for both variants regardless
of the capitalization of the format code. Note that (r02) is the equivalent of (bin), (R16)
is the equivalent of (HEX), and so on.
Format Description
Roman format To indicate roman numbers the format code should start with (rom) or (ROM). If the
capitalized version is used capital letters will be used for formatting (for example
MMXVI). The non-capitalized version will result in formatting with lower cap letters
(mmxvi). Interpretation will work for both variants regardless of the capitalization of
the format code. Roman numbers are generalized with minus sign for negative
numbers and 0 for zero. Decimals are ignored with roman formatting.
Examples:
Dates
You can use the following symbols to format a date. Arbitrary separators can be used.
D To describe the day, use the symbol "D" for each digit.
"MMM" denotes short month name in letters as defined by the operating system or by the
override system variable MonthNames in the script.
"MMMM" denotes long month name in letters as defined by the operating system or by the
override system variable LongMonthNames in the script.
Y To describe the year, use the symbol "Y" for each digit.
Symbols Description
"W" will return the number of the day (for example 0 for Monday) as a single digit.
"WW" will return the number with two digits (e.g. 02 for Wednesday).
"WWW" will show the short version of the weekday name (for example Mon) as defined by
the operating system or by the override system variable DayNames in the script.
"WWWW" will show the long version of the weekday name (for example Monday) as
defined by the operating system or by the override system variable LongDayNames in
the script.
Times
You can use the following symbols to format a time. Arbitrary separators can be used.
h To describe the hours, use the symbol "h" for each digit.
m To describe the minutes, use the symbol "m" for each digit.
s To describe the seconds, use the symbol "s" for each digit.
f To describe the fractions of a second, use the symbol "f" for each digit.
tt To describe the time in AM/PM format, use the symbol "tt" after the time.
Time stamps
The same notation as that of dates and times above is used in time stamps.
l Applying a state to the visualization. This connects the selection of the visualization to the selection
of the state.
l Using states in the set expression of a measure. This is useful to compare measure values of
different states.
You have now created a new alternate state that you can use to perform comparative analysis. Typically
you would want to create another new state to compare the two states.
The easiest way to apply an alternate state is dropping it on a sheet or a visualization, and then selecting
Apply state.
You can also apply an alternate state with the State setting in the property panel:
You can set the alternate state as an identifier in the set expression. If you want to use the measure Sum
(Sales) in your visualization, for example a bar chart, with a state called Group1 you use the following
expression as measure:
Sum({Group1}Sales)
To compare with a different state called Group2, you can create another measure with the expression Sum
({Group2}Sales).
The bar chart will now show sales for the selection in Group1 side by side with sales for Group2.
You may also want to be able to use information about which, and how many selections are made in a
alternate state in labels or titles of visualizations. You can use the following chart functions with the state_
name parameter to return selections associated with the specified state name:
Example:
Limitations
It is not possible to add visualizations to master items if you have set the state of the visualization to any
other value than <inherited>.
You have now created the two alternate states we need in this example.
Do the following:
You have now created the two filter panes that are used to control the selections of each of the two states.
When you make a selection in the Group 1 filter pane, the same selection is applied to the state Group 1
which is reflected in all visualizations connected to that state.
Do the following:
This expression sums the sales for all selections in the Group 1 state.
Set Label expression to 'Sales '&GetCurrentSelections(chr(13)&chr(10), '=', ',' ,9,'Group
1').
We use a label expression to be able to show the current selection of the state as a label in the
chart, instead of the default label.
2. Create another master item measure with name Group2Sales.
Set Expression to Sum({[Group 2]}[Sales]).
Set Label expression to 'Sales '&GetCurrentSelections(chr(13)&chr(10), '=', ',' ,9,'Group
2').
You have now created a bar chart that shows the sales by product line for the two groups of regions
selected in the filter panes. When you make a new selection in one of the filter panes, the corresponding
measure value changes according to the new selection.
Discovery
You can now make selections in Group 1 and Group 2, and see the results of the selected combinations of
regions in the bar chart.
l visualization extensions
l object bundles supplied by Qlik:
o Dashboard bundle (page 446)
o Visualization bundle (page 460)
You can find custom objects in the assets panel under Custom objects when you are editing a sheet.
You can build your own visualization extensions in the Dev Hub.
≤ For the Dev Hub, see Dev Hub .
Do the following:
You can drop it in an empty location on the sheet, split the area of an existing visualization into two,
or replace an existing visualization.
4. Change the required settings for the custom object in the properties panel. The required settings are
defined by the extension developer, this can be dimensions, measures, or other settings.
You now have a complete visualization that you can start using while exploring the data in the app.
For a copied visualization to work in a different app, the same dimensions and measures have
to be a part of the target app as well.
Do the following:
Depending on what situation you are in, different things will happen when you paste the copied
visualization on a sheet:
labels are evenly separated whether or not there is data for that point and the chart view is compressed to
avoid scrolling.
Continuous scale is supported for line charts, bar charts, and combo charts.
A continuous scale is most commonly used with date fields such as:
l Second
l Minute
l Hour
l Week
l Month
l YearMonth
l Quarter
l YearQuarter
l Year
l Date
l Timestamp
Do the following:
For example, you may want to add additional dimensions or measures to a chart to add depth to the
existing data. Alternatively, you may need to correct an invalid dimension or measure.
You can add a second measure, Gross Sales. The example line chart now gives use more context by
enabling a comparison of Gross Sales to Sales.
Do the following:
You can also create a dimension by entering an expression directly in the text box, or by
clicking to create a dimension in the expression editor.
If no measure is displayed, you need to create one. You can enter an expression directly
in the text box, or you can click to create a measure in the expression editor.
The dimension or measure is added to the visualization. The new dimension or measure settings are
shown in the properties panel.
You can add alternative dimensions and measure to all chart types but changing alternative
dimension and measures in the visualization can only be done in bar, line and combo charts.
Only alternative dimensions can be changed in the pie charts visualization and only alternative
measures in scatter plots.
Alternative dimensions and measures enable you conserve space on your sheets. Rather than make
multiple similar visualizations of the same type, you can use alternative dimensions and measure with a
single visualization. You can then switch between the displayed dimensions and measures. For example, if
you wanted to see total sales by product category and total sales by product subcategory, you could add
product category as a dimension and product subcategory as an alternate dimension in the same
visualization.
Alternative dimensions and measure enable you to have more dimensions and measures associated to a
visualization that the display limit. Many visualizations have limitations on how many dimensions and
measures that can be displayed at the same time. A line chart with two or more measures can only have
one dimension, and a line chart with two dimensions can only have one measure. Alternative dimensions
and measures enable you to exceed that limit.
Alternative dimensions and measures can be added like normal dimensions and measures in the
properties pane. You can also drag dimensions and measures in the Data section of the properties panel
into the Alternative dimensions or Alternative measures section.
Do the following:
You can also create a dimension by entering an expression directly in the text box, or by
clicking to create a dimension in the expression editor.
If no measure is displayed, you need to create one. You can enter an expression directly
in the text box, or you can click to create a measure in the expression editor.
If you create an invalid dimension or edit an existing one so that it becomes invalid, the dimension is
presented in the properties panel as dimmed with a red hue and the text Invalid dimension to indicate that
the dimension is invalid. If you use an invalid dimension in a visualization, the visualization cannot be
displayed.
If you create an invalid measure or edit an existing one so that it becomes invalid, the Expression text box
under Measures in the properties panel is presented with a red border to indicate that the measure is
invalid.
Editing a dimension
You can edit dimensions, including master dimensions, in the properties panel. Select the dimension that
you want to edit. Dimensions have the following properties:
l Field: Start typing the field name to display a list of matching fields to choose from. You can also
click to open the expression editor, where you can create a calculated dimension.
l Label: Enter a name for the dimension.
l Include null values: When this is checked, the visualization will include the null values of the
dimension, presented as a gap or a dash, depending on the type of visualization. For example, if
you have sales figures but do not have any information about what company the figures belong to,
the figures will be added to the measure value for the null value dimension.
l Limitation: You can limit the number of dimension values that are displayed.
l Show others: When you have set a limitation for the number of dimension values displayed, you
have an option to summarize the measure values for the remaining dimensions by selecting Show
others.
l Master item: Edit a master dimension to update all instances where the dimension is used, or
create a new master dimension by adding a dimension to the master items.
Editing a measure
You can edit measures, including master dimensions, in the properties panel. Select the measure that you
want to edit. Measures have the following properties:
l Expression: Enter the expression. You can also click to open and use the expression editor.
l Label: Enter a name for the measure. The label is not automatically updated when you make
changes in Expression.
l Number formatting: Set the number formatting for the measure values. The options Number and
Date offer custom formatting options for defining your own format pattern.
l Master item: Edit a master measure to update all instances where the measure is used, or create a
new master measure by adding a measure to the master items.
A visualization that is linked to a master item is indicated by Linked visualization on the sheet. You can
edit a master visualization to update all instances that use the visualization, or you can unlink a
visualization from its master to edit only the current instance of the visualization. Unlinking a visualization
does not unlink any master dimensions or master measures used in the visualization.
You can undo a deletion by clicking . Changing which sheet you are viewing will prevent you
from undoing your deletion.
Many of the settings have Auto options that support an optimal presentation of the visualization, taking into
account the number of dimensions and measures and the type of data used. Normally, you do not need to
change these settings, unless you have a special reason for doing so, for example, when space is very
limited.
General
Show titles: On by default in all visualizations except filter panes and text & image visualizations. Filter
panes have the name of each dimension, and in most cases do not need any additional title. The text &
image visualization includes an editing toolbar with many options to format the text, and therefore the title
field can be used for other purposes.
Title, Subtitle, and Footnote: Apart from the obvious use of title, subtitle, and footnote as text fields, you
can use these fields to also display an expression, which provides additional information that complements
the measure in the visualization. You could, for example, show the totals in the title field, so that the totals
of the selected values are always available.
Example:
In the following image, the total sales are calculated and used in the title. When a selection is made, the
total sales are updated accordingly.
The following string was used to add the Total Sales expression to the field Title:
Because the title field is primarily a text field, it is necessary to start the string with an equals sign (=), to
signify that the strings contains an expression.
Because 'Total Sales: $' is a text string when it is used in an expression, the string must be surrounded by
single quotation marks.
& 'M', finally, concatenates the expression with the unit M for million.
For the title there are three options for adding an expression:
l Directly in the title field of a visualization. Start the string with an equals sign (=).
l Directly in the box Title under Appearance in the properties panel. Start the string with an equals
sign (=).
l Through the expression editor in the box Title. Click to open the expression editor. No equals sign
is needed.
For the subtitle and footnote only the last two options are available.
Show details: Hide by default. When set to Show, users can click when analyzing to view details such as
descriptions measures and dimensions.
Presentation
Many of the presentation settings only apply to a certain visualization.
Bar chart Set the bars to be displayed grouped or stacked, vertically or horizontally.
Box plot Select to show whisker ticks and grid lines. You can show the visualization vertically
or horizontally.
Distribution plot Select to show point, background or both. You can show the visualization vertically or
horizontally.
Gauge Set the gauge to be displayed as a radial or a bar. You can set range limits and use
segments with limits.
Scatter plot Turn on/off navigation. Set the size of the bubbles in a scatter plot. Set the
compression resolution for large data sets in scatter plot.
Table Set the totals to be displayed at the top, bottom, or not at all.
Treemap Set the headers, labels, overlay labels, and leaf values. Select to show the data
values.
Example:
A bar chart with two dimensions is by default presented with the bars grouped.
Let us assume that you want to compare the total monthly quantity for these years. Then it would be a good
idea to switch to a stacked bar chart.
In the properties panel, under Appearance > Presentation there is an option Stacked.
With stacked bars it is easier to compare the quantity between different months.
Now it is quite easy to compare the quantities per month. There is a legend to display the years.
Under Colors and legend, Show legend is set to Auto, which means that the legend is displayed when
there is enough space. In the properties panel, you can also set where to display the legend and whether to
display the legend title.
There is only data for the first half of 2013 (red bars).
You can manually set the colors and legends by deselecting the Auto option and selecting your color
preferences. Qlik Sense enables you to color your visualizations by:
l Single color
l Multiple colors
l Dimension
l Measure
l Master items
l Expression
For more information on different visualization coloring options, see Coloring a visualization (page 578).
For examples of each of these methods of coloring visualizations and the settings used can be found, see
Example 1: Coloring by a dimension in the visualization (page 594).
Range: The measure axis (usually the y-axis) has an option to set the range of the axis. By default, the
range is adjusted according to the highest positive or the lowest negative measure value, but if, for
example, a single measure value is much larger than all the other values, you may want to set a range that
is suitable for the lower values. In the properties panel, under Appearance > Y-axis <measure name>,
there is a button for Range, which is set to Auto. Click the button to switch to Custom. Now you can set the
range for Max, Min, or both. In a bar chart, the bars that are out of the range are cut diagonally to indicate
that they are out range. In a line chart, only the parts that are within the range are visible.
Label orientation: You can change the orientation of data labels on the dimensions axis (usually the x-
axis). In the properties panel, under Appearance > X-axis <dimension name>, there is a drop-down menu
for label orientation. By default, this is set to Auto. If there is not enough room for a label to fully appear on
the chart, it will be truncated with an ellipsis. The following options are available:
l Auto: Automatically selects one of the other options depending on the space available on the chart.
l Horizontal: Labels are arranged in a single horizontal line.
l Tilted: Labels are stacked horizontally at an angle.
l Layered: Labels are staggered across two horizontal lines.
Most visualizations have a Sorting section in the properties panel where you can put the cursor on the
drag bars and drag the dimension or measure to rearrange the sorting order. In visualizations without a
sorting section, you can still adjust the sorting to some extent.
In the following screenshot, the primary sorting is on the measure Gross Sales.
Since there are two measures, Gross Sales and Sales, the bars are by default grouped. Gross Sales is
presented first, because it has sorting priority 1. If you were to drag Sales to the top of Sorting, the first bar
would be Sales and the second bar Gross Sales.
To sort by Year, instead, you need to drag Year to the top in Sorting. The bar chart is then updated and
sorted by Year.
In bar charts with multiple dimensions, sorting is locked to the first dimension. This dimension
is what groups and stacks are based on, and sorting on a different dimension or a measure
would break up these groups in an undesirable way. If you still want to sort by the measure
value, try using the option Sort by expression on the first dimension under Sorting.
Internal sorting
Apart from setting the sorting order between dimensions and measures, you can also set the internal
sorting order, under Sorting.
Click the dimension or measure name to open the settings and click the sorting button to switch to Custom
sorting. The following table shows the internal sorting priority order and sorting options. The sorting is
either Ascending or Descending.
Sorting options:
l Sort by expression (Enter an expression to sort by. Only available for dimensions.)
l Sort numerically
l Sort alphabetically
Additionally, you can sort by load order by switching to Custom and leaving all sorting options unselected.
If you have set a custom order for a field, that custom order will override any selected internal sort order in
Sorting.
Default sorting
By default, the dimensions and measures are sorted in the order they were added, with the most recently
added item last. Each dimension is sorted internally in the most common way for that type of data.
Numbers are sorted numerically, ascending. Text is sorted alphabetically, ascending.
Bar chart By default, a bar chart with one measure and one dimension is presented with vertical
bars sorted descending on the measure.
Box plot By default, a box plot is sorted by the center line. You can also sort by first whisker,
box start, box end or last whisker.
Combo chart Sorted by the first item added, either the dimension or the measure.
Gauge A gauge only uses a single measure value, the first one under Measures.
KPI By default, the first added measure becomes the main value.
Visualization Description
Map A map layer can only have one dimension. Sorting is used to determine the order
points or areas are added to the map.
Pie chart A pie chart uses one measure and one dimension. By default, a pie chart is sorted by
the measure in descending order.
Scatter plot The scatter plot does not have any sorting section, but the order of the measures
decides where they are used. The first measure is used on the x-axis, the second
measure is used on the y-axis, and the third (optional) measure is used for the bubble
size (it is used to set the color on large data sets) in the scatter plot. You can only
have one dimension in a scatter plot.
Table By default, the column presents the dimensions and measures in the order they were
added.
Sorting order of rows: By default, the table is sorted in ascending order by the first
dimension or measure under Sorting. You can temporarily change the sorting by
clicking the header of the row you want to sort on. One click - ascending order, two
clicks - descending order.
Text & image The text & image visualization does not have any sorting section, but you can drag
the measure tokens in the visualization to change the order.
Treemap The treemap does not have any sorting section. The sorting is automatically by
measure size.
Coloring a visualization
Qlik Sense automatically colors visualizations as they are added to your sheets. You can
manually set the colors in your visualizations to meet your requirements or preferences.
Color options for most visualizations are set in the properties panel, in Appearance > Colors and legend.
By selecting Custom, you can manually apply colors to your visualizations using the following methods:
Tables and pivot tables can only be colored by expression. Options for coloring tables and pivot tables are
found in the properties panel in Data.
If you want to keep colors consistent for dimensions or measures between different visualizations, you can
assign specific colors to master items in your library. Most visualizations will use any colors assigned to
master items automatically. In cases where a visualization uses both a master dimension and a master
measure with assigned colors, the color assigned to the master dimension is used by default. You can
select which master item color to use or disable master item colors entirely.
For more information, see Assigning colors to master items (page 111).
You can also assign colors to individual master dimension values to ensure the colors of different values
are consistent across visualizations.
For more information, see Assigning colors to master dimension values (page 113).
To keep visualizations clear when you manually set colors, you should select colors for accessibility and
only use different colors when they serve a purpose.
If you have a master dimension or master measure that has a color assigned to it, you can color the
visualization by that single color. In cases where a visualization uses both a master dimension and a
master measure with assigned colors, the color assigned to the master dimension is used by default. You
can select which master item color to use or disable master item colors entirely.
The following options are available when Single color is selected from Colors in Appearance > Colors
and legend:
Use Select to use master item colors. In cases where a visualization has both a master
library dimension and a master measure that have colors assigned to them, you can select which to
colors use in the visualization.
This option is available when a master dimension or master measure used in the
visualization has a color assigned to it.
Color Select a color using the color picker. You can select a color from the default palette, enter a
hex value for a color, or select a color from a color wheel.
If you are using master measures in your visualization, you can also choose to use them in your
visualization. When a visualization is colored by master measures, master measures will use their
assigned colors and any other measures are assigned colors from the 12 colors scheme.
The following options are available when Multicolor is selected from Colors in Appearance > Colors and
legend:
Use Select to use master item colors. In cases where a visualization has both a master
library dimension and a master measure that have colors assigned to them, you can select which
colors to use in the visualization.
This option is available when a master dimension or master measure used in the
visualization has a color assigned to it.
Color Select the color scheme used in the visualization. The following schemes are available:
scheme
12 colors: The colors are reused when there are more than 12 values. The 12 colors in this
color scheme can all be distinguished by people with a color vision deficiency.
100 colors: The colors are reused when there are more than 100 values. Not all of the 100
colors can be distinguished by people with a color vision deficiency.
Color by dimension
When you color a visualization by a dimension, all values in the visualization are colored by the
corresponding values in the dimension field selected. By default, the visualization is colored by the primary
dimension of the visualization, but you can select other dimensions. Qlik Sense offers a 12 color and a 100
color palette. By default, 12 colors is set as the palette for color by dimensions.
If you are using a master dimension, you can color the visualization using the colors assigned to the distinct
values of that dimension.
Coloring by dimension is useful when you want to keep track of related information in your visualizations,
such as coloring multiple charts by the dimension of Region to clearly see the values related to each region
in each chart.
The following options are available when By dimension is selected from Colors in Appearance > Colors
and legend:
Select Select the dimension used to color this visualization with this field. By default, if you
Dimension have already selected a dimension for the visualization, it is set with that dimension.
Click to select a different dimension. You can enter an expression by clicking to open
the expression editor
Persistent When selected, colors persist between selection states. If cleared, colors will be
colors changed and reassigned for different dimension values as selections are made in the
visualization.
UI item Description
Color Select the color scheme used in the visualization. The following schemes are available:
scheme
12 colors: The colors are reused when there are more than 12 values. The 12 colors in
this color scheme can all be distinguished by people with color vision deficiency.
100 colors: The colors are reused when there are more than 100 values. Not all of the
100 colors can be distinguished by people with color vision deficiency.
Color by measure
When you color a visualization by a measure, all values in the visualization are colored by a gradient or
class based on the values in the selected measure. By default, the visualization is colored by the primary
measure of the visualization, but you can select another measure. There are four available color schemes.
Coloring by measure is useful when you want to clearly see objects colored by their corresponding
measure value.
The following options are available when By measure is selected from Colors in Appearance > Colors
and legend:
Select Select the measure used to color this visualization. By default, if a measure has been
Measure added to the visualization, that measure is selected. Click to select a measure. You can
enter an expression by clicking to open the expression editor
Color Select the color scheme used in the visualization. The following schemes are available:
scheme
Sequential gradient: The transition between the different color groups is made using
different shades of colors. High measure values have darker hues.
Sequential classes: The transition between the different color groups is made using
distinctly different colors.
Diverging gradient: Used when working with data that is ordered from low to high, for
instance, to show the relationship between different areas on a map. Low and high values
have dark colors, mid-range colors are light.
Diverging classes: Can be seen as two sequential classes combined, with the mid-range
shared. The two extremes, high and low, are emphasized with dark colors with
contrasting hues, and the mid-range critical values are emphasized with light colors.
Reverse Select this option to switch which colors are used for low values and which colors are
colors used for high values in the selected color scheme.
UI item Description
Range Set the measure value ranges used to color the visualization. When set to Auto, Qlik
Sense creates ranges based on the detected minimum and maximum values.
When set to Custom, Qlik Sense automatically creates ranges based on user-defined
minimum and maximum values. You must enter values or expressions that calculate
those values in the fields Min and Max. You can enter an expression by clicking to open
the expression editor
Color by expression
Coloring by expression applies colors to a visualization based on a user-defined expression. This enables
you to use expressions to define both the colors used and the values upon which the colors are applied in a
visualization. You could, for example, use an expression to set conditional colors in a chart.
The following options are available when By expression is selected from Colors in Appearance > Colors
and legend:
The Selected by default. In most cases, it is best to keep this setting. When the selection is
expression is cleared, the expression evaluates to a number, which in turn is plotted against one of
a color code the chart gradients.
UI item Description
Color Color scheme sets the colors used in the visualization. The following color schemes
scheme are available:
Sequential gradient: The transition between the different color groups is made using
different shades of colors. High measure values have darker hues.
Sequential classes: The transition between the different color groups is made using
distinctly different colors.
Diverging gradient: Used when working with data that is ordered from low to high, for
instance, to show the relationship between different areas on a map. Low and high
values have dark colors, mid-range colors are light.
Diverging classes: Can be seen as two sequential classes combined, with the mid-
range shared. The two extremes, high and low, are emphasized with dark colors with
contrasting hues, and the mid-range critical values are emphasized with light colors.
Range This setting sets the value ranges for coloring results in the visualization.
Auto: Qlik Sense creates ranges based on the detected minimum and maximum
values.
Custom: Qlik Sense automatically creates ranges based on user-defined minimum and
maximum values. You must enter values or expressions that calculate those values in
the fields Min and Max. You can enter an expression by clicking to open the
expression editor
The following options are available in Data for coloring table and pivot table visualizations:
Background Enter an expression by clicking to open the expression editor. The text color
color automatically changes to white when a dark background color is used.
expression
For more information, see Examples (page 585).
Text color Enter an expression by clicking to open the expression editor. If you use the same
expression expression as in the background color, the text will not be visible.
Color by expression
Coloring by expression sets colors using a user-defined expression. When coloring by
expression, you can define both what colors to use and which values to use them with,
enabling more control over how colors are used in the visualization.
For example, you might highlight values of particular interest, or differentiate between values within
different value ranges. Coloring by expression can also be used to color a visualization by values not
included within a visualization, such as coloring products and the sum of their monthly sales by the country
of origin for the product.
When you select to color By expression, you can chose to either use the expression as a color code or to
define how By measure color options are applied to the visualization using an expression.
l Bar chart
l Combo chart
l KPI chart
l Line chart
l Map
l Pie chart
l Pivot table
l Scatter plot
l Table
l Treemap
When coloring by expression, objects in visualizations are colored gray if the expression
contains errors or if objects in the visualization have multiple colors they could be assigned in
the expression.
Examples
Here are a few examples to show what you can do with expressions by color.
argb(255,rand()*255,rand()*255,rand()*255)
This example uses ARGB color. It starts with alpha value that sets full opacity, and then uses the rand()
function to generate random values for the red, green, and blue colors, creating a random color.
In this example, there is a condition. If sum([Budget Amount]) is greater than 1 million, the corresponding
measure values will be colored 'cornflowerblue', otherwise they will be colored magenta.
'cornflowerblue' is the color keyword for the color rgb(100, 149, 227).
magenta() is the Qlik Sense color function that generates a magenta color.
In this example, there is a condition. If the avg(Value) value is greater than the aggregated avg(Value)
value of the entire table, then the corresponding measure value is colored blue. If the avg(Value) value is
less than the aggregated avg(Value) value of the entire table, then the corresponding measure value is
colored brown.
if(Sum(Sales) > 3000000, 'green', if(Sum(Sales) > 2000000, 'yellow', if(Sum(Sales) > 1000000, 'orange',
red())))
In this example, there are multiple conditions. If Sum(Sales) is greater than 3,000,000, then corresponding
measure values will be colored green. If Sum(Sales) is between 2,000,000 and 3,000,000, then the
corresponding measure values will be colored yellow. If Sum(Sales) is between 1,000,000 and 2,000,000,
the corresponding measure values will be colored orange. All other measure values will be colored red.
if([CompanyName]= 'A Corp', rgb(100, 149, 227), if([CompanyName]= 'B Corp', rgb(100, 149, 200), if
([CompanyName]= 'C Corp', rgb(100, 149, 175), if([CompanyName]= 'D Corp', rgb(100, 149, 150),
'grey'))))
In this example, the expression is used to define a RGB color for each specific dimension value in the field
CompanyName.
In this example, two expressions are used to color the background and text of the Sales column. Measure
values in Sales that are lower than $10000 have a red background color, all other values have a green
background. In addition, the values that are higher than $200000 have the text color 'gold'.
When coloring by expression, objects in visualizations are colored gray if the expression
contains errors or if objects in the visualization have multiple colors they could be assigned in
the expression.
Example:
In this example, charts would have By measure color gradients applied to them based on the profit margin
percentile calculated in the expression.
RGB
With RGB colors you enter an integer value between 0 and 255 (or an expression that evaluates to such a
value) for each of the colors red, green, and blue. The resulting color is produced by adding the three
colors together.
Example:
rgb(0,0,255)
This example generates the color blue. Many of the RGB colors have a corresponding keyword in plain text
that can be used instead of the RGB code. If you use 'blue' as expression, you would get exactly the same
color. Hexadecimal numbers are also supported, and the color blue has the string '#0000ff'.
ARGB
The ARGB color model has the same support as the RGB color model, but extends it with an additional
alpha value to set the opacity of a color.
Example:
argb(125,0,0,255)
The first value (125), sets the alpha value. The value 0 generates full transparency and the value 255 full
opacity.
HSL
In HSL, the color is defined by a hue value, a saturation value, and a luminosity value. You use values
between 0 and 1. Hue is represented as an angle of the color circle (that is, the rainbow represented in a
circle). Saturation is full with the value 1 and a shade of gray with the value 0. Lightness with the value 1 is
white, and black with the value 0. The value 0.5 is commonly used.
Example:
hsl(0,0.5,0.5)
This example generates a red color with medium saturation and lightness.
Color keywords
Qlik Sense supports W3C recommended color keywords. With color keywords, specific colors are defined
by a name which corresponds to a RGB hex value. Enter the color name in the expression to use the color.
Use the following links to find out more about W3C color keywords:
≤ http://www.w3.org/TR/CSS21/syndata.html#value-def-color
≤ https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Example:
'cornflowerblue'
This example generates a blue color with the hex value of #6495ed and a RGB value of (100, 149, 237).
l black()
l darkgray()
l lightgray()
l white()
l blue()
l lightblue()
l green()
l lightgreen()
l cyan()
l lightcyan()
l red()
l lightred()
l magenta()
l lightmagenta()
l brown()
l yellow()
Creating an expression
You create expressions for colors in the properties panel.
Do the following:
Color methods supported by visualizations and their limitations are determined primarily by the kinds of
data the visualizations displays. For example, visualizations that only support displaying measures cannot
be colored by dimension or through using master dimensions.
Distribution Yes - - - - - -
plot
Filter pane - - - - - - -
Histogram Yes - - - - - -
Table - - - - - - Yes
Line chart
Line charts do not support coloring by measure if they have two or more dimensions.
Map
Colors assigned to master dimensions that contain geopoint data or area data (polygons of geopoints)
cannot be used to color a map.
Pie chart
Pie charts do not use master item colors when Auto is selected under Colors and legend.
You can manually apply colors to your visualizations using the following methods:
In the example dashboard below, each method of setting colors has a corresponding visualization. This
section outlines each example as well as the specific settings used in the properties panel.
In this example visualization, a single color has been applied to the line chart.
For this visualization, the following properties were set in the properties panel under Appearance > Colors
and Legends:
l Colors: Set to Custom and Single color. Color set as hex value 4477aa.
In this example visualization, multiple colors have been applied to the measures of Expense Amount and
Budget in the line chart.
For this visualization, the following properties were set in the properties panel under Appearance > Colors
and Legends:
In these example visualizations, both the bar chart and line chart share a master measure, Revenue, that is
colored orange. In each visualization, the same assigned color is used for each instance of Revenue. The
line chart is colored by a second master measure, Expense Amount, which is colored blue.
For this visualization, the following settings were applied to the master measures in Edit measure:
l Color: Hex color set as f8981d for Revenue and 4477aa for Expense Amount.
For more information, see Assigning colors to master items (page 111).
For the bar chart, the following properties were set in the properties panel under Appearance > Colors and
Legends:
For the line chart, the following properties were set in the properties panel under Appearance > Colors
and Legends:
For more information, see Bar chart properties (page 156) and Line chart properties (page 239).
Color by measure
When a visualization colored by measure, sequential or diverging gradients or classes are applied to
values in the chart based on the values of the selected measure. Visualizations can be colored by
measures within the visualization or they can be colored with measures associated to values in the
visualization.
In this example, this bar chart is colored by the measure used in the visualization, Revenue. A diverging
gradient has been applied to the values in the chart based on the Revenue value for each dimension value.
For this visualization, the following properties were set in the properties panel under Appearance > Colors
and Legends:
Color by dimension
When a visualization is colored by dimension, each value within the visualization is assigned a color based
on an associated value from the coloring dimension. When colored by dimension, colors are automatically
applied from a default palette set of 12 or 100 colors.
For this visualization, the following properties were set in the properties panel under Appearance > Colors
and Legends:
l Colors: Set to Custom and By dimension. The dimension Sales Rep Name is selected.
l Persistent colors: Set to enabled.
l Color scheme: Set to 100 colors.
For this visualization, the following properties were set in the properties panel under Appearance > Colors
and Legends:
Color by expression
You can use expressions to set specific colors to appear with specific values, enabling conditional coloring
of values in your visualizations. When a visualization is colored by expression, you define the colors and
how the colors are applied to values within the expression.
For this visualization, the following properties were set in the properties panel under Data > Columns:
To learn more about table properties, see Table properties (page 394).
For this visualization, the following properties were set in the properties panel under Appearance > Colors
and Legends:
All properties that the original visualization has are transferred to the new type. The new visualization uses
the dimensions, measures, and settings that are applicable to that visualization type. If a visualization
requires an additional primary dimension or measure, the first listed alternative dimension or measure is
used by default. If no alternative dimensions or measures exist and one is required the new visualization,
you will be prompted to add one.
All properties from the original visualization are saved, even if they are not available or visible in the new
visualization. This means that properties can become available again if you decide to convert to yet
another visualization type where those properties are used.
Do the following:
1. While editing a sheet, drag a new chart from the assets panel onto the visualization that you want to
convert.
The shortcut menu opens.
2. Select the conversion option.
The new visualization is displayed, using the data from the original visualization.
When you convert to a new visualization type, some of the settings from the original
visualization may not be optimal for the new visualization, for example, the sorting order.
Therefore, you may need to make some changes in the properties panel, so that the new
visualization is displayed as you want.
You cannot convert to or from a map or a text & image visualization, nor can you convert a
master visualization.
The embedded object will be subject to the same access rules as the original object and app. This means
that anyone who wants to view the embedded object must have:
Embedding a sheet
You can embed a sheet in your web page.
Do the following:
You now have the iframe code of the sheet in your clipboard, ready to add to your web page.
Embedding a visualization
You can embed a visualization in your web page.
Do the following:
You now have the iframe code of the visualization in your clipboard, ready to add to your web page.
l Allow interaction
You can select if you want the user to be able to interact with the embedded object.
l Enable context menu
You can select if you want the context menu to be available when the embedded object is right-
clicked.
l Language
You can select which language to use in menus for the embedded object.
l Theme
You can select which theme to use for the embedded object.
l Apply bookmark
You can select to apply a bookmark and use the selections defined in the bookmark.
When the page containing the embedded object is rendered, the initial selection state is defined by the
order of execution and your settings.
When you make selections in the embedded object, they will be replicated in the app. If you select Clear
app selections on refresh, for example, and use the embedded object, selections are cleared in the app.
You can use Open preview in new tab to preview the embedded object, and interact without
affecting selections in the app.
You can create a bookmark with the same set of selections, and apply the bookmark.
This will create a shorter URL.
Possible cause
You are working with a published app. Some content is not available in the assets panel in a published
app.
Possible cause
The dimension is an expression with a result that has a different data type than the data fields used in the
expression.
Proposed action
Change sorting of the dimension to Custom, and select a sorting option that matches the result of the
expression. For example, if your expression concatenates two fields to a string, like Month
(salesDate)&'/'&Day(salesdate), select to sort alphabetically.
Possible cause
The table containing the aggregated field is not associated to the table containing the date field, preventing
accurate aggregation of the field by the selected time ranges.
Proposed action
Create an association between the table containing the aggregated field and the table containing the date
field. If there is no association possible, in Data manager, add a table that includes a date field that has an
association to the table containing the aggregated field.
Possible cause
The selected date field does not have the correct time flags to work with calendar measures. If you have no
valid date fields, you cannot create calendar measures. If you have at least one valid date field, all date
fields will be available in Date field. However, only those with the correct time flags set in autoCalendar
enable the selection of time ranges from the Time Range drop-down list.
Proposed action
Select a date field that uses autoCalendar. If you are unsure which calendar is associated to your date
field, date fields in the Field section of the Assets panel display which calendar it uses when clicked.
My date field selected for calendar measures does not use the correct
calendar
I have two calendars to which I have manually added time flags. My time flags have the same names as
those in autoCalendar, making both qualified for use with calendar measures. However, only one of my
calendars has the same definition for the time flags as autoCalendar. I have a date field associated to both
calendars . When I try to create calendar measures using that date field, the calendar with the correct
names but different definitions than autoCalendar is used.
Possible cause
In cases where a date field is associated to multiple calendars and each calendar has the correctly named
time flags set in it, calendar measures uses the first qualified calendars defined in your data load script.
Proposed action
Move the script section containing the calendar you want to use with calendar measures before other
qualified calendars in your data load script.
Possible cause
Proposed action
Edit the variable in the script, using the data load editor, or delete the variable from the script, using the
data load editor, to make the variable editable from the variables dialog.
Possible cause
The map does not have enough context to locate the locations in your field. This can happen when a
location in the field shares a name with a number of other possible locations on the map.
Proposed action
Set Scope for Location in your layer to Custom and enter additional information. Alternatively, qualify your
location field using an expression that contains additional fields with relevant geographic information. If
your location field contained cities and you had Country and State fields, you could use [City]&','&
[State]&','&[Country].
No map is displayed
I am using Qlik Geoanalytics server, the background map is not displayed.
Possible cause
Your browser cannot access qlikcloud.com or your firewall settings or proxies prevent the use of
JavaScript from qlikcloud.com. .
Proposed action
If your browser cannot access qlikcloud.com contact your system administrator for assistance.
If the page prints "ok" then your browser can access qlikcloud.com. Make sure that JavaScript from
qlikcloud.com is allowed.
Do the following:
Error message: The data contains invalid geometries that could not be
shown on the map. Review your data for errors and try again.
I loaded geoshapes from a KML file to Qlik Sense. When I try to add the field to my map, an error message
tells me that my data contains invalid geometries that could not be shown on the map.
Possible cause
There is an error in your geometries that is preventing Qlik Sense from displaying them on the map or your
geometry data may be in an invalid format.
Proposed action
Possible cause
Qlik Sense could not find the location. There may be a spelling error in the name or the location is not
available in the Qlik Sense location database.
Proposed action
Review the values in your data for errors and try adding the field again. If a location cannot be found, you
can alternatively manually add it using coordinates for points or geoshapes for areas.
Possible cause
Qlik Sense could not find the location. There may be a spelling error in the name or the location is not
available in the Qlik Sense location database.
Proposed action
Review the values in your data for errors and try adding the field again. If a location cannot be found, you
can alternatively manually add it using coordinates for points or geoshapes for areas.
Error message: The following locations had more than one result:
<locations>. Set a custom scope to clarify which locations to display.
I added a location field to my layer and I received an error message telling me that certain locations in my
field had more than one possible result on the map.
Possible cause
One or more locations in your location field are ambiguous, with multiple possible locations on your map.
Proposed action
Set Scope for Location in your layer to Custom and enter additional information. Alternatively, qualify your
location field using an expression that contains additional fields with relevant geographic information. If
your location field contained cities, you , such as: [City]&','&[County]&','&[State].
Error message: Some lines could not be shown because of invalid data
in the width expression. Review your data for errors and try again.
I entered a field or expression to control the width of the lines on my map and I received an error message
telling me that certain lines have invalid data.
Possible cause
There is an error in your width expression that is preventing Qlik Sense from displaying specific lines on the
map.
Proposed action
Your expression may contain non-numeric values. Review your data for errors and try again.
Possible cause
There is an error in your weight expression that is preventing Qlik Sense from displaying specific densities
on the map.
Proposed action
Your expression may contain non-numeric values. Review your data for errors and try again.
Possible cause
Depending on the projection of your map and the scale of the image, the map may be too zoomed out to
see the image.
Proposed action
Do one of the following:
l In Map settings, enable Auto-zoom. Add a layer containing location data that would put it over the
same area as your image background layer.
l In Presentation, enable Show debug info. The map now includes coordinates for the center of the
displayed area.