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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Sylvain1
Contributor II
Contributor II

Rank in pivot table

Hi Community,

I have the following table model (see attachement)

I need to create a pivot table with

- in lines the hierarchie country and department (with extend collapse)

- in columns the hierarchie segment and detail segment (with extend collapse)

(this part is easy 🙂 )

and for datas (with a mandatory filter on Brand) I need two informations:

  - calculate the rank based on the sum(sales) of the selected Brand compare to others brands

  - calculate the difference of sum(sales) between the next or previous rank of the selected Brand

I hope it's clear enough.

I think I have to use rank function with an agregation but how exactly?

I tried from a severals days to find a solution for my needs, but unfortunately I can't manage it for now, and did not find a solution in this forum.

thank you all,

Sylvain

Labels (3)
0 Replies