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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to get only one SalesPerson who has highest sales

Hi all,

Im having the data with 3 dimensions Region ,SalesPerson, Sales

Each Region having 3 SalesPerson ,

I want max Sales in each region with only one Salesperson who having that max sales in that perticular region.

help me out

Thanks&Regards

AbdulRajak

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

Dimension:

Region

SalesPerson

Expression:

If(Rank(Sum(Sales)) < 2, Sum(Sales))

View solution in original post

3 Replies
sunny_talwar

May be like this:

Dimension:

Region

SalesPerson

Expression:

If(Rank(Sum(Sales)) < 2, Sum(Sales))

Not applicable
Author

Yeah...

Its working,

Thanku,

But if Salespersons are n means????

sunny_talwar

Salespersons are n means? Not sure I understand this line of yours?