Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello Power BI Community,
I'm currently exploring the capabilities of Power BI Desktop and have a question regarding its integration with stored procedures:
1. Feasibility: Is it possible to connect Power BI Desktop directly to stored procedures in databases such as SQL Server? If so, what are the steps involved in establishing this connection?
2. Best Practices: What are the best practices for connecting Power BI Desktop to stored procedures? Are there any considerations or limitations I should be aware of, such as parameterized queries or data type compatibility?
3. Performance Impact: How does connecting to stored procedures affect the performance of Power BI reports, particularly in scenarios involving large datasets or complex queries?
4. Data Refresh: Can Power BI Desktop handle automatic data refreshes when connected to stored procedures, or is manual data refreshing required?
Any insights or recommendations from your experience would be greatly appreciated.
Thank you for your assistance!
Manoj Prabhakar
Solved! Go to Solution.
Hi @manoj_0911
To use a stored procedure in Power BI, you’ll need to create it in your database server, not within Power BI itself. Most database management systems provide tools and interfaces that allow you to create and manage stored procedures easily.
Once you’ve created your stored procedure on the database server, you can connect to it from Power BI. To do this, follow these steps:
These links can help:
How to Use Stored Procedure in Power BI - Zebra BI
How to Connect Power BI to SQL Server Stored Procedures - Monocroft
How to use SQL Server stored procedures in Microsoft PowerBI? - Stack Overflow
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @manoj_0911
To use a stored procedure in Power BI, you’ll need to create it in your database server, not within Power BI itself. Most database management systems provide tools and interfaces that allow you to create and manage stored procedures easily.
Once you’ve created your stored procedure on the database server, you can connect to it from Power BI. To do this, follow these steps:
These links can help:
How to Use Stored Procedure in Power BI - Zebra BI
How to Connect Power BI to SQL Server Stored Procedures - Monocroft
How to use SQL Server stored procedures in Microsoft PowerBI? - Stack Overflow
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
84 | |
78 | |
70 | |
46 | |
42 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
40 |