The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
Appears something has changed in the last few weeks and was just brought to my attention.
Historically, I would set my config to the below:
var config = {
type: 'report',
accessToken: accessToken,
embedUrl: embedUrl,
id: embedReportId,
permissions: models.Permissions.All,
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: true,
},
bookmark: {
state: "@Html.Raw(Model.BookmarkState)"
}
};
By doing this, the filter pane would only appear when the report was set to show the filter pane. Unfortuantely, now the filter pane is visible for all reports. I removed filterPaneEnabled from the config file hoping that would then inherit the permission from the PowerBI Report, but removing it appears to now show the filter pane too. If I set filterPaneEnabled: false, then the filter pane is no longer visible.
I've confirmed that the report developers are setting the eye icon in powerbi desktop to not show the filter pane. Additionally, I can see that the powerbi website is suppressing the filter panes as expected.
Unfortunately, I cannot suppress all filter panes because some reports require it. Hoping to find a solution that will inherit the filter pane visibility from the report so that I do not need to add the flag to the database as it'll be one more thing that would need set/updated.
Much appreciated!