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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Current Fiscal Year

HI All,

How to get max of Fiscal year ?

I have data in this format.

2013-14

2014-15

2015-16

Regards,

Keerthi KS

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

MaxString(Fiscal_Year) ?

View solution in original post

5 Replies
tresB
Champion III
Champion III

MaxString(Fiscal_Year) ?

Not applicable
Author

Thanks Tresesco. I was no aware of this function.

jagan
Partner - Champion III
Partner - Champion III

HI,

If you have a date field then try like this

=Only({<DateFieldName = {'$(=Max(DateFieldName)'}>} Fiscal_Year)

or

MaxString(Fiscal_Year) as Tresesco suggested.


If it is a valid date field then you can directly use


Max(Fiscal_Year)


Regards,

Jagan.

Not applicable
Author

It is derived from datefield.

if(num(month(saledate))<=3,Year(saledate)-1&'-'&right(Year(saledate),2),Year(saledate)&'-'&right(year(saledate)+1,2)) as FiscalYear

saledate is the datefield

tamilarasu
Champion
Champion

You can also try like below,

Date(Max(Date#(FiscalYear,'YYYY-DD')),'YYYY-DD')