Forum Discussion

RicardoAlfa's avatar
RicardoAlfa
Frequent Visitor
8 years ago
Solved

datediff Hours

Hello All,

 

I´m struggling on how to solve a problem using Datediff function,

I have two columns, start and end date with dd/mm/hh format.

I need to show the hours that passsed between two dates in diferent days, but my problem is, I must only  count the workday hours (9:00:00 am to 18:00:00 pm) and ( monday to friday)

 

My code just take total hours:

Servicios_Horas = DATEDIFF('Maester Estimaciones'[Fecha de Inicio Estimación],'Maester Estimaciones'[Fecha Fín Estimación],HOUR)

has anybody got an idea on how i would approach this?

 

thanks, Ricardo

  • Thanks a lot Greg!

     

    Your Quick measure was helpful to show my information in a nice format.

3 Replies