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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
DJBadin
New Member

powerbi.js uses reportEmbed for Paginated Report leading to "This content isn't available"

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.

1 REPLY 1
Anonymous
Not applicable

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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