Hi,
I am trying to make a profit and loss in Crystal. (Crystal 2008)
At the moment I have made a formula field on account number which groups accounts into 10 different groups. Revenue, Direct cost, Depreciation, Financial income etc…..
Below you can see some of the formula field.
if ({Dim_Account.Accounting identity}) startswith '3' then "01 "+"Revenue"
else if ({Dim_Account.Accounting identity}) in ['408000','409000','410000','416000','417000','419000','644000','644500','648100','651000','662000','700000'] then "02 "+"Materials"
else if ({Dim_Account.Accounting identity}) in ['601000','601500'] then "03 "+"Depreciation"
else ({Dim_Account.Accounting identity})
However I need to make subtotals in the profit and loss based on my formula field for accounts, I have tried to use running totals and the formula field but cant get it to work.
I can’t use on change of field or on change of group as my groupings is in a formula not a Crystal group and it is within a field not change of field. (Accounts)
I would like to make a subtotal for contribution margin. ((1)Revenue –(2)Materials) that will show before (3) depreciation.
Is this possible? Can I re use the formulas I have used to group the accounts to get the running total to evaluate on change of these groups?
Anders
I am trying to make a profit and loss in Crystal. (Crystal 2008)
At the moment I have made a formula field on account number which groups accounts into 10 different groups. Revenue, Direct cost, Depreciation, Financial income etc…..
Below you can see some of the formula field.
if ({Dim_Account.Accounting identity}) startswith '3' then "01 "+"Revenue"
else if ({Dim_Account.Accounting identity}) in ['408000','409000','410000','416000','417000','419000','644000','644500','648100','651000','662000','700000'] then "02 "+"Materials"
else if ({Dim_Account.Accounting identity}) in ['601000','601500'] then "03 "+"Depreciation"
else ({Dim_Account.Accounting identity})
However I need to make subtotals in the profit and loss based on my formula field for accounts, I have tried to use running totals and the formula field but cant get it to work.
I can’t use on change of field or on change of group as my groupings is in a formula not a Crystal group and it is within a field not change of field. (Accounts)
I would like to make a subtotal for contribution margin. ((1)Revenue –(2)Materials) that will show before (3) depreciation.
Is this possible? Can I re use the formulas I have used to group the accounts to get the running total to evaluate on change of these groups?
Anders