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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
lzzoe
Contributor
Contributor

Select rows with largest value by one dimension

Hi All,

I am quite new to Qlik. I want to select rows with largest NUM in each ID_NO. I want to do this in chart preparation stage instead of data loading stage. I try to use "= Max(TOTAL <ID_NO> NUM)" but it does not work. Thank you

Current:

ID_NO OTHER NUM
112233 AB 5
112233 AB 7
112234 AB 1
112235 CF 8
112235 RG 10
112235 DG 7
112236 RY 6
112236 WA 8

 

To-be:

ID_NO OTHER NUM
112233 AB 7
112234 AB 1
112235 RG 10
112236 WA 8
Labels (3)
2 Replies
Nagaraju_KCS
Specialist III
Specialist III

Try this 
AGGR(MAX(NUM),ID_NO)

Nagaraju_KCS_0-1766127462606.png

 

lzzoe
Contributor
Contributor
Author

Hi Nagaraju,

may I ask where I should type this expression in?