Power BI Exchange

Please login or click SIGN UP FOR FREE to create your PowerBIUG account to join this user group.
 View Only
  • 1.  Website Embed - Banner Removal?

    Gold Contributor
    Posted Aug 30, 2019 11:23 AM
    Hi Everyone,

    I may have the wrong name for this, but is there any way to remove the banner from the bottom of an embedded report within a website?  I don't see options for that, but maybe there's a way to edit the iframe code?

    Thanks!


    ------------------------------
    Holly Kramer
    Digital Design Application Specialist
    Interior Architects
    Houston TX
    713-481-3161
    ------------------------------


  • 2.  RE: Website Embed - Banner Removal?

    Top Contributor
    Posted Aug 30, 2019 09:46 PM
    It's possible if you are at all familiar with HTML and CSS. I had to wrap my iframe in an additional div tag and set the div to be shorter than the iframe and hid the excess:
    <div style=" overflow:hidden; width: 1335px; height: 1900px;">
    <iframe width="1500" height="2000" src="

    ------------------------------
    Sam Duval
    Data Quality Analyst
    Indianapolis
    ------------------------------



  • 3.  RE: Website Embed - Banner Removal?

    Top Contributor
    Posted Sep 02, 2019 05:27 PM
    Hi !

    I think you an use Power BI Client API:

    https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details

    Page Navigation 
    navContentPaneEnabled: false

    Regards,

    ------------------------------
    Hasham Bin Niaz
    Director Data & Analytics
    Karachi, Pakistan
    ------------------------------



  • 4.  RE: Website Embed - Banner Removal?

    Gold Contributor
    Posted Sep 03, 2019 10:47 AM
    Thank you both for the suggestions.  I've sent these on to the person working with the website.  I'll let you know if we have any questions on either method - and which one we ended up going with.

    ------------------------------
    Holly Kramer
    Digital Design Application Specialist
    Interior Architects
    Houston TX
    713-481-3161
    ------------------------------



  • 5.  RE: Website Embed - Banner Removal?

    Gold Contributor
    Posted Sep 04, 2019 09:20 AM
    Solved!  We ended up editing the iframe code by trimming it and it was a quick fix.  Thanks!

    ------------------------------
    Holly Kramer
    Digital Design Application Specialist
    Interior Architects
    Houston TX
    713-481-3161
    ------------------------------



  • 6.  RE: Website Embed - Banner Removal?

    Posted Dec 16, 2022 10:37 AM
    Hi Holly,

    I know this was posted a few years ago, but I am curious about how you trimmed the iframe code. I have been trying to figure it out with not much luck. I am a novice at this, so any information is appreciated!

    Thanks,

    Myriah

    ------------------------------
    Myriah Pirhal
    Marketing
    ------------------------------



  • 7.  RE: Website Embed - Banner Removal?

    Gold Contributor
    Posted Dec 16, 2022 11:21 AM
    Hi Myriah - I am not positive exactly how we did it.  Looks like I gave the iframe code to the person working on the website, and they likely did the trimming.  However, when I compare the embed code from the workspace to what shows on the website, it seems the last portion (shown below) was what they removed.

    frameborder="0" allowFullScreen="true"></iframe>

    I hope that helps!

    ------------------------------
    Holly Kramer
    Digital Design Application Specialist
    Interior Architects
    Houston TX
    713-481-3161
    ------------------------------