Apr 02 2023 07:56 AM
The blanks in 'OutTime' still have me struggling with creating a new SP List. It also seems like I'm doing conversions on both sides of this, uneccessarily.
There are times when the source Excel files has blanks (I've confirmed no hidden characters) in the 'OutTime' (D) column.
In Excel, I am using =IF(F2="","",TEXT(F2-D2,"h:mm:ss")) in 'WaitTime' to account for the blank dates and calculate the difference between 'OutTime' and 'InTime'.
'InTime' and 'OutTime' are formatted as Date, 'WaitTime' is formatted as Time.
In the Power Automate flow I'm using a 'Create item' action with the following, but I keep getting ISO 8601 error messages, or the items with no blanks will load to the list but the blanks don't.
'InTime' Expression = addMinutes(items('Apply_to_each')?['InTime'],420)
'OutTime Expression = If(equals(items('Apply_to_each')?['OutTime'],'InTime'),null,addMinutes(items('Apply_to_each')?['OutTime'],420))
'WaitTime' Expression = dateDifference('1899-12-30',items('Apply_to_each_2')?['WaitTime'])
Apr 04 2023 10:28 AM
Apr 04 2023 11:28 AM
Apr 04 2023 12:51 PM
Apr 04 2023 01:22 PM