Forum Discussion
Filters error (last updates problem)
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.
- rockking1517 years agoAdvocate IV
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!
- martin27 years agoRegular Visitor
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); })