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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jswat21
Regular Visitor

Pass parameters from application to power bi embedded

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

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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.

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

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.

jswat21
Regular Visitor

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 

ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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