Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bonjour,
J'ai beaucoup de mal avec les dates dans Qlickview 😞
Je cherche à exprimer en différence entre 2 dates en année (mais avec décimales).
Exemple:
Date de début=28/12/1995
Date de fin=28/08/1998
Résultat attendu=6,6 ans
Je cherche donc l'équivalent de la fonction YEARFRAC dans Excel...
Quelqu'un peut-il m'aider?
Merci!
Anne-Lise
Mon français est très mauvais, mais peut-être quelque chose comme cela pourrait vous aider
=interval (date(date#('10/12/2012','DD/MM/YYYY')) -date(date#('28/12/1995','DD/MM/YYYY')) , 'd' ) / 365
Bill
Hi Bill,
This generates an error calculation, but I could get something close to what I want using the following expression (without taking days in account):
num(if([Date fin Service]='31/12/9999',
(((year(today())*12)+month(today()))-((year([Date début Service])*12)+month([Date début Service])))/12,
(((year([Date fin Service])*12)+month([Date fin Service]))-((year([Date début Service])*12)+month([Date début Service])))/12
),'#,#')