I'm trying to calculate the gross annual revenue for the last year. But my filters seem wrong to me. I consider the interval between starting and final dates. But what if the date started in 2017, and ended in 2018? Then I need to calculate the income received from the beginning of 2018 until the final date. How to drop the "tail" of income from 2017? How do I fix my filters?