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.
Hi,
I have had a look at a few other posts but none of them seem to bring back what I need.
I am looking for somthing like an IF statement to tell me the following
TIME = 15:36
Working hours = 07:00 till 17:00
IF 'TIME' is between 07:00 and 17:00, "In Day", "Out Of Hours"
Thanks
Solved! Go to Solution.
Hi @Danniii_
try
Column = IF(
[TIME] >= TIME(7, 0, 0) && [TIME] <= TIME(17, 0, 0),
"In Day", "Out Of Hours"
)
Perfect thank you, I kept trying "AND" and it wasn't working didn't think to use "&&"
Yes it working perfectly thanks.
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 |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |