0% found this document useful (0 votes)
42 views1 page

The Magic of Set Analysis

Set analysis is a powerful tool in QlikView that allows developers to control what charts display and enable complex calculations. It works similarly to how selections from listboxes filter the entire document, but set expressions allow restricting, predefining, or extending the set of data charts use for calculations. For example, a chart could aggregate data only for specific regions, even if other regions are selected, or a table could show data from the previous year alongside the selected year. When used effectively, set analysis can improve performance and the user experience, but excessive use may degrade performance.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

The Magic of Set Analysis

Set analysis is a powerful tool in QlikView that allows developers to control what charts display and enable complex calculations. It works similarly to how selections from listboxes filter the entire document, but set expressions allow restricting, predefining, or extending the set of data charts use for calculations. For example, a chart could aggregate data only for specific regions, even if other regions are selected, or a table could show data from the previous year alongside the selected year. When used effectively, set analysis can improve performance and the user experience, but excessive use may degrade performance.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

The magic of Set Analysis

We will now introduce one of the most powerful tools you, as a developer, have
at
your disposal when creating QlikView documents. We must say upfront that, as
with anything, the excessive use of Set Analysis in chart expressions can yield
poor
performance or low response times. However, we should also know that, when
used
effectively, it can have a positive impact in both performance and user
experience.

What is it for?
Set Analysis is a great feature in QlikView that lets you, as a developer, take
control
over what your charts display and allows calculations that wouldn't be possible
otherwise, at least not as dynamically. To understand its inner workings, we can
compare it to how selections that are made using listboxes work.
With UI selections, we can say that whatever is selected affects the entire
document,
and all of the charts only display information associated with the set of data
corresponding to those selections; plain and simple. In a way, that is basically
what
Set Analysis does. It restricts, predefines, or extends the set of data that charts
base
their calculations on. Using a set expression, we can, for instance, specify that a
certain chart should perform an aggregation only based on records that meet a
set
of criteria in certain fields (for example, Region A and Region B from the Region
field), even if the non-matching values are part of the user's selected record set.
We
can also use Set Analysis to expand the selections made by the user to show, for
example, results of the previous year even when it has not been actually
selected.
For example, when the user selects the year 2012 and a table displays data for
2012
in one column and 2011 in the other.

You might also like