I have a table like the following:
Code Qty
CODE1 12
CODE2 5
CODE3 10
What I need to do is create x amount of unique rows for each code where x is the quantity by an incremeting value. The value I could actually do manually with exporting the results to excel, so I somehow need the following results:
Code Qty
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE2 1
CODE2 1
CODE2 1
CODE2 1
CODE2 1
CODE3 1
etc
Is this possible?
Code Qty
CODE1 12
CODE2 5
CODE3 10
What I need to do is create x amount of unique rows for each code where x is the quantity by an incremeting value. The value I could actually do manually with exporting the results to excel, so I somehow need the following results:
Code Qty
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE1 1
CODE2 1
CODE2 1
CODE2 1
CODE2 1
CODE2 1
CODE3 1
etc
Is this possible?