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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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

tresesco
MVP
MVP

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.