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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Pitchaimuthu
Helper II
Helper II

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

 

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);
});
});

 

0 REPLIES 0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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