QlikView 8.5 Introduces “Set Analysis”

This post has been edited since being published to show the Set Analysis syntax as of QV 9.

“Set analysis is the best feature since the new charting engine in version 4,” says Jonas Nachmanson.

That may not reveal the excitement, but it’s true! Set analysis is a big feature.

Want to sum excluded values that are not a part of current selections? Want a daily sales report that doesn’t break if someone makes a conflicting data selection? Then set analysis is for you! Now you can calculate across any slice of the dataset, regardless of what fields and values are currently selected.

You have fine-grained control over the selections that apply to any expression. Add, change, eliminate, invert or tweak any selections. This is all without the speed penalty of Sum-If logic, which can only see its intersection with current selections and therefore breaks when any conflicting selection is made. The result is faster calculation, predictable dynamic behavior, better support for dynamic graphs and tables, and faster implementation for some very frequent requests.

sum(ALL Sales)-sum(Sales) could be rewritten with set analysis as sum({1} Sales)-sum(Sales) but should be written as sum({1-$} Sales). {1} means the entire data model. {$} means the current selections. {0} means no selections at all.

1) Apply current selections, but act as if the current year is always set to the variable vCurrentYear: sum({$<Year={$(vCurrentYear)}>} Sales)

2) Apply current selections, but ignore any selections in the Year field: sum({$<Year=>} Sales).

The syntax $(=expression) is also new to 8.5. It adds dynamic variable creation. I plan to cover ideas for this new feature in a future post.

3) Sum sales for the prior year, with the prior year being relative to what is currently selected: sum( {$<Year={$(=Only(Year)-1)}>} Sales ). No more clearing dates with macros!

Set analysis immediately sparked some new ideas for interacting with QlikView and I think we’ll see many more. For example, the combination of set analysis using bookmarks and input fields improves QlikView as a financial forecasting tool, the frequent first question from CFOs.

Related posts:

  1. Missing Feature In Set Analysis
  2. Seeing Dollar Signs in QlikView 8.5
  3. QlikView 9 Beta!!!
  4. The Year in QlikView
  5. What’s “possible” in QlikView 9…

7 thoughts on “QlikView 8.5 Introduces “Set Analysis”

  1. Who knows where to download XRumer 5.0 Palladium?
    Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

  2. Yesterday i bought viagra in Online drugstore.
    On my surprise it works excellent! All the matter is that the price low, because I do not pay for the trade mark. That’s all!
    You can see explanations about it.
    A generic drug (generic drugs, short: generics) is a drug which is produced and distributed without patent protection. According to the U.S. Food and Drug Administration, generic drugs are identical bioequivalent range to the brand name counterpart with respect to pharmacokinetic and pharmacodynamic properties. By extension, therefore, generics are considered identical in dose, strength, route of administration, safety, efficacy, and intended use. In most cases, generic products are available once the patent protections afforded to the original developer have expired. When generic products become available, the market competition often leads to substantially lower prices for both the original brand name product and the generic forms. You can read more at http://shoppharm.com

  3. Sorry for choosing this to leave a offer for all about 380 accutane permanent joint pain
    lasix and breastfeeding lasix drug screen drug company for lasix proviron nolvadex cycles information nolvadex special nolvadex male risks zithromax azithromycin for chlamydia zithromax azithromycin for chlamydia buy zithromax online effexor and cortisol effexor lamictal risperdal bipolar smoking effexor xr accutane side effects lungs interaction accutane add drugs physicians against generic accutane

  4. Sorry for choosing this to leave a offer for all about advecia propecia procerin purchase lasix without prescription lasix iv administration contraindications for lasix keywords cialis levitra sales viagra levitra usa today cialis dysfunction erectile levitra side effects of propecia generic finasteride propecia generic propecia review us zithromax mastercard zithromax for acute sinusitis zithromax for strep throat zoloft and dementia zoloft seroquel combo menstrual cycle zoloft

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>