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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jaryszek
Memorable Member
Memorable Member

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 Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.