Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Master III
Master III

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);