Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Help with Year2Date Function please?

I am trying to use the script build a calendar table that will identify dates that fall in various historic financial years (Month 1 is May). The following code works for the current financial year and the previous financial year:-

-1*(Year2Date(Date(CtrlDate),0,5,$(vToday))) as IsWithinFinYTD,

-1*(Year2Date(Date(CtrlDate),-1,5,$(vToday))) as IsWithinLastFinYTD

I also need to identify the year before the last financial year but all my attempts have failed.

Any suggestions please?

Thanks,

Chris