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 for...
Power Automate
Answered

OData filter query for column name containing period (fullstop, dot etc)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, hopefully an easy one.

 

I need to run a flow on a report extracted from a third party in Excel. Using the List rows present in a table action, I need to filter on a column called FIN.APPROVED. My filter query is FIN.APPROVED eq "N". However, the presence of the . causes a syntax error. Can anyone please suggest how I can get around this using actions in the flow alone?

 

Many thanks.

Categories:
I have the same question (0)
  • Verified answer
    MJain Profile Picture
    2,450 on at

    Hi @Anonymous ,

     

    Please look at the similar thread :

     

    https://powerusers.microsoft.com/t5/Connecting-To-Data/Flow-get-list-of-rows-form-excel-with-ODATA-filter/td-p/149876

     

    Thanks

  • nhance Profile Picture
    81 on at

    Have you tried enclosing "FIN.APPROVED" in quotes?

    If that doesn't work, how about using a "Filter array" action afterwards?

     

    The ODATA support for the excel connector kind of sucks and you lose some protection from the Flow checker when you use odata.

     

    Nick

     

    P.S. You can download an odata cheat sheet here: https://reenhanced.com/2020/odata-cheat-sheet-for-microsoft-dynamics-365-and-common-data-service-%28cds%29-%24filter-explained/

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you both, I've gone with the Filter Array option. I actually feel like a goose, because I had a Filter Array in the flow doing something else, but it's good to learn I can build all the filters I need into one action.

  • Verified answer
    nhance Profile Picture
    81 on at

    Don't feel like a goose! It's easy to think that OData is the right path for this.

     

    I gave a talk Microsoft Focus 2020 diving deep into OData within Power Automate and I don't currently recommend its use. If you can avoid ODATA you should, for the following reasons:

     

    1. You lose the ability for Flow Checker to catch issues before they happen in production. This means your flows can turn into burning fires more easily.

    2. Because of how Power Automate is constructed, it's really hard to get access to the $metadata that you need to properly build ODATA queries. Without this, you really are just guessing at how to write each query. You just can't know what you can and can't use.

    3. OData support on the API side is inconsistent. For example, you can't use odata to filter numeric comparisons on excel tables. This means if you're using a lot of connectors your knowledge doesn't transfer well. You have to know through pain what is available and what is not for each connector. (And because Power Automate doesn't actually control the underlying API, that can change without you knowing about it at any time.)

     

    It's safer to stick to Filter Array when you can. You can depend on this to work the way you expect even if it adds another step.

     

    Exceptions:

    - D365 CRM has FetchXML Builder which will help you build queries.

    - You need to use ODATA when your dataset is so large that you might hit a flow limit, or if you care about speed and it slows your flow down.

    - If you're working deep with a specific connector and you can get access to the underlying metadata, odata can be a useful tool and you can develop your queries in a web browser before putting them into a flow.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for this, Nick. Very useful to know! I'll temper my excitement about OData now 😄😄

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard