Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48061

Re: Hide Custom Filters from Filters Pane

$
0
0

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.


Viewing all articles
Browse latest Browse all 48061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>