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.
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);
});
});
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |