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

Qlikview Script

Friends,

I'm having the below table,

Screenshot_4.png

In this table, when the customer name is same it should have only one unique customer ID. For example the customer 'Addivant' should have only one unique customer ID but it has two IDs in the above table.

Please help how to achieve this in Qlikview script. Thanks in advance.

5 Replies
Anonymous
Not applicable
Author

How about using Min(CustomerID) while doing a group by Customer name??

Anonymous
Not applicable
Author

Yes Shiva, I have tried this but getting the below error script message.

Screenshot_5.png

Anonymous
Not applicable
Author

You cant use non aggregated fields in the load statement which are not present in group by clause.

Anonymous
Not applicable
Author

Plz help me how to achieve this Shiva.

brentdej
Contributor II
Contributor II

Try change the group by statement to:

group by Customer_Name, Customer_Type, [Source Format], [Destination Format];