Skip to main content
I am trying to calculate a percentage of one field to another as a total.  The report is a matrix report that totals by salesperson and by effective month.  I want a running year to date persistency to show for each month.  With some help, I was able to get the running totals for both fields I need for my calculation.  However, in trying to add the calculation field work, I get an error that I am over the limit.  Here is what I have which totals one of the fields that works.  I have this field and I have another field for the "Current Members"  Now I just need to figure out how to divide the "current members" field by the "base members" field below on a YTD basis.

 

Any help would be greatly appreciated!!! thanks!!!

 

Base Memeber Field (which works)

 

Health_Enrollment_Summary__c.Base_Members__c:SUM+

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,1)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,1)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,2)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,2)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,3)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,3)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,4)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,4)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,5)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,5)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,6)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,6)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,7)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,7)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,8)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,8)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,9)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,9)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,10)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,10)) +

 

IF( ISNULL(PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,11)),0,PREVGROUPVAL(Health_Enrollment_Summary__c.Base_Members__c:SUM, Account.Health_Renewal_Month__c,11))
1 resposta