Forum Discussion

HulstB's avatar
HulstB
Frequent Visitor
6 years ago
Solved

Embedded report link doesn't support URL filters.

Embedded report link doesn't support URL filters.

 

Could you add this as new feature? 

Or is it actually a bug since it seems to work with the normal non-embedded link.

 

  • Hi HulstB ,

     

    Based on this document, The value provided in the pageName setting corresponds to the end of the report URL when viewing a report in the Power BI Service.

     

    We tested it under the Secure Embed Code in Power BI Service and the parameters works fine.

    <iframe width="720" height="640" src="https://app.powerbi.com/reportEmbed?reportId=[ReportID]&autoAuth=true&ctid=[ITID]&config=[Config]&pageName=ReportSectionfb03c940d50018e49203&filter=Budget/Brand eq 'Contoso'" frameborder="0" allowFullScreen="true"></iframe>

     

    If there is not what you want, We suggest you to open a ticket here for help if you are a pro user: https://powerbi.microsoft.com/en-us/support/

     

    Best regards,

    Community Support Team _ Dong Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

12 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HulstB What type of embedding are you doing? Publish to web, embed in app, embed in SharePoint?

    • HulstB's avatar
      HulstB
      Frequent Visitor

      The use case is: Embedding powerbi report snippets onto a webpage.

      Embedded works since there is no problem with the x-frame-options = deny when using own report into an iframe....

       

                                iframe compatible      query parameters work

      embedded           yes                                      no

      normal link           no                                      yes

      • v-lid-msft's avatar
        v-lid-msft
        Community Support

        Hi HulstB ,

         

        Based on this documents, The embed URL supports several input settings that help you customize your user’s experiences. If you’re using the HTML snippet provided, make sure you update the URL in the iFrame’s src setting.

         

        We test by following code.

        <iframe width="1140" height="541.25" src="https://app.powerbi.com/reportEmbed?reportId=[reportID]&autoAuth=true&ctid=[ctid]&filter=Budget/Brand eq 'Contoso'" frameborder="0" allowFullScreen="true"></iframe>

        Best regards,

        Community Support Team _ Dong Li
        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.