Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

calculate prevous date in script side.

Hi All,

I want to calculate previous date for that workcenter for that functional location in script side and if no date then it should be blank.

I have attached sample file for that, in that Output column is my expected ooutput Administrator

1 Reply
anbu1984
Honored Contributor III

Re: calculate prevous date in script side.

Load *,If(RowNo() > 1 And Previous([Work Center]) = [Work Center],Previous(Date)) As Output1;

LOAD [Work Center],

     [Functional Location],

     Date,

     Output

FROM

C:\Users\Rajesh.Rayapati\Desktop\Sample.xlsx

(ooxml, embedded labels, table is Sheet1);

Community Browser