Forum Discussion
rockking151
7 years agoAdvocate IV
Filters error (last updates problem)
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 workin...
rockking151
7 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!
martin2
7 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);
})