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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
anagnostes
Frequent Visitor

Drill Down by code in PowerBI-JavaScript

 Hi,

 

I was looking in the PowerBI-JavaScript library for the possibility to Drill Down / Drill Up and Expand by javascript own code in the visuals objects, but couldn't find it. Is it possible to do it? or maybe as a feature request?

 

Now that it is possible to hide the visuals headers, that is really nice by the way, it would be great if we could apply drills/expands as we can apply filters when we are using javascript code.

 

Thank you.

2 REPLIES 2
v-micsh-msft
Microsoft Employee
Microsoft Employee

Hi @anagnostes,

 

The available things that could be done through JavaScripts is listed in the following link:

 

https://github.com/Microsoft/PowerBI-JavaScript/wiki

 

You may take a look at the commands part, which is available to define additional commends for the visual, but currently it is only available for Context menu and Options menu.

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Menu-Commands-Extension

 

Regards,

Michael

 

Hi all,

 

After download the source code from Github as suggested in this community forum, run the application with ng serve -o and also run the commands


npm install --save-dev @angular/cli@latest but it throws the error like-

Local workspace file ('angular.json') could not be found.
Error: Local workspace file ('angular.json') could not be found.
at WorkspaceLoader._getProjectWorkspaceFilePath (RND\PowerBI-JavaScript-master\PowerBI-JavaScript-master\demo\node_modules\@angular\cli\models\workspace-loader.js:37:19)

So, can anyone help me how to run this application

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.