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: 
aknabe1
Contributor II
Contributor II

Defining FY to calculate FYTD

I am looking to define a FY as October-September and create calculations based of FYTD reference. "Reporting Period" is what is brought in from load editor and I have tried creating different formats in the columns below. 

Just to test basic logic, I tried using if statement referencing "reporting period" but it does not seem to be computing properly.

Any help/advice would be appreciated.

aknabe1_0-1654013546846.png

aknabe1_1-1654013598496.png

 

 

 

 

 

Labels (2)
1 Solution

Accepted Solutions
Qlik_Eric_Thomas

You could create a 'Fiscal Year' date field based off of the dates used in your 'Reporting Period' field.

Year(Addmonths([Date.autoCalendar.Date],3))

 

Qlik_Eric_Thomas_0-1654015032556.png

 

Sr. Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
Qlik_Eric_Thomas

You could create a 'Fiscal Year' date field based off of the dates used in your 'Reporting Period' field.

Year(Addmonths([Date.autoCalendar.Date],3))

 

Qlik_Eric_Thomas_0-1654015032556.png

 

Sr. Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
aknabe1
Contributor II
Contributor II
Author

Awesome - it looks like this logic worked. For some reason I had to change the "fiscal year" column number formatting to a number opposed to a date. When the formatting was set to date it was returning 1905.

 

Thanks!