Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
phongnnguyen
Contributor II
Contributor II

Get last value of accumulated in Qlik sense

Hi guys,

I want to get last value of accumulated

Like that

AccountDateValueAccumulate

A

1/1/20181010
A2/1/2018919
A3/1/2018423
B1/1/201855
B2/1/201827
B3/1/2018714

I just want to last value in this example are A = 23 and B = 14

Thanks for your help

1 Solution

Accepted Solutions
isorinrusu
Partner - Creator III
Partner - Creator III

Hi Phong,

You could have an expression like sum(Value) as your Accumulate and another one as max(Date) instead of Date being a dimension.

So your dimension would be Account, the first expression Date(max(Date)) and the second expression sum(Value).

Regards,

Sorin.

View solution in original post

1 Reply
isorinrusu
Partner - Creator III
Partner - Creator III

Hi Phong,

You could have an expression like sum(Value) as your Accumulate and another one as max(Date) instead of Date being a dimension.

So your dimension would be Account, the first expression Date(max(Date)) and the second expression sum(Value).

Regards,

Sorin.