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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PaulZPG
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

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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