Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Segmenting Pivot

I have done a Pivot over our products, but I only wanted the chart to show 4 different product groups - how do I solve this?

Skærmbillede 2012-08-28 kl. 15.11.14.png

1 Solution

Accepted Solutions
Not applicable
Author

Oh no problem. Using the following example:

Capture.JPG

So for set analysis, your expressions would look something like this:

Capture.JPG

Which would give you a result like this:

Capture.JPG

Or you can show, say, only the top two values by selecting 'Restrict which values are displayed' and selecting 'Show Only Largest X Values'. Deselect 'Show Others'.

Capture.JPG

This would give you:

Capture.JPG

View solution in original post

4 Replies
Not applicable
Author

You can do it with set analysis if you know which groups you want to see, or you can restrict which are displayed if you wanted to see the top four categories, for example. The attached qvw shows a couple different ways.

Not applicable
Author

Sorry I'm on a personal lincense, so i can't open your files

whiteline
Master II
Master II

He means instead of simple expression, for example, Sum(Revenue) you should use something like

Sum({$<product_master_name={"Guld Profil", "Spigos"}>} Revenue)

This means we've selected  "Guld Profil" and "Spigos" from product_master_name before calculating the Sum(Revenue).

Try to search in a help index the words "Set Analysis".

Not applicable
Author

Oh no problem. Using the following example:

Capture.JPG

So for set analysis, your expressions would look something like this:

Capture.JPG

Which would give you a result like this:

Capture.JPG

Or you can show, say, only the top two values by selecting 'Restrict which values are displayed' and selecting 'Show Only Largest X Values'. Deselect 'Show Others'.

Capture.JPG

This would give you:

Capture.JPG