Forum Discussion
Java SDK script - how to check if filter on page is part of drill through?
Hello Guys,
I am embedding a Power BI report within my app based on the JavaScript SDK.
How to check if the filter on the page is part of drill through field?
Best,
Jacek
- Anonymous10 months ago
Hi jaryszek
Thank you for reaching out to the Microsoft Fabric Forum Community.
You can retrieve all filters on a page using page.getFilter( ), but you cannot reliably know why each filter was applied (drill-through vs manual).
Use filters in a Power BI embedded analytics report | Microsoft LearnIf I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks.
3 Replies
- AnonymousNot applicable
Hi jaryszek
Could you please elaborate your question, what you want to check exactly? do you want to Check / identify drill through filters programmatically.
Thanks.- jaryszek
Super User
Hi,
yes i want to identyify through java sdk which filters are coming from drill through and which one are coming from usual page filters.
Best,
Jacek- AnonymousNot applicable
Hi jaryszek
Thank you for reaching out to the Microsoft Fabric Forum Community.
You can retrieve all filters on a page using page.getFilter( ), but you cannot reliably know why each filter was applied (drill-through vs manual).
Use filters in a Power BI embedded analytics report | Microsoft LearnIf I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks.