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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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 Solution Authors