Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
jagjivvt
Creator
Creator

Duplicate records in data Field

Hi

I have a field called Invoice ID, in this the field the Invoice ID could appear more than once. if it does, I need to mark annotate with an abbreviation, either numerical or alpha. 

thanks

Vijay

Labels (1)
1 Solution

Accepted Solutions
Kushal_Chawda

@jagjivvt  may be like below

 

Data:
LOAD *
FROM Table;

left join(Data)
LOAD [Invoice ID],
     if(Cnt_Invoice>1,'Duplicate','Non-Duplicate') as Flag;
LOAD [Invoice ID],
     count([Invoice ID]) as Cnt_Invoice
resident Data
group by [Invoice ID];

 

View solution in original post

3 Replies
mattphillip
Creator II
Creator II

Something like this?
LOAD,
InvoiceID,
If(InvoiceID=InvoiceID, "Annotate","") as Annotation
From ...
Kushal_Chawda

@jagjivvt  may be like below

 

Data:
LOAD *
FROM Table;

left join(Data)
LOAD [Invoice ID],
     if(Cnt_Invoice>1,'Duplicate','Non-Duplicate') as Flag;
LOAD [Invoice ID],
     count([Invoice ID]) as Cnt_Invoice
resident Data
group by [Invoice ID];

 

jagjivvt
Creator
Creator
Author

Thank you