Add 90 Days to Contract Start Date

  • 3
  • Question
  • Updated 1 year ago
  • Acknowledged
Has anyone had success using Gainsight to add or subtract days from a date field?

I'm trying to figure out the number of users for a customer in the first 90 days of their contract. (I need to run a comparison against the number of users in the trailing 90 days from today.)

I can grab the contract start date from Opportunity, and I can join it to the Google Analytics MDA data in a Bionic Rule. Then I could limit the Google Analytics data to "Google Analytics Date >= Contract Start AND Google Analytics Date < 90 Days After Contract Start"/

However, I can't figure out a way to add 90 days to the contract start date.
  • Bionic Rule > Transformation Task > +Formula Field: Formula fields don't act on Date fields, so I can't just simply add 90 Days to the Date
  • Rule "Filters": I can say "This field is less/greater than another field", and I can "Add/Subtract N Days from Rule Date", but I can't "Add/Subtract N Days from Date Field"
  • MDA Google Analytics Data: I could add a formula field for "This Pageview's Date plus 90 days", except that MDA object isn't editable
The only thing I can think of is adding a Salesforce Formula Field to the Opportunity, to add 90 Days to the Contract Start Date. However our Salesforce instance is busy with extra fields, so I'd rather not add yet another one unless absolutely necessary.

If you've had any luck manipulating Dates in some other way, I'd love to hear! Thanks for lending your brainpower :-)
Photo of Seth

Seth, Employee

  • 14,490 Points 10k badge 2x thumb

Posted 1 year ago

  • 3
Photo of Seth

Seth, Employee

  • 14,490 Points 10k badge 2x thumb
Oh man, I so want to get this to work -- it's too pretty to give up on!

Photo of Karl Rumelhart

Karl Rumelhart, Official Rep

  • 10,242 Points 10k badge 2x thumb
We obviously need to get formulas on date fields working.  This rule really is insanely cool!  Here is a wicked hack to try: build a table with two columns: first with a list of date vales and a second with those dates plus 90 days. (Could in Excel and then import as CSV or something.)  Then join on the date filed with this table and get a new column with what you want.  
Photo of Seth

Seth, Employee

  • 14,490 Points 10k badge 2x thumb
OH HO! Karl, master hacker extraordinaire! Can't wait to get that set up -- gonna need to print this Rule out and get it framed.
Photo of Karl Rumelhart

Karl Rumelhart, Official Rep

  • 10,242 Points 10k badge 2x thumb
Let me know if it works!