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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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.