Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

remove lines

Hi,

I'm loading data from an oracle db table, but sometimes lines are duplicated.

Is there anyway in qlikview script to avoid loading the duplicated lines? I know how to do it in sql but it takes too much time to load the data,

thanks,

David

1 Reply
Miguel_Angel_Baeyens

Hello David,

Take any unique value, then use the following

Customer:LOAD CustID, // Unique field CustNameWHERE NOT EXISTS(CustID);SQL SELECT CustID, CustNameFROM Database.Table; // The following should work as wellCustomer:LOAD DISTINCT CustID, CustName;SQL SELECT * FROM Database.Table;


Hope that helps