Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

DAX IF statement based on TIME

Happy New Year Power BI Community!

 

I am trying to add a column to modify a date based on the time a request came in. If a request comes in after 13:59, the clock does not start ticking until the next day. I wrote this DAX, but it won't recognize the 13:59. How should I format the time?

 

New Created Date = If('Task List'[Created Time]> 1359,'Task List'[Created Date]+1,'Task List'[Created Date])
 
 
 
 
 
 
 
Help is appreciated! Thanks!

2 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Awesome! Worked like a charm. Thanks!!