I'm hoping someone can help me - I'm supposed to print the past 12 month's of sales quantities for each of our 4000 clients if the last full month's quantity sold is greater than 40% of the average quantity sold to that customer in the previous 90 days.
I do have Crystal 9, but I also have many clients who do not have 90 days of previous sales data, therefore the dreaded 'divide by zero' scenario.
Since the average quantity is only for the previous 90 days, I have created a view that has one record for each client and the average of their previous 90 days of sales.
I also have a view that summarizes each client by month and total quantity.
I'm just not sure how to use this data to only select where the current month's quantity is > 40% of the average.
Hope I made myself clear...
I do have Crystal 9, but I also have many clients who do not have 90 days of previous sales data, therefore the dreaded 'divide by zero' scenario.
Since the average quantity is only for the previous 90 days, I have created a view that has one record for each client and the average of their previous 90 days of sales.
I also have a view that summarizes each client by month and total quantity.
I'm just not sure how to use this data to only select where the current month's quantity is > 40% of the average.
Hope I made myself clear...