Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
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);