I have a data source of bins that contain products. Sometimes there may be duplicate product codes in the data source but each will have a 'created DateTime. If there are duplicate products I want to be able to add a column that gives the 'sequence' in the order it should be consumed. IE list of products:
Bin1 P0009 10:05 Sequence1
Bin2 P0021 11:14 Sequence2
Bin3 P0009 12:02 Sequence2
Bin4 P0021 08:44 Sequence1
Bin5 P2007 19:10 Sequence1
Bin6 P0009 18:00 Sequence3
...
I want to add that sequence number on the fly using add columns. I'm not sure how to approach it. Can someone point me in the right direction?

Report
All responses (
Answers (