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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

Top Solution Authors