Hi All,
I am trying to populate (create or update) a sharepoint list from an excel file. This file has dates which I am converting as follows
Oh i see the problem glitter so sorry, we are just missing each other in communication one second
I got it to work with this equation:
Thanks Mike - that didn't work either with the same error 😞
Here are the inputs for my create item:
Then I used your updated formula
I double checked my Sharepoint column and it's just standard date/time nothing unusual I don't think.
No worries @glitter1234567
I accidentally typed it wrong for you, so please try to updated formula, If that does not work I will wrap that in a blank / empty check. I just dont want to add more than is necessary.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
My apologies - I am new to Power Automate so high chance I have something else wrong!
So this is the output from my List rows present in a table for the row that is failing (I have numerous dates in the dataset):
Then I am using a 'Create item'
Hi glitter, sorry I believe I fat fingered for you but I would still like to see the actual date value so try this please, sorry, always doing too may things at once.
coalesce(items('Apply_to_each')?['Date Return'], null)
Also we may need to check if its blank also so please let me know if this works for you, sorry about that I was in a rush and needed to slow down.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
Thanks @FLMike for taking the time to respond, unfortunately that expression didn't work for me with the error once it hit the rows where the date is blank 😞
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Date_x0020_Return' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
In your Input box for the Date you would do this. (there are multiple ways this is one)
Use the Expression tab
It checks to see if the Date Return is null and if its NOT then it does your addDays, if it is it just uses the null (expression)
Coalesce(items('Apply_to_each')?['Date Return'], addDays('1899-12-30',int(items('Apply_to_each')?['Date Return']),'yyyy-MM-dd'), null)
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
ankit_singhal
5
Super User 2025 Season 1
David_MA
2
Super User 2025 Season 1
Mitchell GC
2