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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

About Rank Function?


Hi Folks,

I have a Table with Emp_ID,Sal,Deptno

I want to show only top 10 Salaries Deptno or Emp_ID

I tried Rank(sum(Sal),10) --It is not giving the proper result what i expect.

Can u plz suggest me this using Rank function only.

I tried aggr(rank(sum(Sal))<10,Deptno) --- both are not working properly.

Thanks,

rakesh

Labels (1)
10 Replies
MarcoWedel
MVP
MVP

why?