Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a table with duplicate values in on column.
I need to do some logic for duplicate records.
this is my table
300
This the Output i need.
How to do this using load script or set analysis?
Thanks,
John.
HI
Check this,
LOAD *, if(Item=Peek(Item) and Qty=Peek(Qty),0,Qty) as RevisedQty;
load * Inline [
Item Qty Cost
Item1 1 100
Item1 1 101
item2 1 200
item3 2 300
] (delimiter is \t);