cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anagnostes Frequent Visitor
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 New Contributor
New Contributor

Re: Drill Down by code in PowerBI-JavaScript

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

 

Ashish1 Occasional Visitor
Occasional Visitor

Re: Drill Down by code in PowerBI-JavaScript

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