Skip to main content
max_hinze
Contributor ⭐️⭐️
September 21, 2016

Report builder: MIN & MAX aggregation for date fields

  • September 21, 2016
  • 15 replies
  • 769 views
Hej  Gainsight community,

I am surprised that I cannot us a MIN or MAX aggregation on date fields when using the report builder. 

Maybe I am just unable to find out how it actually works, or no one else needs such a aggregation on data fields when building reports & dashboards. But I would really appreciate to have such an option.

Please, dear GainSight peeps let me know if there is a work around or, in case this is really not possible, if you have planed to add this function.

Best regards,
Max

    15 replies

    lila_meyer
    Gainsight Employee ⭐️⭐️⭐️
    October 10, 2016
    Hi Max,

    It looks like Max/Min is available on some date fields in the report builder, but not all. I've tagged our product manager for more information.
    Lila Krutel, Dir. Global Education Services
    heather_landgraf
    Contributor ⭐️⭐️⭐️⭐️⭐️
    February 15, 2018
    I need this too.  I need to build a report on a specific set of CTAs (recurring) and the MAX close date to see the last time a CTA of a certain type was closed.  I cannot seem to find a way to do that in reporting.  It won't let me do MAX close date.  
    cmultanen
    Helper ⭐️
    July 13, 2018
    Is there any update on which fields/objects MIN and MAX aggregation are available for, if at all? I'd like to create a CSTask report for the current open task in a playbook by MIN due date. This would really help our managers know where their team members are in a playbook.
    matthew_lind
    VIP ⭐️⭐️⭐️⭐️⭐️
    August 9, 2018
    I was just in search of this myself, and surprised I couldn't use MAX/MIN on date fields. My use case is to identify the most recent touch to a customer. I promised this to a member of management, and now I'm having to backtrack.

    My observation (untested, and based on a very small number of spot-checks) is that you can use MIN/MAX on date fields residing in MDA objects, but cannot use MIN/MAX on date fields in SFDC objects. That makes MIN/MAX unavailable for Customer Info, Account and CTA objects.

    I suppose the work-around is to write a "Load to MDA" Rule to shuttle the SFDC date-based data to the MDA, but what a hassle.
    Making people their best....currently disguised as a CS Ops Architect. How can I contribute to your success?
    jeremy_curry
    Helper ⭐️⭐️
    February 12, 2019
    I'm guessing as Gainsight moves toward the NXT model, requests such as this won't get any more traction. Bummer as this would've been a great feature.

    rakesh
    Gainsight Employee ⭐️
    Lets put your data to work!
    February 13, 2019
    Hi Jeremy,

    We not only welcome but love the feedback that our customers provide on the community. I assure you that we actively consider this feedback for the product roadmap and prioritization.

    Our overall move towards NXT does not mean that we will not prioritize providing robust salesforce integrations. This particular problem arises from a salesforce limitation with Custom Fiscal Year - where salesforce does not provide us aggregation functions on date fields. Its quite hard for us to productize the Salesforce queries (SOQL) for all the scenarios. Let me review with the team to see if we can provide an acceptable solution for this problem.

    jeremy_curry
    Helper ⭐️⭐️
    March 5, 2019
    Hi Rakesh,

    I really appreciate your feedback!

    The problem here is that, as admins, ee have an inconsistent experience across fields that seem to be of the same type (even as Lila said, this functionality is available on certain date fields). Then, Lila says that a PM will address this topic and then it goes dormant for 3 years from the Gainsight side. This is why it feels that basic reporting capabilities are being passed over for bigger development on a new platform.

    spencer_engel
    Expert ⭐️
    May 29, 2019
    Any update on where this is on the roadmap?

    rakesh
    Gainsight Employee ⭐️
    Lets put your data to work!
    May 30, 2019
    Min and Max Aggregations on date fields for reports on SFDC data is not supported in SOQL.

    sierra_evans
    Contributor ⭐️⭐️⭐️⭐️⭐️
    August 5, 2019
    This is our use case as well. I need to know max due date of CTA records by account. If the min/max functionality is an issue with Salesforce date fields, why wouldn't the aggregation be available with CTA (Gainsight object) date fields?