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
Anonymous
Not applicable

PowerBI embed configuration and settings not updating/working

Need Help.

I have integrated powerBI embeded chart ( using powerBi-javascript library ). I am able to see my chart in angular web app. 

I have added below configuration but filter pane is not visble  and content pane is not disable/hide ( no change in view/chart).

 

 const config = <IEmbedConfigurationBase><any>{
      type: 'report',
      uniqueId: '40cc1ea5-4ef2-4e63-8c4d-2970a6584be6', // reportId
      id: '40cc1ea5-4ef2-4e63-8c4d-2970a6584be6', // reportId
      tokenType: this.models.TokenType[1],
      embedUrl: 'my-embedUrl',
      accessToken: 'my-accessToken',
      settings: {
        filterPaneEnabled: true,  // true/false is not working
        navContentPaneEnabled: false, // true/false is not working 
      }
    };

 

 

Also, I want to add custom Layout but it's not working. additional configuration and settings are not working.

 

Thanks in advance.

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi! I think that was the old way to embed. Try this code for settings instead:

settings: {
      panes: {
        filters: {
          visible: true
        },
        pageNavigation: {
          visible: true
        }
      }
    }

You can use this site for embedding references: https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html

 

Hope this helps

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi! I think that was the old way to embed. Try this code for settings instead:

settings: {
      panes: {
        filters: {
          visible: true
        },
        pageNavigation: {
          visible: true
        }
      }
    }

You can use this site for embedding references: https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html

 

Hope this helps

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

Thanks for quick replay.

I tried-out this solution, but it's not work for me. I don't know what went wrong. I have checked all code twice but still not working. Even not able to hide/show filters!

I refer this links and documentation for embeded configurations - 

  1. https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html 
  2.  https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details

 

Thanks

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.