Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all. Following the official Microsoft article "Bind datasets dynamically to a paginated report visual" at https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/bind-report-datasets I'm trying to dynamically switch the dataset (semantic model) that support a specific Paginated Report (created with Power BI Report Builder, based on a PBI Semantic Model, and published on a Power BI Workspace) in my custom ASP.NET Core Web App using PBI Embedding. I'm using a free / trial license. The code works well (specifically the "config" as per the linked article) ONLY for Power BI Reports, but I'm unable to render with the dataset dynamic binding my Paginated Report (or a Paginated Report Visual in a Power BI Report). I'm using the "embed for your organization" / "UserOwnsData" approach, with a delegation with the end user account. I't not clear to me if there are some specific subscription/licensing requirement for Paginated Reports only, considering that the same kind of "config" described in the article works well for "usual" Power BI reports (the ones created with the "new" Power BI Desktop).
More generally (regardless of any licensing prerequisite [which probably exist...] issues, e.g. Premium etc...) I couldn't find even one single example related to the configuration items "paginatedReportBindings", "sourceDatasetId" and "targetDatasetId" defined in the code sample in the article related to the Paginated Reports (searches on Google and Github does not produce any useful results...). There are some example/tutorial related to the dynamic datasets for a paginated report in an embedding scenario ?
Thanks all for any information about this.
Carlo R.
Hi @carlornd ,
Indeed there is no documentation on this. In my experience, you need to fill in the quotes and single-quote attributes in the examples yourself, e.g. type can be either report or rdlreports, which you can get from the url.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your feedback! Do you have a simplified working example on this (with Paginated Report), and/or what about the licensing requrements (if any) ? Thanks a lot. Regards.