Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
RichFlorida
Helper V
Helper V

Calling a DB Stored Procedure from PBI Desktop

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!

1 ACCEPTED SOLUTION
3 REPLIES 3
CNENFRNL
Community Champion
Community Champion

Sql.Database("LAPTOP-2CM98V85\MSQLSVR", "BikeStores", [Query="EXEC dbo.uspFindProducts 100,1000"])

 Screenshot 2021-11-08 231050.png


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!

Thank you @AlexisOlson  and @CNENFRNL .

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.