Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! 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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

MaxString(Fiscal_Year) ?

View solution in original post

5 Replies
tresesco
MVP
MVP

MaxString(Fiscal_Year) ?

Not applicable
Author

Thanks Tresesco. I was no aware of this function.

jagan
Luminary Alumni
Luminary Alumni

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')