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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ODATA Filter Query on ...
Power Automate
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

 

 

 

Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    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

    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
    Microsoft Employee on at

    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

    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
    Microsoft Employee on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard