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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
DanT
Advocate I
Advocate I

Bookmark in Powerbi embed not Working

I want to apply a bookmark on load in an embed report. I referenced the doc. All work well, but the bookmark just don't apply. The loaded report always display as the default bookmark, rather than the specified bookmark in config. No error or Waring found.

Here's the code:

var embedConfiguration = {
type: 'report',
accessToken:'eyJ********************',
embedUrl: 'https://app.powerbi.com/reportEmbed?XXXXX',
bookmark:{
name:"switch"
}
};

var dashboardContainer = document.getElementById('dashboardContainer');
var report = powerbi.embed(dashboardContainer, embedConfiguration);

 

Anyone has an idea on this?

 

4 REPLIES 4
avinaash
Advocate II
Advocate II

Even I am facing the same issue. Please someone help ASAP.

ybd1
Frequent Visitor

I am having the same issue,

it looks like personal bookmarks just dont work with powerbi embed.

Did you try to use the "display bookmarks" option as demonstrated in the power bi js playground?

(I got the same result there as well, what about you?bookmarks defferent.JPG😞

 

https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/?showcase=Bookmarks

Capture11.JPG

 

prosar
Frequent Visitor

@ybd1 were u able to solve this in a url personalbookmarkenabled=true

no, but it's been a long time. I'm not sure if this issue exists now.

Helpful resources

Announcements
March Fabric Community Update

Fabric Community Update - March 2024

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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.