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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors