Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
sarfaraz_sheikh
Contributor III
Contributor III

About MTD and YTD

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

4 Replies
arulsettu
Master III
Master III

hi

check this

YTQ, QTD, MTD and WTD

amit_saini
Master III
Master III

prma7799
Master III
Master III

Hi,

Check this it will help

YTQ, QTD, MTD and WTD

Thanks

Prashant

its_anandrjs

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