Report in crystal 10 using 2 cross-tabs. To display data the way client has requested, I created a formula to group the data. It works great, except that if I use it in one of my cross-tabs it effects the totals in the other cross-tab (even though the formula is not used in the other cross-tab).
When I use the formula in the Row selection in Cross-tab #1, it skews my running grand totals in Cross-tab #2 which I DO NOT want that selection criteria applied to and have NOT used that formula in any row selection.
Why does a formula used in one cross-tab effect my totals in all cross-tabs? The formula is not performing any calculations. It it merely record selection criteria. For reference, below is the formula I am using to group. Thank you!!
RECORD SELECTION CRITERIA TO APPLY TO ALL FORMULAS AND CALCULATIONS:
____________________________________________
{po_account_segment.HEADER_ITEM_IND} = "I" and
{PO_HEADER.CURRENT_HDR_STATUS} in ["3PCO", "3PCR", "3PPR", "3PS"] and
{po_header.PO_DATE} in {?Pm-@startpodate} to {?Pm-@endpodate}
GROUPING FORUMLA USED IN ONE CROSS-TAB ROW SELECTION:
_________________________________________________
If {PO_HEADER.PO_TYPE_CODE} IN ["CB", "CP", "EO", "GB", "GP", "PB", "PP", "SB", "SP"] AND
THEN
"EXEMPTIONS"
Else
IF {PO_HEADER.PO_TYPE_CODE} <> ["CB", "CP", "EO", "GB", "GP", "PB", "PP", "SB", "SP"] and
{VENDOR_CERTIFICATION.CATEGORY_ID} = "20 JSEB" and
{po_header.po_date} in {vendor_certification.cert_date} to {vendor_certification.expire_date}
THEN
"EQUAL BUSINESS OPPORTUNITIES"
When I use the formula in the Row selection in Cross-tab #1, it skews my running grand totals in Cross-tab #2 which I DO NOT want that selection criteria applied to and have NOT used that formula in any row selection.
Why does a formula used in one cross-tab effect my totals in all cross-tabs? The formula is not performing any calculations. It it merely record selection criteria. For reference, below is the formula I am using to group. Thank you!!
RECORD SELECTION CRITERIA TO APPLY TO ALL FORMULAS AND CALCULATIONS:
____________________________________________
{po_account_segment.HEADER_ITEM_IND} = "I" and
{PO_HEADER.CURRENT_HDR_STATUS} in ["3PCO", "3PCR", "3PPR", "3PS"] and
{po_header.PO_DATE} in {?Pm-@startpodate} to {?Pm-@endpodate}
GROUPING FORUMLA USED IN ONE CROSS-TAB ROW SELECTION:
_________________________________________________
If {PO_HEADER.PO_TYPE_CODE} IN ["CB", "CP", "EO", "GB", "GP", "PB", "PP", "SB", "SP"] AND
THEN
"EXEMPTIONS"
Else
IF {PO_HEADER.PO_TYPE_CODE} <> ["CB", "CP", "EO", "GB", "GP", "PB", "PP", "SB", "SP"] and
{VENDOR_CERTIFICATION.CATEGORY_ID} = "20 JSEB" and
{po_header.po_date} in {vendor_certification.cert_date} to {vendor_certification.expire_date}
THEN
"EQUAL BUSINESS OPPORTUNITIES"