Forum Discussion
Wirestat
4 years agoFrequent Visitor
Value Based on time range
Hi there, please help have trivial rutine problem need to define shift number based on time range where: first shift duration from 7:00 to 15:30 second shift duration from 15:30 to 24:00 third shi...
- 4 years ago
Wirestat , Create a new column like
Switch(true(),
timevalue([Datetime]) < time(7,0,0) , "Third Shift",
timevalue([Datetime]) < time(15,30,0) , "First Shift",
"Second Shift"
)
amitchandak
4 years agoSuper User
Wirestat , Create a new column like
Switch(true(),
timevalue([Datetime]) < time(7,0,0) , "Third Shift",
timevalue([Datetime]) < time(15,30,0) , "First Shift",
"Second Shift"
)
Wirestat
4 years agoFrequent Visitor
Thank you, How exactly this fuction works?
Also interested what if some cell have missing data?