Forum Discussion
Syndicate_Admin
Administrator
4 years agoProblema con DATEDIFF
Hola, chicos
Tengo un problema con la fórmula DATEDIFF.
Necesito hacer la fórmula en campos de fecha de diferentes tablas.
Por favor, ayúdame.
Ej. DATEDIFF entre HH Doc Date y B.P. Req Date.
Gracias
1 Reply
- Syndicate_Admin
Administrator
DateDifference =
VAR StartDate = MAX(Tabla[Fecha del documento HH])
VAR EndDate = MAX(Tabla[B.P. Req Date])
DEVOLUCIÓN
DATEDIFF ( StartDate, EndDate, DAY )