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

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.

Reply
arxi
New Member

Custom dashboard

Hi!

i'm testing power BI, and when i publish a report in a web site, I receive a link but when i show de report, i see a banner with Microsof power bi and hyperlinks to facebook,twitter..etc.

 

I tried to access using js:

 

Code:

<html>

<script src="./jquery.js"></script>
<script src="./jpowerbi.js"></script>

<script type="text/javascript">
window.onload = function () {
var models = window['powerbi-client'].models;
var embedConfiguration = {
type: 'report',
accessToken: 'token';
id: 'idclient',
embedUrl: 'https://app.powerbi.com/...';
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: true
}
};
var reportContainer = $('#reportContainer')[0];

// Embed the tile and display it within the div container.
var report = powerbi.embed(reportContainer, embedConfiguration);

}

 

But I still have the same result..

I created a service in azure with power bi embedded..but i don't know edit the banner..

Can someone give me a little light on the subject? Thx

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @arxi,

 

Nope, current you can't remove power bi banner by custom javascript.

In my opinion, you can try to use external web browser plugin to block that banner after finish loading.(e.g as tampermonkey, adblock)

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @arxi,

 

Nope, current you can't remove power bi banner by custom javascript.

In my opinion, you can try to use external web browser plugin to block that banner after finish loading.(e.g as tampermonkey, adblock)

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors