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

Make date

‌dear all,

am quite new to Qlik Sense.

Struggle deriving from field 'Fiscal year/period'

(in format 2015009 ) the YEAR and MONTH as date.

Both date and date # don't work.

Someone who can help with syntax?

1 Solution

Accepted Solutions
Ivan_Bozov
Luminary
Luminary

In 2015009 you have an extra null that you do not need. Try:

Date(Date#(LEFT([Fiscal year/period],4)&RIGHT([Fiscal year/period],2), 'YYYYMM'), 'MM.YYYY') AS [Fiscal year/period]

vizmind.eu

View solution in original post

4 Replies
Ivan_Bozov
Luminary
Luminary

In 2015009 you have an extra null that you do not need. Try:

Date(Date#(LEFT([Fiscal year/period],4)&RIGHT([Fiscal year/period],2), 'YYYYMM'), 'MM.YYYY') AS [Fiscal year/period]

vizmind.eu
Anil_Babu_Samineni

What output you are expecting?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
letileti
Contributor III
Contributor III
Author

Thanks a lot, Ivan!

Ivan_Bozov
Luminary
Luminary

No problem, glad it works.

vizmind.eu