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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.