Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
95 | |
77 | |
65 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |