Skip to content

mgblythe/PowerBI-JavaScript

 
 

Repository files navigation

powerbi-client

Build Status npm version Downloads GitHub tag Gitter

Wiki

See the wiki for more details about embedding, service configuration, setting default page, page navigation, dynamically applying filters, and more.

Demo

Installation

Install via Nuget:

Install-Package Microsoft.PowerBI.JavaScript -Pre

Install from NPM:

npm install -save powerbi-client

Install from Bower:

bower install powerbi-client --save

Installing beta versions:

npm install --save powerbi-client@beta

Include the library via import or manually

Ideally you would use module loader or compilation step to import using ES6 modules as:

import * as pbi from 'powerbi-client';

However, the library is exported as a Universal Module and the powerbi.js script can be included before your apps closing </body> tag as:

<script src="/bower_components/powerbi-client/dist/powerbi.js"></script>

When included directly the library is exposd as a global named 'powerbi-client'. There is also another global powerbi which is an instance of the service.

About

We are going to open source our PowerBI API SDKs and samples to enable the community to quickly create application based on our API. This is the JavaScript version.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 84.3%
  • JavaScript 13.7%
  • Shell 2.0%