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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors