This is asking alot but, I have a situation where I am summarizing by order trans codes.
Firstly, this table has sometimes one or 2 'normal' duplicates. They enter it(order #) with a different order date for example.
More importantly, each order might have multiple rows based on transcodes so we have data like this: Different codes refer to the sales effort done, for example, some orders were quoted first, some were started by one rep then given to the 'terminator' rep if you will etc.
Order# Amt. Transcode
12345 100.00 001
12345 100.00 023
12345 100.00 CQU
So in the summary report we would have
total of transcodes:
001 1 100.00
023 1 100.00
CQU 1 100.00
So currently the grand total of amount is $300. but should be $100.
the detail lines per code is ok. I would like to have the correct order grand total however.
If i could select distinct order amt, I would get it. How to do this in running total? or some other way?
I guess i can make a separate view but i prefer to use the same table if possible.