The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am trying to find out a way to pass parameters to power bi embedded from the web application. Basically, the front-end user will have a page where he will make some selections say client id/member id and some 4-5 more filters and a data filter, once he clicks on load, these selected values should be passed as parameters to power bi embedded and then the relevant report should be displayed on the application screen.
Any help on this would be greatly appreciated.
Thanks
Solved! Go to Solution.
Hi @jswat21 ,
To pass parameters from an application to Power BI Embedded, you can use the URL query string. You can add parameters to the URL query string and then pass it to the Power BI Embedded report. The report can then extract the parameters from the URL query string and use them to filter the data.
Alternatively, you can also pass in one additional filter value on the embed URL when you render the IFrame .
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jswat21 ,
To pass parameters from an application to Power BI Embedded, you can use the URL query string. You can add parameters to the URL query string and then pass it to the Power BI Embedded report. The report can then extract the parameters from the URL query string and use them to filter the data.
Alternatively, you can also pass in one additional filter value on the embed URL when you render the IFrame .
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ibarrau
Thanks for your reply. I did check the Embedded playground and saw Filters and slicers in action.
But I am not looking for how the filters on the report will work.
What I am looking is before the report is loaded/rendered, the user selections on previous page in the web application should be passed as parameter values to the power bi and then based on these selections, the report should be loaded.
The data being retrieved should be filtered before, the report is loaded.
Hi jswat21, I have the same requirement, and I was wondering if you found the solution. I am trying to usea parameter but it does not work.
Best
Hmendezm
Hi,
Have you implemented above method now?
Not able to actually.
ohk. I have researched possible solutions without success.
What was your workaround?
Thanks
Hi, you can play around with the Power Bi Embedded playground. That place will let you understand how to solve actions with code for embedding.
https://playground.powerbi.com/en-us/explore-features
On that link go to filters, check the one you want and how it's done.
I hope that helps,
Happy to help!
User | Count |
---|---|
36 | |
15 | |
12 | |
11 | |
9 |
User | Count |
---|---|
46 | |
44 | |
19 | |
18 | |
18 |