Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

how to convert yearmonth in to fiscal year

Hello,

         Is it possible to convert the below values in to fiscal year ...

CMonth

201604

201605

201606

201607

when it come to fiscal year all the above values are FY2017

Expression i tried :

                          year(addmonths(CMonth,9)) as Fiscal Year

but i am getting any output ..

is there any other way to write this expression

thanks

1 Solution

Accepted Solutions
sunny_talwar

May be this

Year(AddMonths(Date#(CMonth, 'YYYYMM'), 9)) as [Fiscal Year]

View solution in original post

3 Replies
kunkumnaveen
Specialist
Specialist
Author

but i am getting any output .........

but i am not getting any output

sunny_talwar

May be this

Year(AddMonths(Date#(CMonth, 'YYYYMM'), 9)) as [Fiscal Year]

kunkumnaveen
Specialist
Specialist
Author

Thanks Sunny for your reply its working