Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
farolito20
Contributor III
Contributor III

LOAD

How Can I load from a specific ID?

For example, from the ID=14?

1 Solution

Accepted Solutions
MayilVahanan

HI

maximo_registro:

LOAD

          max(Checksum) as maximo

from DimCustomers_Day0.qvd (qvd);

Let vMax = peek('maximo',0,'maximo_registro');

load *

from DimCustomers_Day1.qvd (qvd)

where Checksum>'$(vMax)';

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

9 Replies
MayilVahanan

HI

Try like this

Load * from tablename where ID = 14;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
farolito20
Contributor III
Contributor III
Author

Can be Load * from tablename where ID > 4; but not work

CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

Load

* From SourceData where ID = 14;

If you are going to use multiple comaprisons

Load

* From SourceData where Match(ID, 14, 12, 10);

Hope it helps

CELAMBARASAN
Partner - Champion
Partner - Champion

If you need to use Already loaded table then..

Load

*

Resident

TableName where ID > 4;

MayilVahanan

HI

can you say in detail?

Load *;

Select * from Tablename where ID > 4;

Is not working?

Where you are using?  Did u load data from xls , sql or any other resource?

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
farolito20
Contributor III
Contributor III
Author

maximo_registro:

LOAD

          max(Checksum) as maximo

from DimCustomers_Day0.qvd (qvd);

    

load *

from DimCustomers_Day1.qvd (qvd)

where Checksum>$(maximo);

I need de max from the maximo_registro, then use that value to load the other table

farolito20
Contributor III
Contributor III
Author

maximo_registro:

LOAD

          max(Checksum) as maximo

from DimCustomers_Day0.qvd (qvd);

   

load *

from DimCustomers_Day1.qvd (qvd)

where Checksum>$(maximo);

I need de max from the maximo_registro, then use that value to load the other table

MayilVahanan

HI

maximo_registro:

LOAD

          max(Checksum) as maximo

from DimCustomers_Day0.qvd (qvd);

Let vMax = peek('maximo',0,'maximo_registro');

load *

from DimCustomers_Day1.qvd (qvd)

where Checksum>'$(vMax)';

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
CELAMBARASAN
Partner - Champion
Partner - Champion

maximo_registro:

LOAD

          max(Checksum) as maximo

from DimCustomers_Day0.qvd (qvd);

LET vMax = FieldValue('maximo', 1);

load *

from DimCustomers_Day1.qvd (qvd)

where Checksum>$(vMax);