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: 
Lalita_Rai
Partner - Contributor II
Partner - Contributor II

Calculating YTD, LYTD, MTD and LMTD Sales

How do I calculate?

YTD, LYTD, MTD  and LMTD Sales (KPI objects) based on "Order Date" considering the present date is 29-Dec-2012. Consider Jan to Dec financial year.

 

Many Thanks.

 

1 Solution

Accepted Solutions
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

In that case, create a calendar till 29-Dec-2012.

Then your max(Date) will be 29-Dec-2012 and you can calculate MTD, YTD from that max date.

View solution in original post

3 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

You can check below link for expressions.

https://community.qlik.com/t5/QlikView-Documents/Date-Level-Analysis-WTD-MTD-QTD-YTD-Current-Year-Pr...

I have a question regarding Present date as 29-Dec-2012, what does that mean ?

 

Thanks,

Ashutosh

Lalita_Rai
Partner - Contributor II
Partner - Contributor II
Author

Hi Ashutosh,

Thank you

It is referring to the current date which is 29 dec 2012. This was given to
me as assig from my trainer.
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

In that case, create a calendar till 29-Dec-2012.

Then your max(Date) will be 29-Dec-2012 and you can calculate MTD, YTD from that max date.