Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to eliminate the duplicate rows in qlikvew

how to eliminate the duplicate rows in qlikvew

idname
1a
1a
2b
2c
3d

i want to o/p like this

1 a

2 b

3 d

eliminates the duplicates in id.

23 Replies
rubenmarin

Ah, ok, that would't work either. All id values are already in INPUT table, so 'where not exists('id', id);' is always FALSE and doesn't load any record in OUTPUT Table.

To do this you need to change the name of the input or the output id field or create a check field:

OUTPUT:

NoConcatenate LOAD

  id,

  idCheck,

  name

Resident INPUT where not exists('idCheck', id);

DROP Table INPUT;

DROP Field idCheck;

peschu123
Partner - Creator III
Partner - Creator III

Yes, thank you.

That was my point.

Not applicable
Author

I follow you but it is not working. My script and my data is.

dup1.jpgdup2.jpgdup 3.jpg

PrashantSangle

Hi,

I did not see any duplicate row.

for every same id you have different name, then how it could be duplicate?

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂