Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to create a YearMonth from date field ?

Hi All

I have below script , i need to create a field name YearMonth from DATE.

Hope some one can advise me. I keep get error msg. when i try partial reload.

sales:

LOAD Subject,

     [Due Date] as DATE,

     [Item Name],

     Quantity,

     [List Price],

     [Item Comment],

     Discount,

     Description

FROM

(txt, utf8, embedded labels, delimiter is ',', msq);

I have

23 Replies
qlikview979
Specialist
Specialist

PFA

Anil_Babu_Samineni

You have to make your field instead of DATE?

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
paulyeo11
Master
Master
Author

Hi Mahesh

Your approach is quite nice , as it is don't need to create partial load. Thank you

Paul Yeo

paulyeo11
Master
Master
Author

Hi Mashesh

Thank you , this is another approach.

Paul