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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OData filter query help
Power Automate
Answered

OData filter query help

(0) ShareShare
ReportReport
Posted on by 6

I need to filter a table by 2 columns and copy the visible rows over to another table.  I keep getting an OData filter query syntax error.   I can't figure out why. 

 

Here's my flow:

andrewpmize_2-1715872708139.png

Headers in the first table:

andrewpmize_0-1715872285467.png

 

Odata filter query (recommended by Copilot)

andrewpmize_1-1715872624151.png

the error:

"Syntax error at position 13 in 'STATUS DETAIL eq 'Completed' and Confirmation Date eq null'.\r\n inner exception: Syntax error at position 13 in 'STATUS DETAIL eq 'Completed' and Confirmation Date eq null'.\r\nclientRequestId: df01405a-dea2-4a0c-a14e-cca1a1521c1b"

 

 

Any help would be greatly appreciated!

 

Categories:
I have the same question (0)
  • Verified answer
    Srini007 Profile Picture
    3,453 Super User 2026 Season 1 on at

    Hi @andrewpmize 

     

    The problem is that with the column name has the spaces, either try to remove those spaces and try or you need to retrive all the cases and then filter those later

     

    Check the similar issue

     

    https://powerusers.microsoft.com/t5/Building-Flows/OData-Filter-witha-blank-space-un-column-Name-ExcelOnline-Block/td-p/1606020

     

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Cheers,

    Srini

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @andrewpmize,

    You have referred to a wrong column name, you should find out the real inner column name of 'STATUS DETAIL'.

    Just check the outputs of the list rows presents into a table action, find the 'STATUS DETAIL' column name in that array outputs.

     

    Or I suggest you remove this filter query and use a condition instead, in your condition tab, select the 'STATUS DETAIL' dynamic content from the list rows presents into a table action.

  • andrewpmize Profile Picture
    6 on at

    Thanks. I've resigned to the fact that filter query just won't work with excel tables with spaces in the column names.   I was able to get the filter array data operation to work, but it was tricky.  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard