Hello
I have a list of dates and names generated from the get items action in excel online.
The dates are in ISO8601 format.
This is an example of an item in the array:
I want to retrieve everything of the next month and i use this formula in the filter array action:
@equals(formatDateTime(item()['Datum'], 'MM'), addDays(utcNow(), 15, 'MM'))
(I add 15 days to get to the next month as this flow runs always on the 25th).
I get this error:
The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@equals(formatDateTime(item()['Datum'], 'MM'), addDays(utcNow(), 15, 'MM'))' failed: 'In function 'formatDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.
I presume there is a problem with the item()['Datum'] in the formula?
Thanks for any help
Neil