Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Hasan
Contributor
Contributor

Remove duplicate rows

Hi - I have the following in my data load editor:

LOAD Distinct
object,
// attribute,
// value,
DC ,UC ,LA ,ED ,DA ,OR ,CA 
FROM EKES.qvd (qvd);

I need help/guideline to remove dates that are duplicates.

Hasan_0-1627469549898.png

Required Result       
4500105786-000104/23/2021 4/23/20214/23/20214/30/20214/25/20214/30/2021
4500105786-000104/28/2021 4/28/20214/29/2021  5/4/2021
4500105786-000205/6/2021      

 

 

Thanks so much  - Kashif

3 Replies
Anil_Babu_Samineni

I see you have row level data for DC column, Could be that is the reason you have aggregate data. 

If you still don't want, Perhaps try Aggr(Your expression, Dimension)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Hasan
Contributor
Contributor
Author

Thanks for the reply, how  AGGR function can be used in a load script?

menta
Partner - Creator II
Partner - Creator II

Use a group by Object and LA

 

load object, LA,

 firstsortedvalue(AD,LA) as AD,

same for the other field

resident table

group by object,LA;