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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mazacini
Creator III
Creator III

Simple

I am trying to create a small table with the file dates of 2 files.

I have 2 load statements

Date1:

LOAD (FileTime()) as FileDate

FROM File1;

and similar for File 2.

I expected to get 2 records, one for each File Time. However, the files contain 1,000 lines each. I end up with 2,000 lines in my Date1 table.

What am I doing wrong?

1 Solution

Accepted Solutions
manas_bn
Creator
Creator

First prefix should work (assuming you are getting 1000 records each with the same date/time...

Date1:

First (1) LOAD (FileTime()) as FileDate

FROM File1;

View solution in original post

1 Reply
manas_bn
Creator
Creator

First prefix should work (assuming you are getting 1000 records each with the same date/time...

Date1:

First (1) LOAD (FileTime()) as FileDate

FROM File1;