Hi,
I am using CRXI and have built a report which links to a spread sheet. the report is based on sales against targets.
the sales are being taken from a table in a DB2 system, and the budgets/targets are being taken from a spreadsheet.
this is what I'd like GROUPED on PRODUCT, only interested in the TOTALS (I supress the details):
fields: Product, Date, Number Sold, Budget, Variance,
details:
Product1, 01/01/2008, 5, 50, -45
Product1, 01/01/2008, 10, 50, -40
Product1, 01/01/2008, 20, 50, -30
Product1, 01/01/2008, 20, 50, -30
Total:
Product1, 01/01/2008, 55, 50, 5
but what is happening:
details:
Product1, 01/01/2008, 5, 50, -45
Product1, 01/01/2008, 10, 50, -40
Product1, 01/01/2008, 20, 50, -30
Product1, 01/01/2008, 20, 50, -30
Total:
Product1, 01/01/2008, 55, 200, -145
As you see the TOTALS are not right. Any ideas? I have tried counting the number of lines and dividing the total which is too high by this. but cant get this to work :-(
hope i have explained this ok.
thanks Paul
I am using CRXI and have built a report which links to a spread sheet. the report is based on sales against targets.
the sales are being taken from a table in a DB2 system, and the budgets/targets are being taken from a spreadsheet.
this is what I'd like GROUPED on PRODUCT, only interested in the TOTALS (I supress the details):
fields: Product, Date, Number Sold, Budget, Variance,
details:
Product1, 01/01/2008, 5, 50, -45
Product1, 01/01/2008, 10, 50, -40
Product1, 01/01/2008, 20, 50, -30
Product1, 01/01/2008, 20, 50, -30
Total:
Product1, 01/01/2008, 55, 50, 5
but what is happening:
details:
Product1, 01/01/2008, 5, 50, -45
Product1, 01/01/2008, 10, 50, -40
Product1, 01/01/2008, 20, 50, -30
Product1, 01/01/2008, 20, 50, -30
Total:
Product1, 01/01/2008, 55, 200, -145
As you see the TOTALS are not right. Any ideas? I have tried counting the number of lines and dividing the total which is too high by this. but cant get this to work :-(
hope i have explained this ok.
thanks Paul