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 equal to other column

(0) ShareShare
ReportReport
Posted on by 3

Hi,

I'm running a flow getting data from D365 F&O. In the Get table-step I'm trying to filter the entity BatchOrderHeaders and want a filtered list where StartedQuantity = ScheduledQuantity.

 

Example table

 

BatchOrderNumberBatchOrderStatusScheduledQuantityStartedQuantity
1111Created500500
1112Reported as Finished300321
1113Estimated320320

 

What I want the query to do is to return the rows from order number 1111 and 1113.

 

I've tried (without success):

  • 'StartedQuantity' eq 'ScheduledQuantity'
  • equals(['StartedQuantity'], ['ScheduledQuantity'])
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: ODATA filter query equal to other column

    Hi @ravitiate ,

     

    I'm sorry that the ODATA filter query does not allow comparisons between two columns. 

    I suggest you to use filter query to achieve column-to-column comparison. 

    I have made a test for your reference:

    1. I am using SharePoint as data source.

    vliweimsft_0-1658900822198.png

     

     

    2. Use filter query to filter items whose amount column and number column are equal.

    vliweimsft_1-1658900822200.png

     

     

    Best Regards,

    Levi

     

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 797 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
developerAJ Profile Picture

developerAJ 319

Last 30 days Overall leaderboard