Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I want to develop the report in which i have to calculate Current MTD as well Current YTD ..
How i can make the dynamic logic for the MTD as well As YTD. Please help.
Regards
Sarfaraz
Hi,
Check This
For YTD :-
=Sum({<DateField = {'>=$(=Max((YearStart(DateField)))) <=$(=Max(DateField))'}>} Sales)
For MTD :-
=Sum({$<DateField = {'>=$(=Max((MonthStart(DateField)))) <=$(=Max(DateField))'}>} Sales)
Regards
Anand