Ankit on 02 Aug 2017 10:26:30
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
- Comments (56)
- Merged Idea (1)
RE: Passing Parameters to Power BI through Stored Procedure
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.
Signed,
A Frustrated Business Analyst
RE: Passing Parameters to Power BI through Stored Procedure
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!
Duplicates below;
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/10840230-parameters
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/35874259-allow-for-passing-parameters-like-date-via-slice
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/34885171-please-pass-value-to-stored-procedure-using-slicer
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/31655341-stored-procedure-call-with-parameters-passed-from
RE: Passing Parameters to Power BI through Stored Procedure
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.
RE: Passing Parameters to Power BI through Stored Procedure
This is a must feature for some of our reports. We are having timeout issue with the reports right now due to the fact that we have to retrieve all the transaction data to the report then do measures with DAX query. It would be much faster if we can use the slicer value as input and set it to a store proc for it to do all of these calculation on the database.
RE: Passing Parameters to Power BI through Stored Procedure
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).
RE: Passing Parameters to Power BI through Stored Procedure
Agree with RafalK ;"It would also be great to pass the parameter to an sql in Power BI"
RE: Passing Parameters to Power BI through Stored Procedure
please update when this can be expected.
RE: Passing Parameters to Power BI through Stored Procedure
Hopefully this will be implemented soon.
RE: Passing Parameters to Power BI through Stored Procedure
This needs to be available. Only passing parameters into a template when the report is opened is of little use. Should be able to use Slicers to pass the value to parameters for Stored Procs
RE: Passing Parameters to Power BI through Stored Procedure
Nice idea