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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hirmando
New Member

User Driven Values for SQL Server Stored Proc Parameters

The datasource for my PBI report uses a directquery sql server stored procedure with Start and End date parameters.

 

Is there a way for a report viewer to imput the parameters to pass to the procedure to retern the dataset to render the report?

 

I know the report designer can use parameters however these dont appear to be exposed to the viewer.

 

For background, I come from the SSRS world where executing data queries on demand using SQL procs and user input parameters are commonplace.

 

Thanks in avance.

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @hirmando 

Based on my knowledge, when connecting to sql server with Directquery, it doesn't support to edit parameter in Power BI Service.

If you connect to sql server with Import, after publish to an App workspapce in Power BI Service and give members of that App workspapce "edit" permission,then members can edit parameter in Power BI Service.

 

Best Regards

Maggie 

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.