Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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 there any function that can help me with this problem?
Solved! Go to Solution.
Hi @Anonymous ,
Create a column with below code:-
Column = if(HOUR('Table (2)'[Datetime]) < 17,"Attend Appt","Miss Appt")
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous ,
Create a column with below code:-
Column = if(HOUR('Table (2)'[Datetime]) < 17,"Attend Appt","Miss Appt")
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hello,
May I ask what if i want to make it before 5.30pm?
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
85 | |
66 | |
49 |
User | Count |
---|---|
140 | |
113 | |
106 | |
64 | |
60 |