Salesforce IdeaExchange
Roll-Up Summary Fields: Formulas Rather than Static Criteria
Currently, the Roll-Up Summary Field functionality only supports the use of static criteria for evaluating which records to COUNT, SUM, etc. Certainly, that works in many situations and this has been a great feature. However, there are so many more situations where a Roll-Up Summary field is needed but the necessary logic cannot be defined without the use of a formula. Hence, this idea...
Add the ability to use formulas when creating Roll-Up Summary fields.
Below are some examples of Roll-Up Summary fields that can and cannot be created today, for comparison. Scenario: a custom object called Project has a Mater-Detail relationship with the Opportunity object. In effect, one opportunity can have on or many related projects. Each project has fields for Start Date, Estimated End Date and Actual End Date.
Example 1 - CAN be accomplished today
Create a Roll-Up Summary field on Opportunity which provides a COUNT of all related Projects where Actual End Date is NULL (blank). In effect, a COUNT of all OPEN projects (though a bit suspect as it doesn't account for Projects that might not have started yet).
Example 2 - CANNOT be accomplished today
Create a Roll-Up Summary field on Opportunity which provides a COUNT of all related Projects where Start Date is less than or equal to TODAY and Actual End Date is NULL (blank). In effect, a more accurate COUNT of all open projects (excluding any that have not yet begun).
Example 3 - CANNOT be accomplished today
Create a Roll-Up Summary field on Opportunity which provides a COUNT of all related projects where Estimated End Date equals THIS MONTH and Actual End Date is NULL (blank). In effect, a COUNT of all projects expected to end in the current month but have not yet ended.
I'm sure that there are many other great examples of formula-based Roll-Up sumarry field logic. Many of which likely have nothing to do with date comparisons. Please provide comments with your other examples.
11 Comments » Posted by CThompson
Posted 10/26/07
Categories: User Experience, Force.com Platform, Administration & Sharing
- maksim
- mcrist
- bshardi
- jemo86
- mbsac
- marc_pannenberg
- bhughes
- joseph_ferraro
- redtag
- robertcrav
- tmbarry
- calista
- splashgordon
- tevans
- tbursey@borland.com
- cbetz@kryptiq.com
- BradPhillips
- scraps
- rro
- andy_ratike
- cilo
- georget
- Marie_Admin
- CM@affy
- bolaurent
- klineberry
- billm
- carlsalz
- kjoseph
- patria.lanfranchi05012008
- chris925
- vorno
- 08/2/2007_8:31
- kquadrat84
- sandrags
- bradcurrier
- bushranger
- RikvdW
- susana_nts
- ejw
- ejwilburn10092007
- sherwt
- matthewlamb
- datarzan
- JohanLiljegren
- EvanC
- AlexCRMmanager
- vw
- Seth_Schneider
- JasonRogers
- Anand_-_NPower
- kdc
- Navigator
- hudini007
- ar
- bigbrownboy
- joe_pfeiff
- steve_andersen
- gokubi
- e36mpower
- MKPartners.com
- Bob@Rupholdt.com
- JustWondering
- BWMoon
- Rusty12
- mda_tera
- NicoleW
- ErikO
- hasplu
- lahumada
- gemini@work
- TimMadigan
- dfg713
- danclements
- wgra
- miklev
- jcohen
- dFarns
- jisaac
- bc4saas
- mark2008
- flescor
- James_McGill
- alex.lares@v2sa.com
- Suz
- KBowen
- Peter_Rozek
- quick13
- Ben-Generate
- nilesh_v
- builderadmin
- michele_p
- Hayley
- ta_invisible
- wennerj
- joshsutterfield
- ols
- denizuner
- 08/7/2007_16:55
- swireadmin