Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Ayden
Contributor III
Contributor III

Spilt Date field

Hello all is there any way I can split a date field that has year and month combined.

Ayden_0-1663079604484.png

I would like to have year as 2022 and month as January. Is this possible to achieved if data is coming as seen as above

Labels (2)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

One way is this
 

LOAD
SubField([Fisical Period],' ',1) as Year,
SubField([Fisical Period],' ',2) as Month

Inline[
Fisical Period
January 2020
December 2019
];

View solution in original post

1 Reply
BrunPierre
Partner - Master
Partner - Master

One way is this
 

LOAD
SubField([Fisical Period],' ',1) as Year,
SubField([Fisical Period],' ',2) as Month

Inline[
Fisical Period
January 2020
December 2019
];