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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Employee
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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