web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : vYnOk2kQnsNYlsMI1jhwWE
Power Automate - Building Flows
Answered

Filter items with query on today error

Like (0) ShareShare
ReportReport
Posted on 13 Jul 2018 13:18:06 by 23

Trying to get this flow up and running.

I need it to return the items where 'creation date' equals today.

This is my setup.

Sharepoint list with creation date (UTC +1)

date.PNG

 

My filter query is this

flow.PNG

When testing it, I get this error (means: expression not valid...)

Any help?error.PNG

I have the same question (0)
  • gobi Profile Picture
    10 on 19 Aug 2021 at 10:05:36
    Re: Filter items with query on today error

    I am also having same problem

     

    {
      "value": []
    }
  • Community Power Platform Member Profile Picture
    on 25 Mar 2020 at 13:42:22
    Re: Filter items with query on today error

    I think you forgot the ' after utcNow

  • Community Power Platform Member Profile Picture
    on 05 Feb 2019 at 01:38:37
    Re: Filter items with query on today error

    I have this same issue. I've spent hours trying all sorts of methods and I can't get it to work. Either it tells me there is no value (which, there is, because I have a fake one with today's date) or it says the flow ran with no issues, but I don't have an email.

     

    I have a list of items and I want to send an email whenever the "sendreminder" field equals TODAY. Any help would be much appreciated!!!

     

    Workflow OverviewWorkflow Overview"Successfully" ran, but I didn't get an email"Successfully" ran, but I didn't get an emailJust proof that the field is titled "sendreminder"Just proof that the field is titled "sendreminder"

  • Verified answer
    maximvanneste Profile Picture
    23 on 27 Jul 2018 at 08:53:46
    Re: Filter items with query on today error

    I made it work with a little work around:

     

    Knipsel.PNG

    made a query between today and today +1 with the ge and lt

    seems to do the trick.

  • maximvanneste Profile Picture
    23 on 17 Jul 2018 at 13:15:17
    Re: Filter items with query on today error

    Hi @v-yamao-msft

     

     

    I created a custom column named 'Datum' and went ahead and changed the flow to this:

    Knipsel.PNG

    When running it I see that the column 'Datum' is '2018-07-17' which is identical to what it should be, still gives me an error?

    I feel stupid for not finding this error as I'm prety sure this is easy.

    error.PNG

     

    Kind regards,
    Maxim

     

  • v-yamao-msft Profile Picture
    on 17 Jul 2018 at 08:52:21
    Re: Filter items with query on today error

    Hi @maximvanneste,

     

    Created is a default column in SharePoint list, so I am afraid that it is not possible to format it in a Odata filter function.

     

    If you want to return all the items on today, please add a custom Date and time (Date only) column in the list, then format the utcnow as “yyyy-MM-dd”.

     

    The function could be configured as following:

    CustomCreatedDate eq ‘utcnow(‘yyyy-MM-dd’)’

     

    Please have a try with it on your side.

     

     

    Best regards,

    Mabel Mao

  • maximvanneste Profile Picture
    23 on 16 Jul 2018 at 07:55:58
    Re: Filter items with query on today error

    @v-yamao-msft

     

    Thank you for your answer, the flow seems to work without returnin an error, however when I add a new item it says that the body value is [].
    I need it to return all the items from today, could it be that the language plays a roll in the filterquery? 

    Knipsel.PNG

     

    Kind regards,
    Maxim

  • v-yamao-msft Profile Picture
    on 16 Jul 2018 at 02:10:34
    Re: Filter items with query on today error

    Hi @maximvanneste,

     

    The Created of a SharePoint list item is returned as ‘yyyy-MM-ddTHH:mm:ssZ’, so in the filter query function, you should format the utcnow likes below:

    utcnow('yyyy-MM-ddTHH:mm:ssZ')

     

    In the Filter query field, please surround the function with a single quote.

     

    Please check the following screenshot:

    1.PNG

     

    Please have a try with it on your side and feel free reply if you need more help.

     

     

    Best regards,

    Mabel Mao

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started
Loading complete