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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to change my YearMonth script start to Dual ?

Hi All

I have a Load Script as below :-

Date(Monthstart([TempDate]), 'YY MMM')

as YearMonth,

I like to change the above using Dual , meaning some thing like :-

Dual(Date(Monthstart([TempDate]), 'YY MMM'))as YearMonth,

As i encounter issue when i use YearMonth field in QS . it display as number instead of YearMonth like 2015 Jan.

Paul

1 Solution

Accepted Solutions
maxgro
MVP
MVP

Dual(Date(Monthstart([TempDate]), 'YY MMM'), TempDate) as YearMonth

or

Dual(Date(Monthstart([TempDate]), 'YY MMM'), MonthStart(TempDate)) as YearMonth

View solution in original post

2 Replies
maxgro
MVP
MVP

Dual(Date(Monthstart([TempDate]), 'YY MMM'), TempDate) as YearMonth

or

Dual(Date(Monthstart([TempDate]), 'YY MMM'), MonthStart(TempDate)) as YearMonth

paulyeo11
Master
Master
Author

Hi Massimo

Thank you after using Dual , My chart look better in QS.

month good.png

Before that it look like this , i don't like.

month bad.png