Finally headed in the right direction.
I've gotten the 'InTime' and 'OutTime' to move through Power Automate and populate the new SharePoint list with the correct data.
Now, I need the difference between the two to be displayed in the 'WaitTime' column of the SharePoint list.
I have a formula in the Excel 'WaitTime' column that is calculating the difference in Excel.
I'm now wondering if the Excel formula is adversely impacting the accuracy of any expression I write on the Power Automate
side.
What is the best practice for calculating and displaying the 'WaitTime' between 'InTime' and 'OutTime' in the Power Automate
flow and into SharePoint?
The 'Create item' 'WaitTime' formula is -
...and the first option only returns the date. I guess I'll just have to translate the 'WaitTime' in Power BI, Power Apps, or whatever UI will be used.
Thank you for your time and attention to this matter, you have been very helpful.
Yea I wanted to see that only. So, I just checked, there is no time column in Sharepoint.
Both date and time column is there.
You can try one of the two things:
1) Change data type of the column to single line of text.
or
2) Use calculated column and only show the time: =TEXT([first column name],"hh:mm:ss"
)
Just to confirm your assertion, my compose DOES show hh:mm:ss.
Why it's translating the way it is to SP, I don't know.
Just so you can see how the 'WaitTime' column is formatted in SP.
Using the 'WaitTime' from Excel returned about the same data, minus twelve hours.
Pretty strange, because the formula I submitted should only show hours, minutes and seconds.
Can you directly add the wait time action in create item once and see what output you are getting.
Just add this:
items('Apply_to_each')?['WaitTime']
Let's see what output that gives
Getting close. Power Automate took the formula; There is output to the SharePoint list; However, it is not accurate and not displayed in time hh:mm:ss.
Nope, Power Automate doesn't like it.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492