Skip to main content

#User Defined Rollup0 discussing

I was just working on a UDR designed to rollup the "Last Pledge Date" on the contact record.

 

To do this I created a "Pledge Date" formula field on the opportunity object using the following formula: 

 

IF ( AND( IsClosed = FALSE, IsWon = FALSE), CloseDate, NULL) 

 

The formula field works as designed.

 

The user defined roll up is then supposed to take the MAX "Pledge Date" value and store it in the "Last Pledge Date" field.

 

However, when I run the batch, the field created on the contact record called "Last Pledge Date" isn't being populated on any of the contact records. I'm also not getting any kind of error message when I run the batch .

 

At first I thought maybe I was using too many user defined rollups and exceeded a limit (I had 36 active including the Last Pledge Date one). So I deleted several of the rollups that only really needed to be run one time, but that didn't change the result

 

I saw @Sam Dorman had posted earlier about an issue when an opportunity has a NULL value in a date field being rolled up, and wondered if my issue might be related. In order to confirm this was a problem with the presence of a NULL value, I re-wrote the formula as follows:

 

IF ( AND( IsClosed = FALSE, IsWon = FALSE), CloseDate, Date (1900, 1, 1))

 

Now when I run the batch, every contact's "Last Pledge Date" field is equal to 1/1/1900, even if they have a more recent open opportunity. I've verified on numerous contacts that they have dates in the "Pledge Date" field that is more recent, but those dates are not being rolled up.

 

I've attached screenshots of my rollup definition and the formula field I created.

 

Any ideas?

 

I'm guessing this is still a bit of an unresolved issue based on this: https://github.com/SalesforceFoundation/Cumulus/issues/2494

 

#UDR  #User Defined Rollup 

@SFDO Open Source Contributors 

5 answers
  1. Apr 6, 2017, 4:53 PM
    No you're 100% right, this is one of the core reasons we established at the @NPSP Community Sprints in Baltimore to choose DLRS or RollUp helper vs. a Native feature.
0/9000

WEBINAR - Thursday, April 20th at 3 pm ET, Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack:

 

Data-driven fundraising success is within your reach, even if formulas terrify you! In this power-packed webinar, we'll help you boost donations through solid data-driven strategies combined with powerful and easy ways you can extend the #NPSP to give you the numbers you need to succeed! A more valuable 45-minutes, you could not spend on April 20th at 3 pm ET. This is sure to be a hot ticket so register today to claim your spot with @Marisa Taylor and me!

 

@Soapbox Engage App @Soapbox Engage App (Partners) #User Defined Rollup #UDR #UDRlove #Fundraising 

Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack

0/9000

WEBINAR - Thursday, April 20th at 3 pm ET, Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack:

 

Data-driven fundraising success is within your reach, even if formulas terrify you! In this power-packed webinar, we'll help you boost donations through solid data-driven strategies combined with powerful and easy ways you can extend the #NPSP to give you the numbers you need to succeed! A more valuable 45-minutes, you could not spend on April 20th at 3 pm ET. This is sure to be a hot ticket so register today to claim your spot with @Marisa Taylor and me!

 

@Soapbox Engage App @Soapbox Engage App (Partners) #User Defined Rollup #UDR #UDRlove #Fundraising 

Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack

1 comment
  1. Apr 5, 2017, 6:29 PM

    ** FUNDRAISING WEBINAR **

    Sometimes, the easiest way to bring in new donor dollars isn't with splashy marketing campaigns, but rather just looking at the donor data you already have. This webinar will help you unlock the data you already have about your supporters to increase your fundraising success.

0/9000

WEBINAR - Thursday, April 20th at 3 pm ET, Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack:

 

Data-driven fundraising success is within your reach, even if formulas terrify you! In this power-packed webinar, we'll help you boost donations through solid data-driven strategies combined with powerful and easy ways you can extend the #NPSP to give you the numbers you need to succeed! A more valuable 45-minutes, you could not spend on April 20th at 3 pm ET. This is sure to be a hot ticket so register today to claim your spot with @Marisa Taylor and me!

 

@Soapbox Engage App @Soapbox Engage App (Partners) #User Defined Rollup #UDR #UDRlove #Fundraising 

Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack

9 comments
  1. Apr 5, 2017, 5:59 PM
    @Tim Forbes we have a number of custom roll-ups for our development team already (mostly through DLRS) but excited to see more, we've been trying to push using data for development internally, so any extra tools really help!
0/9000

Check out this how-to recipe for a rock solid use of User Defined Rollups in the #NPSP: calculating Consecutive Years Giving for a Contact. Take 20 - 30 minutes to add this to your org by following these step--by-step instructions  - then watch this space for details on how to use this to calculate average donor lifespan for your nonprofit directly in Salesforce.

 

And a MASSIVE hat tip to the wonderful @Beth Breisnes for her formula we used!

 

@Fundraising @Nonprofit and Education MindShare #Fundraising #User Defined Rollup 

Calculate Consecutive Years Giving using User Defined Rollups in the Salesforce.org Nonprofit Success Pack

8 comments
0/9000

Check out this how-to recipe for a rock solid use of User Defined Rollups in the #NPSP: calculating Consecutive Years Giving for a Contact. Take 20 - 30 minutes to add this to your org by following these step--by-step instructions  - then watch this space for details on how to use this to calculate average donor lifespan for your nonprofit directly in Salesforce.

 

And a MASSIVE hat tip to the wonderful @Beth Breisnes for her formula we used!

 

@Fundraising @Nonprofit and Education MindShare #Fundraising #User Defined Rollup 

Calculate Consecutive Years Giving using User Defined Rollups in the Salesforce.org Nonprofit Success Pack

1 comment
0/9000

ICYMI: Get all the strategy and tactical goodness that was our webinar Convert One-Time Donors to Sustaining Supporters: Strategy, Tactics, and the Salesforce.org Nonprofit Success Pack! Included is a dizzying array of step-by-step Salesforce #NPSP recipes covering #Engagement Plans, #Levels, #User Defined Rollup and more!

 

#Workflow Rule #Workflow Rules @Soapbox Engage App @Soapbox Engage App (Partners) (Private) #Fundraising

FREE WEBINAR | Convert One-Time Donors to Sustaining Supporters: Strategy, Tactics, and the Salesforce.org Nonprofit Success Pack

0/9000
Is there any limit on the total number of user defined rollups? Or are there any practical limitations, like running into governor limits when you get over a certain number?
7 answers
  1. Jun 26, 2014, 9:48 PM
    Rollup Helper or writing custom Apex triggers are my go to resources when you run out of rollup summary fields. However, as Brad mentions, you can submit a case to Salesforce and ask for a limit increase past the 10. You would just need to let them know which objects and how many more you need plus a reason for the increase.
0/9000