Forum Discussion

ThiagoDuarte's avatar
ThiagoDuarte
Helper I
4 years ago
Solved

Add integer (minutes) to datetime

Hello guys,

 

I need to add an integer to a datetime to get the final date (date time format)

 

 

I have the start date column and the duration in minutes as an integer. I need datetime format as output (final date)

 

Any ideas on this?

 

Thanks,

Thiago

 

  • Nathaniel_C's avatar
    Nathaniel_C
    4 years ago
    New Time1 = MAX('Table'[Time]) + MAX('Table'[Integers])/24/60

    Hi ThiagoDuarte Try  this.

     



    Let me know if you have any questions.

    If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos πŸ‘are nice too.
    Nathaniel

11 Replies

    • ThiagoDuarte's avatar
      ThiagoDuarte
      Helper I

       

      it doesn't work

       

      the column duration minutes have values over 3000

       

      • Nathaniel_C's avatar
        Nathaniel_C
        Community Champion

        Hi ThiagoDuarte Try 

        [Time]+#duration(0,0,[Integers],0)


        Let me know if you have any questions.

        If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos πŸ‘are nice too.
        Nathaniel