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 :
Power Automate - Building Flows
Answered

ODATA Filter Query on Tomorrow

(0) ShareShare
ReportReport
Posted on by 181

Hi all, i want to use power automate to create the flow that update SharePoint list from excel every day.

I want to filter the column called "OC" which starts with "YT" and the Work Date which is tomorrow.

It is successful to filter OC column but fail if also filter the Work Date.

May i know how to fix it?

 

Error detail:

AT_AlanTse123_1-1704265074129.png

Below is my flow, thank you very much for your help.

 

AT_AlanTse123_0-1704264753950.png

The expression of date: startOfDay(addDays(utcNow(),1,'yyyy-MM-dd'))

 

The date shown in desktop mode

AT_AlanTse123_2-1704265255125.png

The date shown in browser mode:

AT_AlanTse123_3-1704265315171.png

 

 

 

I have the same question (0)
  • v-mengmli-msft Profile Picture
    on at
    Re: ODATA Filter Query on Tomorrow

    Hi @AT_AlanTse123 ,

     

    It seems that you lost '' outside expression. Please try this:

    vmengmlimsft_0-1704266920755.png

     

     

    Best regards,

    Rimmon

  • AT_AlanTse123 Profile Picture
    181 on at
    Re: ODATA Filter Query on Tomorrow

    Hi @v-mengmli-msft ,

     

    Thank you for your reply.

    I try your method, but it causes below error.

    AT_AlanTse123_0-1704267726651.png

    AT_AlanTse123_1-1704267748207.png

     

    May i know how to fix it?

     

    Thank you very much

  • v-mengmli-msft Profile Picture
    on at
    Re: ODATA Filter Query on Tomorrow

    Hi @AT_AlanTse123 ,

     

    The error shows "eq" and "Startswith" can't be in same filter query.

    Please try this:

    Replace first condition in your filter query with "Filter array" action.

    vmengmlimsft_1-1704268880797.png

     

    Best regards,

    Rimmon

  • AT_AlanTse123 Profile Picture
    181 on at
    Re: ODATA Filter Query on Tomorrow

    Hi @v-mengmli-msft ,

     

    Thank you for your reply.

    I still have the error about the Work Date column.

    May i know is the column name problem or anything else?

    AT_AlanTse123_1-1704269571072.png

     

     

    AT_AlanTse123_0-1704269478411.png

     

  • Verified answer
    v-mengmli-msft Profile Picture
    on at
    Re: ODATA Filter Query on Tomorrow

    Hi @AT_AlanTse123 ,

     

    I recommend you remove space in excel column.

    FilterQuery does not support columns with spaces, this was a known limitation before and I'm not sure if this limitation has been resolved currently.

  • AT_AlanTse123 Profile Picture
    181 on at
    Re: ODATA Filter Query on Tomorrow

    Hi @v-mengmli-msft ,

     

    Noted, i renamed the column, it works.

    Thank you very much for your help.

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 597 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 373 Moderator

#3
chiaraalina Profile Picture

chiaraalina 262

Last 30 days Overall leaderboard