Return previous value of the group

Hello,

I own a report with grouping by date, and with a summation by date. I need the sum of the previous date for the calculation of the next date.

But have not found a way to busar the previous value, I tried to create a new variable, but the same always updated with the current value date of the group.

Could anyone help me?

Tiaguinho's picture
551
Joined: Feb 26 2014 - 4:06am
Last seen: 4 years 1 month ago

2 Answers:

check the running sum concepts in sql, it may helpful

Sukanya Parisa's picture
Joined: Dec 5 2013 - 10:29pm
Last seen: 6 years 6 months ago

Yes. I resolve this problem in the sql. The SQL retrieve all data and after calculate value.

thanks for the answer. :)

Tiaguinho's picture
551
Joined: Feb 26 2014 - 4:06am
Last seen: 4 years 1 month ago
Feedback