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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error in set analysis

Hi Guys,

Please check this calculation and let me know where the problem is. I want to get the name of the first customer is sales and show its sales.

Thanks.

=(sum({$<CUSTOMER={=aggr(if(rank(sum(SALES))=1 ,CUSTOMER),'' )}>}SALES))

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like this

=sum({<Customer = {"= rank(Sum(Sales))=1"}>}Sales)

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi

Try like this

=sum({<Customer = {"= rank(Sum(Sales))=1"}>}Sales)

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thanks , it worked...........