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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
devparas
Regular Visitor

Embedding Power BI reports on website but also pass values to URL based on selection

I looked over this post
https://powerbi.microsoft.com/en-us/blog/easily-embed-secure-power-bi-reports-in-your-internal-porta...
The thing shown in here is great and really helpful. Thanks for that.

 

But I am looking something the other way.

 

What I am expecting is based on the user selection from my report on the website I should be able to read those selected values, example., User Selected CountryName= USA and from the Date Slicer they selected StartDate = 1/1/2019, EndDate = 12/31/2019.

and some way to pass it in the iframe tag.
E.g.,<iframe width="123" height="123" src="https://app.powerbi.com/groups/me/reports/8d6e300b-696f-498e-b611-41ae03366851/ReportSection3?filter.../1/2019&EndDate=12/31/2019"> </iframe>

So it should append to iframe so that using JS I can extract those values and use it in my website.

Need help on this.

Thank you.

2 REPLIES 2
amitchandak
Super User
Super User

Check if these can help

https://docs.microsoft.com/en-us/power-bi/service-url-filters

https://community.powerbi.com/t5/Developer/Passing-filter-values-to-a-report-in-power-BI-embedded/m-...

https://www.edureka.co/community/28661/passing-a-parameter-to-power-bi-embedded-via-embedded-url

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you @amitchandak for you support,

 

I think I can get my work done by using documentation mentioned in this blog https://github.com/Microsoft/PowerBI-JavaScript/wiki/Handling-Events

I need to find more documentation on how to use that JavaScript Handling function to my web portal and record filters selected from the users.

If you can help me in that part. How to collect those filters and their values selected by the users and send it to a .Net MVC application.

 

Thank you.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors