Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Function First...

Hi all,

I have two problems with Pivot Table:

in the sample attached (with your help some days ago), there rae 2 tables:

1 - In Tab.1 I want to show only first 3 observations for every year with more sales.

2 - In Tab.2, when I open the QLV document, I want to show only the first Dept. The name of the dept. in the text object, and than change dept with the list near.

Thank All

2 Replies
Not applicable
Author

Hi,

use a dynamic dimension like:

=Aggr(If(Rank(Sum(Sales)) <=3, Dept, 'Others'), Dept)

One step forward.

Rainer

Not applicable
Author

Thank Rainer,

and if I want to sort the Pivot Table by Year and by descending Sum(Sales) (of Dept.).

Thank 1000