Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi all,
Is it posible to invoke an stored procedure directly from the ConnectionString?
This is an example of my Connection String:
- Data Source=SERVERNAME;
- User Id=myUsername;Password=myPassword;
Is it posible to do the following?
Data Source=SERVERNAME;
User Id=myUsername;Password=myPassword;Invoke='EXEC SP_PROCEDURE'
Thank you.
Solved! Go to Solution.
Hi @Anonymous
When connecting to Database like SQL SERVER, you can find the connector in Power BI Desktop,
Select Get data->SQL SERVER-> enter server name/database name, expand "Advanced option", enter the"EXEC stored procedure name" in the "SQL Statement" window.
Reference:
Execute SQL Server Stored Procedure With User Parameter In Power BI
After clicking on "ok", it will pop out a window where you can select authetication to connect to the database.
Hi
Hi @Anonymous
The connection string would be
But i don't see any method to write the password in the connection string, it is easy with a direct way as my last post shown.
Hi @Anonymous
When connecting to Database like SQL SERVER, you can find the connector in Power BI Desktop,
Select Get data->SQL SERVER-> enter server name/database name, expand "Advanced option", enter the"EXEC stored procedure name" in the "SQL Statement" window.
Reference:
Execute SQL Server Stored Procedure With User Parameter In Power BI
After clicking on "ok", it will pop out a window where you can select authetication to connect to the database.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 25 |