Hello All,
I am writing in regards to a question I cannot seem to solve.
I have joined two tables (the names of which have been changed for privacy reasons), well call "Sales" and "Purchases". It is a Many-to-One join on the field 'SKU' with a Left Join of "Sales" table to "Purchases" table.
***FYI 'GROUP' and 'GROUP DESC' fields have also been changed from real field names for privacy reasons.
The problem I am having is that the field "Sales Units" is summing incorrect, overinflated totals for certain 'SKUs'. This isn't the case for all fields, but this one in particular.
I am not sure if it has anything to do with the datatypes of the fields. Datatypes are as follows:
SALES TABLE
SKU = Number, Long Integer (GROUP BY)
SKU DESC= Text (GROUP BY)
"GROUP"= Number, Long Integer (GROUP BY)
CHANNEL= Text (GROUP BY) Criteria: "Stocked"
SALES UNITS = Number, Long IntegerRETAIL PRICE = Number, Double (SUM)
RETAIL PRICE = Number, Double (AVG)
PURCHASES TABLE
"GROUP DESC"= Text, @ (GROUP BY)
COST(EA) = Currency, $* #,##0.00;$* (#,##0.00);$* -00 (AVG)
Any thoughts?
Thank you for your help