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! Learn more

Reply
Priyankaverma
Frequent Visitor

Filter api for custom visual

I am working on  custom visual using d3 org chart , i am able to filter data from pbi visual to custom visual using visualupdateoptions but now i need to filter pbi visual based on the cuatom visual node click...in microsoft site it is mentioned to use applyJsonfilter method can be used from IVisualhost, but when i using it is saying that it doesnot exist n it is mentioned to use higher than 3.x.x version of api, i am using 5.3.0 version still not able to access applyJsonfilter method and also ifiltercolumntarget n Ibasicfilter is also not available ...please let me know which version i should use or anything else i need to install to use basic or advancedfilter

1 REPLY 1
Priyankaverma
Frequent Visitor

I am.able to solve this by myself...i was able to use basic filter and able to filter data in other visual.

 

 

Now i am facing challenge is if i have text filter of power bi selected and now on node click of custom visual...i waned to clear the text filter of pbi....but which api to clear the text of pbi visual...how can i achieve this in visualupdateoptions method

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.

Top Solution Authors