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 / List rows present in a...
Power Automate
Unanswered

List rows present in a table with Filter Query returning BadGateway

(1) ShareShare
ReportReport
Posted on by 6
Hi colleagues,
 
I am trying to add an Order By rule to a List rows present in a table action in Power Automate, but it keeps giving an error Bad Gateway. The flow works just fine with a filter query and without the extra conditions. In the Excel file the Date column contains dates in excel format, which are stored as numbers. I did try this exercise with another column in the Excel file "Nationality", which contains only letters, however the result is the same. I am the owner of the SharePoint and the flows, which are using my credentials for the connection, so there should be no permission issues. Any ideas what could be the root cause? Any help would be appreciated!
 
Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,927 Super User 2026 Season 1 on at
    Hi,
     
    This is likely caused by the 20,000 top row count and not an Order By issue ~ that is what is timing out.
     
    That said, look at your column name in List Rows Present in a Table, row count 1 and verify the column name; it may be different (but you would typically get a column not found error) which again leads me to believe this is a 20,000 row timeout.
     
    Remember:
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • RY-30011432-0 Profile Picture
    6 on at
    I do not agree with the response. I have the same flow working absolutely fine with this Top count. And this other report which works fine is much bigger than this one I get the Bad Gateway error. I also tried without the top count and the issue is still the same: bad gateway. Any other ideas what is causing this?
     
  • RY-30011432-0 Profile Picture
    6 on at
    There seems to be a major issue with "Filter Query" and "Order By" as flows, which were previously working fine with a Filter query are now ending with "BadGateway" failure. Anyone else facing these issues? 
     

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 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard