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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Limited Data to be loading

Hi All,

I want to load limited rows from the data base how can i do that like want to load only 20 rows from above.

Jude,

Labels (1)
1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Hi Jude,

 

You want to load a 20 rows to do this you need to conditionally load data and add a syntax in load script like

   

LOAD Column1,

          Column2,

          Column3

FROM

[DataFile.xls]

(ooxml, embedded labels, table is [DATA])

Where Recno()<=20;

View solution in original post

2 Replies
its_anandrjs
Champion III
Champion III

Hi Jude,

 

You want to load a 20 rows to do this you need to conditionally load data and add a syntax in load script like

   

LOAD Column1,

          Column2,

          Column3

FROM

[DataFile.xls]

(ooxml, embedded labels, table is [DATA])

Where Recno()<=20;

martin59
Specialist II
Specialist II

Hi,

You have to do something like that :

Table:

FIRST (20) // If you want to load the 20th first rows

LOAD * FROM MyTable;

Hope that helps you

Martin