Forum Discussion

jaryszek's avatar
jaryszek
Icon for Super User rankSuper User
11 months ago
Solved

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
  • Anonymous's avatar
    Anonymous
    10 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 Learn

    If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

    Thanks.