Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in BI by (11.1k points)
How can I get rid of white background by using embedded Power Bi report?

1 Answer

0 votes
by (22.5k points)

Use the following codes:

var models = window['powerbi-client'].models;
var embedConfiguration = {
                            type: 'report',
                            tokenType: models.TokenType.Aad,
                            accessToken: token,
                            embedUrl: response.embedUrl,
                            id: reportId,
                            permissions: models.Permissions.ReadWrite,
                            viewMode: models.ViewMode.View,
                            settings: {
                                background: models.BackgroundType.Transparent
                            } 

                        }; 

If u want to learn the tool in-depth, then come to us and sign up for this Power BI Certification     

Related questions

0 votes
1 answer
asked Jan 14, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
0 votes
1 answer
asked Feb 8, 2021 in BI by Chris (11.1k points)

Browse Categories

...