Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lionking15
Creator
Creator

YTD & MTD

HI,

In my table i am having date,fiscal month,fiscal year field for this i want to write YTD & MTD . How to do it??

Thanks!!!!!

7 Replies
Anil_Babu_Samineni

Have you tried anything. If yes, please post those Two set operator's

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable

This may helps you

YTQ, QTD, MTD and WTD

arulsettu
Master III
Master III

bindu_apte
Creator III
Creator III

Hi,

Hope this qvw will help you.

lionking15
Creator
Creator
Author

Hi,

Suppose i select '21/02/2016' then YTD should show year between '01/04/2015' to 21/02/2016 as per fiscal year

arulsettu
Master III
Master III

can you post your qvw

lionking15
Creator
Creator
Author

For YTD i have written

=sum({<Date={'>$(=monthstart(min(Date)) )<=$(=max(Date))'}>}[Sales Amount]) is it correct???