I'm trying to build a formula with Parentgroup value for report. But I end with incorrect one!!
I'm not able to get the percentage of shipped quantity. below formula is the one i'm looking to build in reports. Not able to get correct syntax
Percentage%=
(Sum ofShipped quantity CY2021 - Sum of Shipped Quantity CY2020)/(Shipped quantity CY2020).
Please find the attached report screenshot with report and grouping.
Percentage should be for each rebate group and not for orderstartdate
Any help on this would be appreciated!!
Thanks in Advance!!
Regards,
Saranya K
3 respostas
Are you looking for something kind of like this? These are the 4 Formulas that I used
Formula 1 (Variance Count)
Opportunity.Opportunity__c:SUM - PREVGROUPVAL(Opportunity.Opportunity__c:SUM, CLOSE_DATE)
Formula 2(Variance %)
IF(PREVGROUPVAL(Opportunity.Opportunity__c:SUM, CLOSE_DATE) <> 0,
(Opportunity.Opportunity__c:SUM - PREVGROUPVAL(Opportunity.Opportunity__c:SUM, CLOSE_DATE)) / PREVGROUPVAL(Opportunity.Opportunity__c:SUM, CLOSE_DATE),NULL)
Formula 3 (Variance $Amount)
AMOUNT:SUM - PREVGROUPVAL(AMOUNT:SUM, CLOSE_DATE)
Formula 4 ($Variance %)
IF(PREVGROUPVAL(AMOUNT:SUM, CLOSE_DATE) <> 0,
(AMOUNT:SUM - PREVGROUPVAL(AMOUNT:SUM, CLOSE_DATE)) / PREVGROUPVAL(AMOUNT:SUM, CLOSE_DATE),NULL )