Forum Discussion
Anonymous
4 years agoNot applicable
Compare if Datetime is Before a Time
Hello, I am trying to create a new column by comparing if the datetime is before 5pm on the same day. For example: If [datetime column] is before 5 pm then "Attend Appt" else "Miss Appt". Is ...
- 4 years ago
Hi Anonymous ,
Create a column with below code:-
Column = if(HOUR('Table (2)'[Datetime]) < 17,"Attend Appt","Miss Appt")Thanks,
Samarth
Samarth_18
4 years agoCommunity Champion
Hi Anonymous ,
Create a column with below code:-
Column = if(HOUR('Table (2)'[Datetime]) < 17,"Attend Appt","Miss Appt")
Thanks,
Samarth
Anonymous
4 years agoNot applicable
Hello,
May I ask what if i want to make it before 5.30pm?