Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
3 |