PowerBI-JavaScript

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

  • Owner: microsoft/PowerBI-JavaScript
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    13
      Compare:

Github stars Tracking Chart

powerbi-client

JavaScript library for embedding Power BI into your apps.

Build Status
NPM Version
Nuget Version
NPM Total Downloads
NPM Monthly Downloads
GitHub tag
Gitter

Wiki

See the wiki for more details about embedding, service configuration, setting a 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 a 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

Installing beta versions:

npm install --save powerbi-client@beta

Include the library via import or manually

Ideally you would use a module loader or a 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 app's closing </body> tag as:

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

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

Main metrics

Overview
Name With Ownermicrosoft/PowerBI-JavaScript
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 3)
Platform
License:Other
所有者活动
Created At2015-09-28 21:59:50
Pushed At2025-01-29 09:41:51
Last Commit At2025-01-29 11:41:48
Release Count87
Last Release Namev2.19.1 (Posted on 2022-02-21 15:31:40)
First Release Namev0.0.1 (Posted on )
用户参与
Stargazers Count1.1k
Watchers Count150
Fork Count471
Commits Count895
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count122
Pull Requests Open Count1
Pull Requests Close Count40
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private