awise
IS-IT--Management
- Dec 11, 2001
- 85
Crystal v8.5 w/SQL Server 2000 / Windows 2000
Designing a report to show sales by brand by joining the
customer master table to the sales history table by custid.
The problem is that the join limits the results to only records where there is an actual sale, which I understand.
If the customer did not have any sales for brand A, then a line item record for brand A will not appear on the report.
The report can't show a $0 sale for a record that never existed.
I'm hopeful that this is a common obstacle where a common
resolutoin is available.
How do I get results for all brands, even if there are no sales records in the sales history table for that customer and brand? How can I get the report to show sales for all brands for a customer, include brands without sales records showing $0 sales in the results?
Appreciate any tips or assistance.
zaw
Designing a report to show sales by brand by joining the
customer master table to the sales history table by custid.
The problem is that the join limits the results to only records where there is an actual sale, which I understand.
If the customer did not have any sales for brand A, then a line item record for brand A will not appear on the report.
The report can't show a $0 sale for a record that never existed.
I'm hopeful that this is a common obstacle where a common
resolutoin is available.
How do I get results for all brands, even if there are no sales records in the sales history table for that customer and brand? How can I get the report to show sales for all brands for a customer, include brands without sales records showing $0 sales in the results?
Appreciate any tips or assistance.
zaw