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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

ESTRAZIONE DATA

CIAO A TUTTI

Ho un problema nel file di importazione ho la data impostata in questo modo 07/12/94

nello script ho inserito la seguente codifica per poter creare tre campi separati 1 il giorno il 2 il mese e il 3 l'anno

tab1:

load

*,

Year(Date#(VNDDAT,'DD/MM/YY')) as GIORNO,
  Month(Date#(VNDDAT,'DD/MM/YY')) as MESE,
  Day(Date#(VNDDAT,'DD/MM/YY')) as ANNO

sql eccc.ecc..ecc.

mi esegue l'importazione mi crea le tre colonne ma non riempie i dati

non mi da nessun errore

perchè ???

grazie a tutti

luca

Labels (1)
1 Reply
MarcoWedel
MVP
MVP

Ciao Luca,

check the "raw" value of the VNDDAT column loaded by your sql statement.

Is it empty as well?

Maybe your VNDDAT column is not a string.

Which data type does it have?

Check the data type of field VNDDAT e.g. in the table viewer:

QlikCommunity_Thread_111632_Pic1.JPG.jpg

QlikCommunity_Thread_111632_Pic2.JPG.jpg

QlikCommunity_Thread_111632_Pic3.JPG.jpg

If it is already a timestamp then you don't need the Date#-function.

regards

Marco