Cracking the syntax for Set Analysis
Set Analysis is a very powerful concept in Qlik Sense. In very simple terms, each set contains a group of selected dimensional values. The sets allow users to create independent selections, other than the one being used in the active Qlik Sense objects. The aggregations inside the set are compared with current selections to get the desired results.
Note
Any set that has been created in Qlik Sense only alters the context of the expression that uses it. Unless they are referencing label names inside the same visualization, all expressions using the set syntax are independent of each other. As such, basic expressions not using Set Analysis will react to normal selections made inside the Qlik Sense document.
A Set Analysis expression consists of three main parts:
- Set identifiers, for example,
$
,1
, andÂ1-$
- Set operators
- Set modifiers (optional)
A set expression is defined inside curly brackets {}
. Set identifiers are separated from modifiers by angular (<>...