Forum Discussion
Anonymous
7 years agoNot applicable
Sum on a dynamic date range
Hello, I would like to calculate the sum on a dynamic date range, for example: For March 2019, the sum of material consumption must be: = Sum of material consumption (April 2018 to March 2019) An...
- 7 years ago
Hello:
Try the following formula:
MAT cost:= calculate([Sum of material consumption],datesinperiod(calendar[date],lastdate(calendar[date]),-1,year))
Good luck,
José Luis
joseluis1969
7 years agoFrequent Visitor
Hello:
Try the following formula:
MAT cost:= calculate([Sum of material consumption],datesinperiod(calendar[date],lastdate(calendar[date]),-1,year))
Good luck,
José Luis
Anonymous
3 years agoNot applicable
It worked perfectly for me. Thanks a lot!