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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Shahin75
New Member

Possible to hide Published Report or dashboard on the web

Hi,

 

I want to know if it's possible to Published Report privatly without published on the web for take the iframe and put to my webapp.

 

Thank you

 

Shahin

2 REPLIES 2
v-micsh-msft
Employee
Employee

I am not sure I fully understand your meaning about the " Published Report privatly without published on the web".

 

I will share some information here.

Power BI Service offers two option to embed Power BI Reports:

1. Publish to web, get the Embed URL and then use iframe with the related site, 

2. Embed in SharePoint Online page, this is more specific.

 

Another option is to use Power BI Embedded, two scenarios:

1. App owns Data,

2. User Owns Data

 

You may take a look at the following page for more details:

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embedding-Basics

 

Regards,

Michael

Thanks for your answers

 

My question about "Published Report privatly without published on the web" is to know if all information will be visible by anyone or only on Porweb BI Users because i don't want all the information on the web.

 

I want the 1st solution 

1. Publish to web, get the Embed URL and then use iframe with the related site

but not on the web only by users who will use my application.

 

Other question for the 2nd scenarios 

// Get models. models contains enums that can be used.
var models = window['powerbi-client'].models;

var embedConfiguration = {
	type: 'report',
	id: '5dac7a4a-4452-46b3-99f6-a25915e0fe55',
	embedUrl: 'https://app.powerbi.com/reportEmbed',
	tokenType: models.TokenType.Aad,
	accessToken: 'e4...rf'
};

var $reportContainer = $('#reportContainer');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);

What information i need to change  id, embedUrls and accessToken or id, embedUrls tokenTYpe and accessToken and where can i find all the informations, i know that some informations are on Microsoft Azure.

 

Thank you 

 

Shahin

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.