Hi Guys,,
I have a file that needed to be copied into other file.
But the raw file have a column that have both date and time.
I only want to get the date and omit the time.
And this is my flow
Hi Guys,,
I have a file that needed to be copied into other file.
But the raw file have a column that have both date and time.
I only want to get the date and omit the time.
And this is my flow
Hi
Hahaha I found the culprit..
In my create table, I create too many empty tables.
Now I set a filter in which all empty is not listed.
Thank you for your responses Sam..
"string '' was not valid"
Empty string again, there is a row with empty date or something you do above select that clear the value...
In the topic you posted, look at the error message, you'll see a date instead of ''. His problem is ISO format and I would suggest him to change his format pattern from dd/MM/yyyy HH:mm to yyyy-MM-ddTHH:mm:ssZ which is the ISO format.
And I found this same problem, but they were not able to figure out the problem.
The responder says here that he must break apart the and rearrange to the correct formatting.
I found the problem for that last error. And my error comes back again to ISO format.
here is the error now,,
The execution of template action 'Select' failed: The evaluation of 'query' action 'where' expression '{
"Add date": "@formatDateTime(item()?['Add date'], 'd')"
}' failed: 'In function 'formatDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.
Hi,
Well I'm french, so date format match my location settings, the expression will match yours.
But instead of using short date format pattern you can force the format you want :
if(empty(item()?['Paid Date']), '', formatDateTime(item()?['Paid Date'], 'MM/dd/yyyy'))
My filter do nothing more than selecting row where Title contains 'Test', I just set it up to get the output to match your flow.
[Edit] my Excel location settings is french but power automate ones is english, see results 😉
Could you please show me your filter array?
Hi..
I hope you are up..
On your sample data, can you change your date ? from 26/7/23 to 7/26/23. That is the only difference we have. I will also try it out on my sample.
In function 'formatDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.
If there were a value it would have told string "value" was not valid
you're welcome, night 😉
I am looking at my sample data.. And I don't have any null value.
Thank you for answering me,, I am now logging off and hopefully tomorrow will find a solution.
WarrenBelz
146,702
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,015
Most Valuable Professional