This is my formula:
IF SUM ({p21_sales_history_view.extended_price},{p21_sales_history_view.customer_name}) = 0 THEN 0 ELSE SUM ({@GROSS PROFIT DOLLARS},{p21_sales_history_view.customer_name})/SUM ({p21_sales_history_view.extended_price},{p21_sales_history_view.company_name})*100
I am trying to do a crosstab report showing all of our sales by users for each month. For each month, I am reporting the extended price, cogs, profit, and gp %. When I create the formula above to get my gp %, I get the following error message: Summary/Running total field could not be created.
Does anyone have a clue what I need to do to get the formula calculate my gp%?
thanks
Tracey
Crystal Reports 8.5
IF SUM ({p21_sales_history_view.extended_price},{p21_sales_history_view.customer_name}) = 0 THEN 0 ELSE SUM ({@GROSS PROFIT DOLLARS},{p21_sales_history_view.customer_name})/SUM ({p21_sales_history_view.extended_price},{p21_sales_history_view.company_name})*100
I am trying to do a crosstab report showing all of our sales by users for each month. For each month, I am reporting the extended price, cogs, profit, and gp %. When I create the formula above to get my gp %, I get the following error message: Summary/Running total field could not be created.
Does anyone have a clue what I need to do to get the formula calculate my gp%?
thanks
Tracey
Crystal Reports 8.5