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: 
prajapatiamar38
Creator II
Creator II

AGGR() Function

Hi experts,

How to fetch 5th last value from coloumn using Aggr() function but without using  max function.

For eg: If i have one coloumn in that if there is 20 values I want 5th value from the bottom in front end.

How can i....

Please help me...

Thanks in advance

5 Replies
Anonymous
Not applicable

Hi Amarnath,

Try like this

=FieldValue('FieldNAME', 5)

Hope this helps you

Not applicable

Try this,

=FieldValue('FieldName', FieldValueCount('FieldName')-4)

prajapatiamar38
Creator II
Creator II
Author

Hi qlikview novice,

Thanks for your reply As per your exp it is giving 5th value from top but i want 5th value from the bottom.

Thanks

prajapatiamar38
Creator II
Creator II
Author

Hii

Thanks for your solution it is working fine but i want using aggr() function.

Thanks

sasiparupudi1
Master III
Master III

Please post some sample data