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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

yes

yes

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

Load

          Year(Date#(YeraMonth, 'MMMYYYY')) as Year,

          Month(Date#(YeraMonth, 'MMMYYYY')) as Month

Edit: Added a missing 'Y' in the format

View solution in original post

3 Replies
its_anandrjs
Champion III
Champion III

Try with this way

Noconcatenate

Load

*,

Right(YeraMonth,4) as Year

Left(YeraMonth,3) as Month

Resident Source;


Drop table Source;



Regards

Anand


tresB
Champion III
Champion III

Try like:

Load

          Year(Date#(YeraMonth, 'MMMYYYY')) as Year,

          Month(Date#(YeraMonth, 'MMMYYYY')) as Month

Edit: Added a missing 'Y' in the format

tresB
Champion III
Champion III

This way, Month would be a text field and we should avoid that.