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 Platform Community / Forums / Power Automate / ODATA filter query equ...
Power Automate
Unanswered

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'])
Categories:
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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard