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

restore the availability of the previous month as the existence of the following month

Hello everyone,



I have a pivot table divided by item, months, and ordered existence with the customer as the existence and availability calculated + orders.



How do I restore the availability of the previous month as the existence of the following month and so on?



Thanks to all

2 Replies
swuehl
MVP
MVP

Hi,

if I understood you correctly, you want to evaluate an expression in the context of a previous row  (like get the previous month availabiltiy, where previous month is determined by dimension of above row).

If so, I think the inter record functions will help you, e.g. above() function.

Stefan

Anonymous
Not applicable
Author

Thank Stefan,

at end i have use the funcion BEFORE like this

= if( ColumnNo( )=1, sum(VARA) , before (VARB ))

VARA = Existence of  first month

VARB = existence + orders. of the month before.

Andrea