I want to say that I have created about 40 Reports and this one goes from the beginning of this year. Customer request is changing and finally i got to the point where i am losing my mind...
I have data
COD MAIN_ID ID ORDER COST
666 1111111 122 aaaaa $10.00
666 1111111 123 bbbbb $20.00
666 1111111 124 ccccc $30.00
666 1111112 122 aaaaa $10.00
666 1111112 123 bbbbb $20.00
666 1111112 124 ccccc $30.00
666 1111113 122 aaaaa $10.00
666 1111113 123 bbbbb $20.00
666 1111113 124 ccccc $30.00
My problem is that I need to calculate
MAIN IDs per COD (3)
Distinct IDs per COD (3)
Distinct ORDERs per code (3)
Total Cosr shoul be $60
Any suggestions on grouping?
I have data
COD MAIN_ID ID ORDER COST
666 1111111 122 aaaaa $10.00
666 1111111 123 bbbbb $20.00
666 1111111 124 ccccc $30.00
666 1111112 122 aaaaa $10.00
666 1111112 123 bbbbb $20.00
666 1111112 124 ccccc $30.00
666 1111113 122 aaaaa $10.00
666 1111113 123 bbbbb $20.00
666 1111113 124 ccccc $30.00
My problem is that I need to calculate
MAIN IDs per COD (3)
Distinct IDs per COD (3)
Distinct ORDERs per code (3)
Total Cosr shoul be $60
Any suggestions on grouping?