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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

find max value on using when using range sum function.

I am using function rangesum in straight table and output is accumulate value,now i want to apply max function on this and find max value according to dimension.

rangesum.PNG

in above screen shot field AccumulateAmount is created from formula "Rangesum(Amount,above(AccumulateAmount)))".

now i want to find out only max value of this field basis on Name .

need output as given below in same  qlikview.

ex.

output.PNG

Application also Attached.

Please Suggest what can i do to find max value.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Have you tried dimension Name and as expression

=Sum(Amount)

?

Should have opened your QVW, try

=Sum(Aggr(FirstSortedValue(Balance,-Date),Name,Account))

Name Sum(Aggr(FirstSortedValue(Balance,-Date),Name,Account))
72395
Mohit10000
Ramesh47829
Rohit14566

View solution in original post

2 Replies
swuehl
MVP
MVP

Have you tried dimension Name and as expression

=Sum(Amount)

?

Should have opened your QVW, try

=Sum(Aggr(FirstSortedValue(Balance,-Date),Name,Account))

Name Sum(Aggr(FirstSortedValue(Balance,-Date),Name,Account))
72395
Mohit10000
Ramesh47829
Rohit14566
Not applicable
Author

Thanks swuehl now it is woking.