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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Prabhu1204
Creator
Creator

FY Date to Date

Hello, 

 

Is it possible to bring the date from FY.

I have year and I want to bring the Closing date 

Prabhu1204_0-1605622283727.png

 

Could you please give some suggestion? or is it not possible

-Prabhu
2 Solutions

Accepted Solutions
MayilVahanan

Hi @Prabhu1204 

Try like below

Load *, Date(MakeDate(2000+Right(Year,2), 3,31),'MM/DD/YYYY') as ClosingDate Inline
[
Year
FY10-11
FY11-12
];

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

QFabian
MVP
MVP

Hi @Prabhu1204 , please try this one too :

Data:
Load * inline [
Year
FY10-11
FY11-12
FY12-13
FY13-14
FY14-15
FY15-16
];

left join
Load
Year,
monthend(makedate(20&subfield(purgechar(Year, 'FY'), '-', 2), 3)) as [Closing Date]
Resident Data;

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.

View solution in original post

2 Replies
MayilVahanan

Hi @Prabhu1204 

Try like below

Load *, Date(MakeDate(2000+Right(Year,2), 3,31),'MM/DD/YYYY') as ClosingDate Inline
[
Year
FY10-11
FY11-12
];

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
QFabian
MVP
MVP

Hi @Prabhu1204 , please try this one too :

Data:
Load * inline [
Year
FY10-11
FY11-12
FY12-13
FY13-14
FY14-15
FY15-16
];

left join
Load
Year,
monthend(makedate(20&subfield(purgechar(Year, 'FY'), '-', 2), 3)) as [Closing Date]
Resident Data;

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.