cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Hiding filter pane when using filters

Hello, I'm a developer (and in no way a Power BI expert) working on a Vue JS / TypeScript app using the powerbi-client v2.7.3 library for embedding Power BI reports. Below is the config being used to embed reports:

 

const embedConfiguration = {
type: 'report',
id: this.report.id,
embedUrl: this.embeddedReportUrl, // This will optionally include a filter parameter if the user has navigated to a filtered report
tokenType: PBI.models.TokenType.Aad,
accessToken: this.powerBiAccessToken,
permissions: PBI.models.Permissions.All,
settings: {
filterPaneEnabled: false, // This works, but only if the filter string is not specified in the embedUrl
},
};

 

I'm displaying reports in an unfiltered state, which works fine, and the filter pane is hidden as per the above config. However when I pass a filter string into that embed URL the filter pane is there and the user is free to interact with it.

 

What I'd like is for the filter pane to be hidden permanently, regardless of the filters applied. I've not found anything online that suggests this is possible, except the filters preview but given that's subject to change we're not willing to use it on our production platform.

 

I have a horrible feeling this just isn't possible until the new filters pane escapes the preview stage, but if anyone can tell me otherwise I'd be massively thankful.

 

Paul

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

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