Hi I am new to access and I have the following issue.
I have the following Table representing the sales for N number of years. There is N number of Customer that can buy N number of N Item Codes in N month. Its a combination of Customer, product code, month and year. In Excell I can use Sum Product Expression but due to the number of different combinations I would like to wotk with ACCESS and build a DataBase that will Automatically Handle these Combinations. Tabels here below give an example of the "raw data table " and the requested "Process Data table".
RAW DATA TABLE.
YEAR
MONTH CUSTOMER CODE ITEM CODE QTY VAL 2012 1 CAP01 IT0001 1000 1250 2012 1 CAP01 IT0001 1000 1250 2012 1 CAP01 IT0001 1000 1250 2012 1 CAP01 IT0001 1000 1250 2013 2 CAP01 IT0001 1000 1250 2012 2 CAP01 IT0001 850 1000 2012 2 CAP01 IT0001 850 1000 2013 1 CAP01 IT0001 850 1000 2012 1 CAP02 IT0002 100 120 2012 1 CAP02 IT0002 1000 1200 2013 1 CAP02 IT0002 500 520 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N - Years
N - months N - customer codes N - items Codes N - QTD N - Value
PROCESS DATA TABLE:
2012 2013 2012 2013 CUSTOMER CODE ITEM CODE MONTH 2012Q 2013Q 2012V 2013V DQ DV CAP01 IT0001 1 4000 850 5000 1000 -3150 -4000 CAP01 IT0001 2 1700 1000 2000 1250 -700 -750 CAP02 IT0002 1 1100 500 1320 520 -600 -800 CAP01 IT0001 4 0 0 0 0 0 0 CAP01 IT0001 5 0 0 0 0 0 0 CAP01 IT0001 6 0 0 0 0 0 0 CAP01 IT0001 7 0 0 0 0 0 0 CAP01 IT0001 8 0 0 0 0 0 0 CAP01 IT0001 9 0 0 0 0 0 0 CAP01 IT0001 10 0 0 0 0 0 0 CAP01 IT0001 11 0 0 0 0 0 0 CAP01 IT0001 12 0 0 0 0 0 0 Can anyone came across this issue before. What is the best way to build up the Data Base in order to handle such data calculations?
Regards
C