Conditional rollups based on date ranges with Sugar Logic?

Hello Sugar lovers!

We're trying to provide enriched info on our customer's records. Ex. win rates, etc. Since the reporting engine 1) cannot make calculations on sums (ex. win rate) and 2) still cannot show contextual reports in the sidebar, we're playing with calculated fields. 

This works relatively well, except when we are trying to create rollup conditions based on dates, for instance win rate for the current year or for the last 365 days. AFAIK there is no way to use "greater than" or "smaller than" in conditional rollups (sum/count)? 

Our current approach is to create a calculated field on the children records that saves the year for the target field and do the condition on that. But that's yet another calculated field and we are wary of the impact on specs. 

What is your approach for this? 

Parents
  • hello Damien,

    if to use a "sliding window" of 365 days, wouldn't it lead to daily recalculations regardless of the Sugar interface was used or not?
    I wonder whether Sugar Logic works well in such cases


    Best,
    Dmytro

    Best Regards,
    Dmytro Chupylka

    integroscrm.com
    We make work in Sugar CRM system faster, more convenient and efficient

  • You're absolutely right. This would require a calculated field "is within 365 days" that needs to be refreshed daily. 

    Not convienient and resource-intensive. 

    ATM my client wants a simpler field as they work on a calendar year-basis. So that field needs to be updated only when the close date is updated. 

    Damien Pochon

    CRM & Digital consultant @ ITS4U Group

Reply
  • You're absolutely right. This would require a calculated field "is within 365 days" that needs to be refreshed daily. 

    Not convienient and resource-intensive. 

    ATM my client wants a simpler field as they work on a calendar year-basis. So that field needs to be updated only when the close date is updated. 

    Damien Pochon

    CRM & Digital consultant @ ITS4U Group

Children