I have a scenario where I need to calculate the YTD for two years.
For eg : If user selects Nov-2020, Oct-2019 , then I need to return YTD(Nov-2020)+ YTD(Oct-2019).
DatesYTD function returns for the latest year, it doesn't sumup. Is there is someway where I can sum for both the years.