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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
mikihiir
Helper III
Helper III

Power Bi javascript api report filter issue

Hi i am testing this new javascript api.

when i define report filters - >  filterfilter

And do -> report.getFilters() then this filter is missing.

 

Any ideas ?

5 REPLIES 5
hoonybro90
Advocate IV
Advocate IV

im not sure if you have solved this but I have been wondering the same thing and it seems that what you are trying to get is the 'page level' filters, the report.getFilters() only gets the 'report level' filters. you have to do report.page('{page name}').getFilters()

v-chuncz-msft
Community Support
Community Support

@mikihiir,

 

Could you please share more information to clarify this issue? And check if there is any error message in your Web Console.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, thanks for replying.

I will start from the beginning.

1) I have set some filters to report level  in power bi (web enviroment)

BasicLevelFiltersInBi.PNG

 

 2) Now when i open this raport in my application as embedded, then i see these filters

embedded filters.PNG

 

 3) These are the filters i get from power bi javascript api -> report.getFilters()

onlyFiltersInApplication.PNG

 

 

So the problem is. I only get one filter. How can i get filters All 3 filters ? Seems that currenly filters with "no values selected" or "all values selected" , are not sent 

 

Any ideas ?

 

 

 

 

Anyone ? any ideas ?

 

Best regards

Sunkari
Responsive Resident
Responsive Resident

It seems like your code is overriding the existing filters it's not appending to existing filters. 

Sorry but i am not aware of java script api much

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.