cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanT
Frequent Visitor

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?

 

2 REPLIES 2
avinaash
Frequent Visitor

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

 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!