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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aricossa
Regular Visitor

PowerBi development - Visual level filters

Goodmorning,

We are developing a powerbi custom visual to represent a organization department structures using a tree view. We have a lot of root nodes and we would like to show initially only those nodes.

We use a Telerik Kendo UI diagram javascript object to draw those nodes.

  

When user click on nodes we would like to drill down on that node. We create a data role to contain the hierarchy.

 

We think we need to filter the data with the selected node and to drill down but we cannot achieve that.

 

We notice that the stock visual Treemap apply filters on drilled nodes. We would like to replicate this!

 

Thanks

3 REPLIES 3
v-viig
Community Champion
Community Champion

I'm not sure that get the requirement well.

Do you want to filter other visuals on report page after selecting any node on your custom visual?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Hi Ignat,

 

Thanks for your reply.

 

We would like to add a filter to our visual and then call the drill down event. 

 

We know how to represent the data we receive using a javascript component like D3 or Telerik. After that, when the user click on an element we would like to do something, for example to filter on the data the user select and to drill down.

v-viig
Community Champion
Community Champion

Hi @aricossa

 

To achieve the goals please visit the official documentation for Drill Down and  Selection API and Advanced Filter API.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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