Passing Parameters to Power BI through Stored Procedure
There Should be Provision of passing the Parameter to the report like we do in SSRS Reports. There should be any method to execute Stored Procedure by passing the Parameters
Angelfish 42 commented
This is a needed feature as we will be replicating our SSRS reports which use a number of Stored Procedures which use Parameters.
This is the key feature when using direct queries, which is missing today to pass the parameters to SP's. Also, take advantage of SQL Objects rather than user queries.
competitors are providing this basic feature since the beginning.
It's been ~5 years PBI came out and still missing this feature.
YES NEED THIS
Yes, we really need this. Is it on the roadmap?
Frustrated developer commented
This is absolutely needed. With the increasing amount of data in the databases, we need to be able to filter data at the source dynamically. You build one stored procedure, one report, and pass dynamic parameters through URL to get what you want. It's so simple, it should have been there from the start.
And please allow parameter types other than Text to work in the Query editor, it is very frustrating that the queries fail when you try to pass a date or INT value, the only solution currently is to rewrite the SPs...
Can't believe this isn't a feature since it has been in SSRS for years.
niels skovgaard commented
fix the damn thing already....been waiting for this for over a year now ......!?!?!?!?
We have a lot of customers on standby on this feature!
Gary Thomann commented
Lol. Vote on all the duplicate threads as per below. 'the noisy wheel...'
Every other reporting platform can do it! Even my Grandma can do it :)
Cant believe by now it still not possible to use slicers and pass the value to parameter.
@Rose Spitzer Is there any update on this feature? Please let us know!
This is absolutely essential, I am not sure why this has not been done till now
Chihiro Kanai commented
This would be handy to have. Currently I need to create view via Table Valued UDF and query the view.
I support 'Power BI Online Query Parameters' - what do you think? https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/13820190-power-bi-online-query-parameters
I frequently have to explain to our users why if Power BI Report Server is built on the SSRS engine they cannot pass parameters to a report to dynamically fetch new data sets. I don't have a good answer for them, other than "that's what Microsoft created."
Why is this such a hard feature to add? It should work just like it does on the SSRS reports hosted on that web portal.
A Frustrated Business Analyst
Pratik Thanki commented
There is a lot of duplication of Posts for this - I really hope we do see this idea in the future, in the meantime this Idea (20367082) should be seen as the main one spearheading this!
Eugene Harvey commented
This is desperately needed so as to create robust and efficient on-premise deployable .NET solutions. We have created a web based Analytics solution embedding SSRS Reports using the Report Viewer control. Using the ASP.Net Application front end to collect parameters, these are passed to SSRS Report via the Report Viewer Control to populate the SSRS Template, with the parameters then passed to the SQL Query behind the SSRS Report.
With Power BI being able to be launched in an iframe in our ASP.Net app, we really need a means to pass parameters to the Power BI Model which can be used in the query behind (primarily Direct Query) so that the SQL Query will return only the results based on the parameters. The current option of passing Filter Options to the already populated Power BI is not sufficient in terms of both performance and user based security.
Connie Corredor commented
This needs to work in Direct Query Mode. It should identify slicers and via direct query mode populate the slicers first similar to SSRS does. Then allow user to the slicers and then click on an view report button to execute the stored procedure with the selected slicers (parameters).
please update when this can be expected.