Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
alineclozel
Creator
Creator

Champ date

Bonjour,

J'ai une base avec un champ date (dans accesse) en format date/heure, champ appelé "datededelib":

27/09/2006 00:00:00

Je voudrais dans le script charger ce champ en ne retenant que l'année

donc là : 2006

Comment dois je rédiger ça ?

Merci

1 Solution

Accepted Solutions
flochi75
Creator III
Creator III

Bonjour Aline,

c'est extrêmement simple :

year(datededelib) as annéedelib

Florent.

View solution in original post

14 Replies
flochi75
Creator III
Creator III

Bonjour Aline,

c'est extrêmement simple :

year(datededelib) as annéedelib

Florent.

alineclozel
Creator
Creator
Author

Marci Florent,

Dans la même série j'ai un champ typedefinancement en format texte court dans access et dans qlikview n'apparait aucune valeur

j'ai essaye TXT(typedefinancement)

ça ne marche pas ?

Merci

flochi75
Creator III
Creator III

et ça marche avec month(), week(), daynumberof/week()/year()...

Florent

flochi75
Creator III
Creator III

là, pour moi ça devrait remonter...

il n'y a pas de caractère "séparateur de champ" dans dans ce champ ?

alineclozel
Creator
Creator
Author

Le champ apparaît comme ça dans le script :

"TYP_FIN"

flochi75
Creator III
Creator III

tu peux joindre un extrait de cette table

(tu fais un store Ma_table into C:...../Ma_table.qvd)

je regarderai..

Florent

alineclozel
Creator
Creator
Author

là je suis dans qlikview !

flochi75
Creator III
Creator III

oui,

moi aussi

je connais moins Sense...

alineclozel
Creator
Creator
Author

Alors comment je fais la manip "store" ... qvd ???