Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Donthamsetty10
Contributor II
Contributor II

How to display top ten employees with sales or salary

Screenshot 2022-10-25 at 5.42.21 PM.pngScreenshot 2022-10-25 at 5.42.45 PM.pngpls suggest me crt expression I'm new to qlik sense

Labels (2)
7 Replies
sidhiq91
Specialist II
Specialist II

@Donthamsetty10  Please use the below expression in your Dimension:

=Aggr(if( rank(sum(Year Salary))<=10,Employee Name),Employee Name)

This should resolve the issue. 

If yes, please like and accept it as a solution.

Donthamsetty10
Contributor II
Contributor II
Author

It didn't display anything. My issue isn't resolved.

16667038175831768455232757578165.jpg

sidhiq91
Specialist II
Specialist II

@Donthamsetty10  Please replace your Dimension Name with the correct Dimension Name from your script. It should display the correct result.

SchalkF
Contributor III
Contributor III

Hi Like @sidhiq91  said, your dimension name is EmployeeName, and not Employee Name

Donthamsetty10
Contributor II
Contributor II
Author

I corrected it, but still it's not displaying..

Donthamsetty10
Contributor II
Contributor II
Author

It's displaying the employee names in rank field, instead of rank numbers

Donthamsetty10
Contributor II
Contributor II
Author

Screenshot 2022-10-25 at 7.38.41 PM.png