Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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,

1 Solution

Accepted Solutions
its_anandrjs

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

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