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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to create yearname

hi,

i need to create yearname field like 2014-2015,2013-2014 etc

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Probably you are trying to get fiscal year. If so try like:

Load

          YearName(DateField, 0, 4) as yearName    // 4- denotes first month of fiscal year.

View solution in original post

2 Replies
MK_QSL
MVP
MVP

=Year(Today()) & '-' & (Year(Today())+1)

Change Today() with your DateField

tresB
Champion III
Champion III

Probably you are trying to get fiscal year. If so try like:

Load

          YearName(DateField, 0, 4) as yearName    // 4- denotes first month of fiscal year.