Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahmoud_awad
Partner - Contributor
Partner - Contributor

calculate person's second sale amount

hi 

i need an expression that can show me the (sale_amount) for the second sale which can be measured by (sale_no) for every salesman 

something like 

sale_amount where rank (sale_no) = 2  grouped by (salesman )

Labels (1)
1 Reply
Or
MVP
MVP

Sounds like you need FirstSortedValue(sale_amount,sale_no,2) or something similar.