Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
soha1902
Creator
Creator

Top 3 Values in Pivot Table

Hi All,

First of all I want to say sorry to posting this question again which is already asked by several times.

But I am not able to get the top 3 values in pivot table for one dimension and two dimension. I am attaching one sample app please some one help me regarding this.

Thanks in advance..

1 Solution

Accepted Solutions
SergeyMak
Partner Ambassador
Partner Ambassador

Hi,

PFA an example.

Use Rank() function

First expression

IF(RANK(Sum(Sales1))<=3,Sum(Sales1))

Second

IF(RANK(Sum(Sales2))<=3,Sum(Sales2))

Regards,
Sergey

View solution in original post

1 Reply
SergeyMak
Partner Ambassador
Partner Ambassador

Hi,

PFA an example.

Use Rank() function

First expression

IF(RANK(Sum(Sales1))<=3,Sum(Sales1))

Second

IF(RANK(Sum(Sales2))<=3,Sum(Sales2))

Regards,
Sergey