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
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
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.

Top Kudoed Authors