Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Error on SQL Power Query action

i'm trying to use the Transform SQL using Power Query action. i've got several flows with it working fine on one SQL database. But i am doing similar on another SQL db that i have a connector for. Note i'm an admin, full credentials and this db is already part of my gateway.


I can access the data and transform it using the transform SQL power query action just fine, but when it runs it fails with 


"resultType": "Exception",
"message": "The key didn't match any rows in the table.",
"errors": []
and the SELECT i have next says "BadRequest. The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array." and "INPUTS from null"


looking on the web it seems to imply a permissions issue but (1) i am full admin with access, (2) it works fine through powerquery in Excel, (3) the db and table are all accessable via the gateway... 


so i'm stuck.  Any advice would be most welcome.




Community Support Team
Community Support Team

Re: Error on SQL Power Query action

Hi @StephenM,


I have made a test with action Transform SQL using Power Query, it works fine on my side.


It seems that you have two connections to two SQL databases.


Please make sure you are using the correct connection to the corresponding database. Please go to Setting to switch connection under My connections.



Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 407 members 4,548 guests
Please welcome our newest community members: