Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Power Automate (SQL) connector syntax.

Hey guys,


Can someone help me with some direction here. I am trying to understand the syntax required for this. It seems to be beyond the documentation to explain how it works. I am trying to use the SQL connector "Get Rows (V2)". I apparently can't just use an SQL query for an on prem gateway and I can't pass parameters into Power Query, both of which make sense to me.


Here is what I am trying to do. I am trying to call a sales order table and get all of the lines for a shipment we shipped out. If a line was split into two lines for some reason I need to sum the qty and return the Shipping account number, order number, item number. etc. so I can have the flow drop those values into an excel file. 

I have looked all over for documentation on how to write the syntax required for Aggregation transformation, Filter Query, Order By, Skip Count, Top Count, Select Query but nothing seems to explain how to actually write the OData expression unless your looking at Microsoft documentation which isn't really helpful. Any links would be preferred because I would like to understand what to put in. Not just punch in whatever you happen to give me. 






Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,356)