Dates in Timesum

Dates in Timesum

Timesum formula currently works with time periods.

When the granularity of the data is Days, the formula cannot return anything (although it does not generate an error).

 

The idea here is to enable Timesum to also work with Dates so that we can apply this formula to more granular use cases.

9 Comments
andrewtye
Master Anaplanner/Community Boss

And would of course make the following workaround nicely redundant (which is a good thing): https://community.anaplan.com/t5/Best-Practices/Sum-Transactions-Based-on-Properties-Between-Two-Dat...

m.angeles11
Certified Master Anaplanner

This would be a logical extension of this function so totally agree with this request.

Nicolas Cadier
Certified Master Anaplanner

What a great idea! How has this not been implemented yet?

Russell
Certified Master Anaplanner

This would make complete sense to allow a daily timesum.  A lot of great use cases for retailer sales data working on different calendars

Michelle Sutherland
Certified Master Anaplanner

Great idea Axel, hope this gets implemented.

Stuart437
Certified Master Anaplanner

That's a great idea and would be very useful on something I'm working on currently

wwood
Certified Master Anaplanner

This would make the function more useful, specifically to sum fine grained time snippets.

nikolay_denisov
Certified Master Anaplanner

Hi,

Correct me if Im wrong, but it is possible to use timesum on a dates

The trick is you may need to change places of the dates in vice-versa order.

Like Timesum(XXX, End Date, Start Date)

Screenshot 2020-12-18 at 19.58.08.png

sreeharikv
Occasional Contributor

I can confirm that the previous trick of using dates in the TimeSum function works for me

Timesum(XXX, End Date, Start Date)

 

In my case, the model calendar does not have a week dimension enabled and I had a requirement to calculate weekly sum of data from a module dimensioned by day. I calculated the start date for that and then used the timesum(xxx, End Date, Start Date) and it calculated the weekly sum as expected.