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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
ganeshm
Frequent Visitor

Hide Custom Filters from Filters Pane

Hello

 

Is there a way to hide the custom filter added in Power BI Embedded in iframe?

 

I have added a custom filter like this.

 

var filter = new models.BasicFilter({
    table: "USERS",
    column: "Role"
}, "Manager", [""]);

 

 

The Filters pane has other filters that were created while creating this report.I want to hide this filter alone in Filters pane.

 

Please guide me how I can achieve this.

 

Thanks!

5 REPLIES 5
Eric_Zhang
Microsoft Employee
Microsoft Employee

@ganeshm

AFAIK, it is not possbile to hide the specific filter alone. You can hide the whole filter panel.

 

var filter = new models.BasicFilter({
    table: "USERS",
    column: "Role"
}, "Manager", [""]); 

var embedConfiguration = {
    type: 'report',
    accessToken: 'token',
    embedUrl: 'https://app.powerbi.com/reportEmbed?reportId=b7441d21-dabb-4d81-89b6-0c7c5bd6426d',
	filters:[filter], // the filters is an array here, you can add more filter like [filter1,filter2,filter3]
	settings: {
        filterPaneEnabled: False //hide the filterPane so that your user can't change the filter to see more data, this is not a strong security, anyone who's familar with javascript can bypass it
    }

}; 

You can submit your idea at Power BI Ideas and vote it up.

Anonymous
Not applicable

There is another issue , when we hide the filter pane it appears back when tile is clicked. any one facing this issue or have solution for same?

@Eric_Zhang

Thanks for your reply. 

 

Is there any development going on to address this idea? I have seen similar ideas raised in this community.

 

Kindly let me know if this is in the pipeline for the coming months?

ganeshm
Frequent Visitor

Could anyone please let me know whether this is possible? 

ganeshm
Frequent Visitor

Any update on this ?

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.