Skip to content

JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.

License

Notifications You must be signed in to change notification settings

jfavlam/PowerBI-JavaScript

This branch is 246 commits behind microsoft/PowerBI-JavaScript:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7ba2ffe · Mar 27, 2019
Aug 22, 2016
Mar 26, 2019
Mar 26, 2019
Mar 26, 2019
Jan 23, 2019
Jan 2, 2018
Aug 31, 2016
Jul 8, 2016
Dec 18, 2017
Jun 7, 2016
Mar 7, 2017
Aug 28, 2018
Jun 11, 2017
Aug 31, 2016
Jul 24, 2017
Aug 23, 2016
Mar 26, 2019
Aug 22, 2016
Mar 16, 2017
Jun 15, 2016
Jul 24, 2017
Jun 16, 2016
Aug 22, 2016

Repository files navigation

powerbi-client

JavaScript library for embedding Power BI into your apps.

Build Status NPM Version Bower Version Nuget Version NPM Total Downloads NPM Monthly 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.

Code Docs

See the code docs for detailed information about classes, interfaces, types, etc.

Demo

New live demo for sample application using the powerbi-client library in scenarios such as page navigation, applying filters, updating settings, and more.

Installation

Install via Nuget:

Install-Package Microsoft.PowerBI.JavaScript

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

JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 2.7%
  • HTML 0.1%