Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Is it possible to pass multiple parameters through the embedded URL for a Power BI Paginated report? The report is currently hosted in a dedicated workspace. I need to embed this report in a .Net core application which will pass several parameters. Is it possible to append these to the embedURL? As in the higlighted code below?
let config = {
type: 'report',
tokenType: tokenType == '0' ? models.TokenType.Aad : models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl?rp:ReportParameter1&rp:ReportParameter2&rp:ReportParameter3,
id: embedReportId,
permissions: permissions,
};
I tried using the Power BI Embedded Playground (Power BI Playground) but the test report used over there is a Power BI Report and not a Paginated report. I also tried to upload my own paginated report. However, the report does not get listed under the Workspace. Am I missing something?
Could someone please guide/confirm if it is feasible to pass multiple parameters from a custom application to an embedded paginated report?
Hi @Anonymous ,
Yes. Referring to this blog, URL parameters in embedded paginated reports – This capability, already supported in Power BI service, allows ISVs and developers to control their users experience by appending extra parameters to the generated Embed URL. For example:
?rp:Paremeter1=xxx&rp:Paremeter2=xxx
Refer to:
Tutorial: Embed Power BI paginated reports into an application for your customers
Tutorial: Embed Power BI paginated reports into an application for your organization
Learn more about URL parameters in Power BI paginated reports
https://community.powerbi.com/t5/Service/Unable-to-embed-a-paginated-report/m-p/1104682
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.