Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18119

IE browser does not support the customized filters on embedded Power BI report

$
0
0

 

I have created custom filters for embedded Power BI report in web application using javascript, it works fine, but when I open in Chrome browser that the filters are working but When I open that application in IE browser custom filters are not working, here is my code below

 

Filter= {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: "SalesTable",
column: "Item"
},
operator: "In",
values: [col_Value] 
};


var embedConfiguration = {
type: 'report',
accessToken: token,
id: '4b2323230ce-0002asda-43e3-85aeds-1f22833asfdsf',
embedUrl: 'https://app.powerbi.com/reportEmbed?reportId=4b2323230ce-0002asda-43e3-85aeds-1f22833asfdsf'',
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: false
}

};
var reportContainer = document.getElementById('reportContainer');
report = powerbi.embed(reportContainer, embedConfiguration);

var container = powerbi.get(reportContainer);

 

report.on('loaded', function (event) {
report.getFilters().then(filters => {
filters.push(Filter);
//this.report.setFilters(filters);
return report.setFilters(filters);
});
});

 


Viewing all articles
Browse latest Browse all 18119

Latest Images

Trending Articles



Latest Images

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