# New to QlikView

If you’re new to QlikView, start with this Discussion Board and get up-to-speed quickly.

Announcements
Talk to Experts Tuesday, January 26th at 10AM EST: Qlik Sense. REGISTER NOW
cancel
Showing results for
Did you mean:
Not applicable

## Sum Period + Sum Previus Period

Hi,

I Have a chart with 3 colums, period, product, sum(qty)

and one list box with period.

This work perfect, now need add a column whit the sum of qty of previus period for each product.

Any idea?

Thanks Regards

1 Solution

Accepted Solutions
Not applicable

Hi, Thanks both, the formula that work for me is

= sum({<Period= {">=1(=min(Period))<=\$(=max(Period)-1)"}> } qty)

Thanks Regards

5 Replies
MVP

Try

above(sum(qty))

Specialist

may be like this,

Sum {<Period = {"\$(=(MAX(Period)-1))"}>}qty)

Not applicable

Hi Renjith, when paste u formula suggested, on the expression, tell me "garbage after expression", i cant use u formula on a expression or is for another use

Thanks

Not applicable

Hi Robert,

I try for example, sum between 2014 jan to 2015 jan, for each product and show this in one column, and 2015 feb in another column.

When chose 201502 in the list box, sum only 201502, but de another sum is 0.

U can please make one example for me

Regards