hi experts,
my data consists of the ff;
Order# Line# Amount Gross Weight Net Weight Country
12000 1 100 10 9 US
12000 2 20 10 9 US
12000 3 500 10 9 US
13000 1 200 30 28 UK
13000 2 200 30 28 UK
13000 3 50 30 28 UK
what happen is, the Amount is breakdown per line # but the Gross and Net weigths are taken as a whole (the weight of the whole order)
what i would just like to come up is this as final output;
Order# Amount Gross Weight Net Weight Country
12000 620 10 9 US
13000 450 30 28 UK
pivot sum up the weights, i hope its possible to just sum the amount and not the weights.
thank you for your continued help.
regards,
ghee up
my data consists of the ff;
Order# Line# Amount Gross Weight Net Weight Country
12000 1 100 10 9 US
12000 2 20 10 9 US
12000 3 500 10 9 US
13000 1 200 30 28 UK
13000 2 200 30 28 UK
13000 3 50 30 28 UK
what happen is, the Amount is breakdown per line # but the Gross and Net weigths are taken as a whole (the weight of the whole order)
what i would just like to come up is this as final output;
Order# Amount Gross Weight Net Weight Country
12000 620 10 9 US
13000 450 30 28 UK
pivot sum up the weights, i hope its possible to just sum the amount and not the weights.
thank you for your continued help.
regards,
ghee up