Forum Discussion

Deimantas's avatar
Deimantas
Frequent Visitor
3 years ago
Solved

Date Minu Day

Hi Guys,  Unofrnutultey I can't find opened thread for this issue. All I'm trying to use is if the function and the return value are true should be the date column -1 day if false return the sa...
  • BA_Pete's avatar
    3 years ago

    Hi Deimantas ,

     

    This should work:

    if [Hour] >= 0 and [Hour] <= 5 then Date.AddDays([Date], -1) else [Date]

     

    Pete