Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi there.
We have multipages reports. And we filter each page by region. For example, page 1 - USA, page 2 - Canada.
PowerBI.Js - last version
Everything works fine in June, but now its not working :
report.page(pageName).setFilters(arrF).catch(errors => {
// Handle error
});
Exception in file reportEmbed.min.js which located on https://app.powerbi.com/13.0.6517.123/scripts/reportEmbed.min.js:
What it means and how could I fix this problem?
Thanks for help.
We have the same problem. Page level filters are not set from JavaScript and same error is seen in console.
I have created a support ticket with Azure Support for this
@martin2 Thanks. If you will know new information or some updates, please write here.
There is now a notification about this on the status page https://powerbi.microsoft.com/en-us/support/
Users of the Power BI Embedded APIs for report filters may experience errors applying their filters. The fix will be deployed to production by end of day on 9/7. Next update @ 9/7/18 at 16:00 PDT.
I can add that I am using the depricated (but at least until last week functioning) angular-powerbi https://github.com/Microsoft/powerbi-angular component. It may be the cause of the problem.
@martin2 Thanks for your post! I look forward for this fix.
I use powerbi.js last version, so I think its not a sdk problem. It`s a powerBI service issue.
I don`t know why, but they changed text to This issue happens only if a report has Custom visuals.
But I don`t use custom visuals!
The fix did not help us unfortunately. However we have found a workaround. We are using page level filters but if we change to report level filtering the problem does not show
var embedContainer = $('#reportContainer')[0];
var report = powerbi.get(embedContainer);
//Works
report.setFilters(filterArray);
//Fails
report.getPages()
.then(function (pages) {
pages[0].setActive();
pages[0].setFilters(filterArray);
})
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 8 |