Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hello All,
Does PowerBI Desktop support calling a database Stored Procedure and capturing the returned value(s)?
How about from Report Builder?
The procedure could be an Oracle or SQL procedure.
Please advise!
Solved! Go to Solution.
Yes. Both Power BI and Report Builder can call stored procedures assuming the user has appropriate database permissions to run them.
More details:
https://www.c-sharpcorner.com/article/execute-sql-server-stored-procedure-with-user-parameter-in-pow...
Sql.Database("LAPTOP-2CM98V85\MSQLSVR", "BikeStores", [Query="EXEC dbo.uspFindProducts 100,1000"])
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Yes. Both Power BI and Report Builder can call stored procedures assuming the user has appropriate database permissions to run them.
More details:
https://www.c-sharpcorner.com/article/execute-sql-server-stored-procedure-with-user-parameter-in-pow...
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!