Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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