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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load Distinct on Resident Table

Hi there,

I'm trying to do a Load distinct on a resident table but unfortunatly this doesn't work. I'm wondering if doing such a thing is possible.

Here is my script, if you find any mistake...









ALL_TABLE:



LOAD [DATE] as [Date],

[PRICE] as [Product Price],

[DTINSERTED] as [Insertion Date],

SQL select * from myTable;

DATE_TABLE:

LOAD DISTINCT [Date]

RESIDENT ALL_TABLE;

Thx for your help

1 Solution

Accepted Solutions
Not applicable
Author

Ok Sorry,

My mistake, it works mow thx.

View solution in original post

5 Replies
Not applicable
Author

Hi,


There is one mistake.

At the end of field insertion Date you should use ';' semicolon.

your scrpt shoud look like below one.



ALL_TABLE:


LOAD [DATE] as [Date],
[PRICE] as [Product Price],
[DTINSERTED] as [Insertion Date];
SQL select * from myTable;
DATE_TABLE:
LOAD DISTINCT [Date]
RESIDENT ALL_TABLE;


- Sridhar

Not applicable
Author

Hi,

there is one.

This part of the load works well.

The problem is on the LOAD DISTINCT

Not applicable
Author

Hi,

Check this attachment.

Distinct key word works well forme Wink

Post your sample here Yes

- Sridhar

Not applicable
Author

what's your error message ?

Not applicable
Author

Ok Sorry,

My mistake, it works mow thx.