Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problema sulle date

Ciao a tutti.

Ho creato un foglio con un campo Data_documento con formato GG.MM.YYYY

Da questo campo voglio ottenere l'anno e il mese per poterli poi utilizzare come ulteriori campi e richiamarli in altri oggetti, ad esempio in grafici.

Come posso fare?

Grazie mille

Pasq

2 Replies
senpradip007
Specialist III
Specialist III

Provare come:

Load

Year(Date#(Data_documento,'GG.MM.YYYY')) As Year,

Month(Date#(Data_documento,'GG.MM.YYYY'))  AS Month

ashfaq_haseeb
Champion III
Champion III

Hi

try below

Load

Data_documento,

.

.

.

year(Data_documento) as Year,

Month(Data_documento) as Month

;from xyz

Regards

ASHFAQ