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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.