Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
jaryszek
Resident Rockstar
Resident Rockstar

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

1 ACCEPTED SOLUTION

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.

 

View solution in original post

3 REPLIES 3
v-priyankata
Community Support
Community Support

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.

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

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.

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors