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
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
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.