Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

easy kombination accumulation and aggregation

Hello,

my first steps with qlikview ...

I m searching the accumulated value per produkt / period

example last line:

Produkt C 8/1997 = 90

Thanks for hints or solution

regards

rl

YearMonthProduktValueaggr Value Produkt/Time
??
19941A5050
199410A100150
199412A50200
19942B11
199410B23
199414B36
19941C3030
19966C2050
19978C40

90

6 Replies
Not applicable
Author

Create a chart of the type Simple Table. Use the following dimensions:

  • Product
  • =$(=Max(Month)) & "/" & $(=Max(Year))

And the following expression:

  • Sum(Value)

I hope this solves your problem

Good luck.

Not applicable
Author

Thanks for the fast Response,

but in that Way I get only the total Value per Product.

We need the accumulated Value per Product and Period:

Periode - Produkt - Value

1994/01 - A - 50

1994/10 - A - 150

...

1996/6 - C - 50

1997/12 - C - 90

Regards

rl

Not applicable
Author

ok, its not easy...

johnw
Champion III
Champion III

One approach is to combine Year and Month into one field, YearMonth. Then the above() function will refer to values within the same product, allowing you to use it to do an accumulation.

Not applicable
Author

thanks for response,

but I cant open the example

Not applicable
Author

Your Accumulation column would have the below expression

rangesum(sum(Value),above(Accumulation))