I am trying to place a sum for this formula field in the group footer, but I keep getting a message telling me this field cannot be summarized? It calculates the number of pieces for a product and then I want to sum it for each day. Any suggestions? Thanks.
if GroupName ({PBATCH_TXT.main_product})= "8318 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "7500 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9367/12) else
if GroupName ({PBATCH_TXT.main_product})= "7008 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/1.0328/13) else
if GroupName ({PBATCH_TXT.main_product})= "7010 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9046/12) else
if GroupName ({PBATCH_TXT.main_product})= "8317 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "8319 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "8316 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "9103 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.8728/12) else
if GroupName ({PBATCH_TXT.main_product})= "9201 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/1.0145/12) else
if GroupName ({PBATCH_TXT.main_product})= "9202 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.8814/12) else
if GroupName ({PBATCH_TXT.main_product})= "9155 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9376/12) else
if GroupName ({PBATCH_TXT.main_product})= "9250 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9128/12) else
if GroupName ({PBATCH_TXT.main_product})= "8222 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.8328/10) else 0
[sig][/sig]
if GroupName ({PBATCH_TXT.main_product})= "8318 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "7500 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9367/12) else
if GroupName ({PBATCH_TXT.main_product})= "7008 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/1.0328/13) else
if GroupName ({PBATCH_TXT.main_product})= "7010 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9046/12) else
if GroupName ({PBATCH_TXT.main_product})= "8317 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "8319 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "8316 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9796/12) else
if GroupName ({PBATCH_TXT.main_product})= "9103 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.8728/12) else
if GroupName ({PBATCH_TXT.main_product})= "9201 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/1.0145/12) else
if GroupName ({PBATCH_TXT.main_product})= "9202 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.8814/12) else
if GroupName ({PBATCH_TXT.main_product})= "9155 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9376/12) else
if GroupName ({PBATCH_TXT.main_product})= "9250 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.9128/12) else
if GroupName ({PBATCH_TXT.main_product})= "8222 TR" then round (Sum
(({PBATCH_TXT.quantity}), {PBATCH_TXT.outflow_rate})/.8328/10) else 0
[sig][/sig]