Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to make AppOwnsData for .NET Core work with my Paginated Reports.
Using PowerBI-JavaScript powerbi-client, I call powerbi.embed(reportContainer, config) and I get "This content isn't available.".
var config =
{
type : 'report'
, tokenType : models.TokenType.Embed
, accessToken : txtAccessToken
, embedUrl : txtEmbedUrl
, id : txtEmbedReportId
, permissions : permissions
, settings :
{
background: models.BackgroundType.Transparent
, bars :
{
actionBar :
{
visible : false
}
}
, panes :
{
pageNavigation :
{
visible : false
}
}
}
};
var reportContainer = $("#report-container").get(0);
report = powerbi.embed(reportContainer, config);
If I change the following powerbi.js code to use "rdlEmbed" instead of "reportEmbed" it works.
Line 6521
Create.prototype.getDefaultEmbedUrlEndpoint = function () {
return "reportEmbed";
};
Line 8623
Report.prototype.getDefaultEmbedUrlEndpoint = function () {
return "reportEmbed";
};
The Paginated Reports were SSRS Reports that I opened in Power BI Report Builder and Published to the Power BI Service. The reports use Direct Queries and have Parameters.
Upgrading did not help:
- Microsoft.PowerBI.API 3.21.0 to 3.23.0
- PowerBI-JavaScript 2.16.5 to 2.18.0
The accessToken and embedURL work in the Microsoft Power BI Embedded Playground.
In the Playground I can use the URL Parameter rp to pass parameter values to the Report but this does not work when using the PowerBI-JavaScript.
Hi @DJBadin,
>>If I change the following powerbi.js code to use "rdlEmbed" instead of "reportEmbed" it works.
Power bi embedded use different API to handle common power bi contents and paginated report.
In addition, you can also take a look at the following link about use filter on embed paginated report:
Filters (Parameters) for RDL (Paginated) report in... - Microsoft Power BI Community
Regards,
Xiaoxin Sheng
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
4 | |
4 | |
4 |