I have a dataset:
Quantity Start date End date
1 2012-03-28 2012-05-30
7 2012-08-15 2012-12-15
I would like to sum and group their quantity together using the fiscal year, which starts at the 1st of each April and end 31st of March next year. I.e.
Fiscal Year Quantity
2012 3000
2013 1788
I attempt to create an attribute fiscal year but encounter the issue that the date range may fall between 2 fiscal year. ( First row of original dataset and for that instance, we would need to count the quantity twice, once in 2011 and the other in 2012.)
May I know if there are ways to perform such operations?
Thank You!
fiscalYear
below. Do you need such a solution? – Mark Barinstein