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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Possible to pass parameters from Power BI to a SQL stored procedure?

I want to pass two parameters (StartDate and EndDate) from a slicer in Power BI Service to a SQL stored procedure, then send the results of the query back to my Power BI dashboard using a dynamic query.  Is this possible?  If so, how can I do this?

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

 

Nope, it is possible use query parameter to pass parameters to sql stored procedure, but you can't extract value from filter and slicer as query parameter.

 

BTW, stored procedure not support in directquery mode.

 

Regards,
Xiaoxin Sheng

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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