Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How pick up last day of financial year

hi all

have financial year i want Pick it last Day that financial year 

my year Starts on 1july to 30 jun

so  i want pick last Day of that Year For Comparison with other Date

like for Year 2009-2010   30 june 2010 will be my last day for  that Financial Year

how to pick that Specific date in every financial Year

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

FYear =MonthEnd(MakeDate(Right(FYear,4),vFM-1))
2010/201130-06-11
2011/201230-06-12
2012/201330-06-13
2013/201430-06-14

Use as per above...

or use below in Text Object.

=MonthEnd(MakeDate(Right(Max(FYear),4),vFM-1))

View solution in original post

7 Replies
sundarakumar
Specialist II
Specialist II

Better create variables for the dates, then use it where ever you want

-

Sundar

Not applicable
Author

hi Sundarakumar Kalaimani   

Thanks For Reply

Can u explain with a example ?

MK_QSL
MVP
MVP

Something like below...

=MonthEnd(MakeDate(Right(FinanceYear,4),vFiscalMonth-1))

Where vFiscalMonth = the variable we used to calculate Fiscal Month...

Hope this help.

Not applicable
Author

Can U explain in Follwing QVW

i have tried

MK_QSL
MVP
MVP

=MonthEnd(MakeDate(Right(FinanceYear,4),vFM-1))

Not applicable
Author

hi manish

thanks for reply

i have tried but it's not working

MK_QSL
MVP
MVP

FYear =MonthEnd(MakeDate(Right(FYear,4),vFM-1))
2010/201130-06-11
2011/201230-06-12
2012/201330-06-13
2013/201430-06-14

Use as per above...

or use below in Text Object.

=MonthEnd(MakeDate(Right(Max(FYear),4),vFM-1))