cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anu_PowerBI
Frequent Visitor

How to write direct query with parameters to execute a stored Procedure or a workaround

Hi,

How to write direct query with parameters to execute a Stored Procedure.

Thanks

 

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @Anu_PowerBI ,

 

You can create a custom function in power query then use it as parameter to execute a Stored Procedure.

Check the reference below:

 https://docs.microsoft.com/en-us/power-query/custom-function

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

View solution in original post

2 REPLIES 2
Anu_PowerBI
Frequent Visitor

Thanks a lot! It answered my questions.

v-kelly-msft
Community Support
Community Support

Hi @Anu_PowerBI ,

 

You can create a custom function in power query then use it as parameter to execute a Stored Procedure.

Check the reference below:

 https://docs.microsoft.com/en-us/power-query/custom-function

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

View solution in original post

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors