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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jeffiefgf
New Contributor II

How to trigger drill down with TypeScript code

I am creating a custom visual with a tree like structure, my goal is to get the values of all nodes at all level/hierarchy. I was able to achieve this by clicking on the drill down button, which gives me the values of the nodes one level at a time. Is there a way to trigger the drill buttons in TypeScript, so that I can loop through each level and create a JSON containing the values of all the nodes?

 

 This is the drill down button I am trying to trigger with TypeScript:

jeffiefgf_0-1649098708837.png

 

Any help or suggestion would be greatly appreciated, thank you in advance!

1 ACCEPTED SOLUTION
dm-p
Honored Contributor

Hi @jeffiefgf,

There are currently no APIs to trigger drilldown on a custom visual. You will need to request the feature through the team (best place to start is in the powerbi-visuals-tools repo or email pbicvsupport@microsoft.com).

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Honored Contributor

Hi @jeffiefgf,

There are currently no APIs to trigger drilldown on a custom visual. You will need to request the feature through the team (best place to start is in the powerbi-visuals-tools repo or email pbicvsupport@microsoft.com).

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
Users online (27)