Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Remove Dupicate records for Active/Inactive Employees

Hi All,

I am having duplicate records for Active/Inactive employees.

Removed duplicates using group by and right join,but still having some duplicates.

below is sample data

Duplicates.PNG

Please any help will be appreciated

Thanks

Neetha

6 Replies
Frank_Hartmann
Master II
Master II

i cant see any duplicated rows. can u give more details. what should be the output?

Kushal_Chawda

I do not see any duplicates.

for 126564, Movement ID is different, for rest Action reason are diffrent

Anonymous
Not applicable
Author

Hi Frank,

Thanks for response.

My required output should be , one record per ID ,irrespective of values in other fields(duplicate or not).

remove duplicate IDs

Thanks

Neetha

Frank_Hartmann
Master II
Master II

and which information should be shown for "Action" and "Actionreason"?

You could filter in Load script with where clause

e.g

Load

From

Where Action=XXX and Actionreason=XXX

Anonymous
Not applicable
Author

Resolved the issue by just using group by and not joining to main table.

Anonymous
Not applicable
Author

Hi

You could have just used load distinct ID if you are not concerned by which duplicated ID record is loaded.

Kindest Regards

Brian