Hi
I have data like below . I want if user has entered month = 2 and year = 2016 then it should show sum from Month = 4 , Year = 2015 to Month = 2 , Year = 2016 i.e 10210000.
If user has entered month = 9 and year = 2015 then it should show sum from Month = 4 , Year = 2015 to Month = 9 , Year = 2015 i.e 3990000.
Location | Month | Year | Amount |
DSL | 4 | 2015 | 530000 |
DSL | 5 | 2015 | 530000 |
DSL | 6 | 2015 | 530000 |
DSL | 7 | 2015 | 800000 |
DSL | 8 | 2015 | 800000 |
DSL | 9 | 2015 | 800000 |
DSL | 10 | 2015 | 1300000 |
DSL | 11 | 2015 | 1300000 |
DSL | 12 | 2015 | 1300000 |
DSL | 1 | 2016 | 1160000 |
DSL | 2 | 2016 | 1160000 |
DSl | 3 | 2016 | 1160000 |