How to sum time ranges
I have a problem when aggregating lineitem by time .
I want to aggregate Amount by "Aggregate Lineitem" (From Jan-21 To Mar-21).
The Module A&B has set by time range, so we can't do it.
Table A ( Time Range : past 2years)
Table B (No Applies To)
Please give me a solution.
I agree Timesum is your best bet for this as it is very flexible, you can either timesum over the whole time range in which case your formula would just be Timesum(Table A.Amount or you can specify the start and end dates after the Amount B. Here is a link to the Anapedis page which shows all the different options available to you:
Hi, AWhitworth & Misbah.
Thanks for replay.
is there a way to use timesum independently from the current period of the model0
Please review this information where it talks specifically about timesum(). Basically, you set the dates, start and end dates for the function to use. Also, please do not use timesum() on line item where Time is in the Applies To, instead think about using MovingSum().