Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi i am testing this new javascript api.
when i define report filters - > filter
And do -> report.getFilters() then this filter is missing.
Any ideas ?
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()
Could you please share more information to clarify this issue? And check if there is any error message in your Web Console.
Hi, thanks for replying.
I will start from the beginning.
1) I have set some filters to report level in power bi (web enviroment)
2) Now when i open this raport in my application as embedded, then i see these filters
3) These are the filters i get from power bi javascript api -> report.getFilters()
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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |