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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

data duplication

   

fieldafieldbfieldcfieldD
2abc2123
2abc2456
2dfg3123
2dfg
2hij4123
2hij4456
2klm5123
2klm5456
2nop7123
2nop7456

output shud be :

   

2abc2123
2hij4123
2klm5123
2nop7123
Labels (1)
19 Replies
sunny_talwar
MVP
MVP

May be load with DISTINCT keyword

LOAD Distinct

     fielda,

     fieldb,

     fieldc

FROM ....

Anonymous
Not applicable
Author

taking only distinct will not work.

marcus_sommer
MVP
MVP

What is the condition for "fieldD"?

- Marcus

datagrrl
Creator III
Creator III

I have some questions about your model. Is this a single flat table? Is the duplication in the data or being caused by the association?

Do you want the max value of fieldc?

Anonymous
Not applicable
Author

it is just the single table now,

Anonymous
Not applicable
Author

kindly help with the resolution

Anonymous
Not applicable
Author

duplicacy should be removed from field b

Anonymous
Not applicable
Author

i want sum of fieldc

Kushal_Chawda
MVP
MVP

try this


Data:

LOAD Distinct

     fielda,

     fieldb,

     fieldc,

     fieldd

FROM ...


Final

LOAD

     fielda,

     fieldb,

     fieldc,

     min(fieldd) as fieldd

resident Data

group by fielda,fieldb,fieldc;


drop table Data;