As below image, I would like to remove duplicate doctotal amount and remain one line only per docno.
I could achieve by using for each row and delete duplicate lines. But for data row more than a million records, it is taking time and indexing problem might occur. So is there any other background coding to achieve this with faster without using for each row activity. Thanks.
By the way how can I mark these duplicate data to 0 and leave the bottom one with amount as follows: Let me know if I can use without using for each row activity. Thanks again.
Sorry for late reply, I couldn’t able to find solution to your scenario using query,
I would request @Yoichi@ppr to give solution or any suggestions to the above said scenario.
Thanks in advance.