Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rockking151
Advocate IV
Advocate 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 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: Untitled.png

 

 

What it means and how could I fix this problem?

Thanks for help.

7 REPLIES 7
martin2
Regular Visitor

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.

@martin2

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);
                })

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.