Forum Discussion
Get Data Import not showing Stored Procedures, only Tables (SQL Server)
- 6 years ago
This is by design as the Power Query engine is showing objects against which it can generate select queries while a stored proc may or may not return data. If you have a stored proc that you want to use as the source for a model in import mode you can just specify the EXEC command plus any parameters by choosing Get Data -> SLQ Server and then clicking on the Advanced Option and entering the command to call the stored proc in the box for the SQL Statement.
This is by design as the Power Query engine is showing objects against which it can generate select queries while a stored proc may or may not return data. If you have a stored proc that you want to use as the source for a model in import mode you can just specify the EXEC command plus any parameters by choosing Get Data -> SLQ Server and then clicking on the Advanced Option and entering the command to call the stored proc in the box for the SQL Statement.