JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.
Перейти к файлу
Shahak Yosef 72a7c5500c Merged PR 74973: Update playground to use the latest report-authoring (visual-authoring) version 2020-03-17 07:11:18 +00:00
.vscode Auto-format all files to use consistent tab size of 2. 2016-08-22 15:09:15 -07:00
demo Merged PR 74973: Update playground to use the latest report-authoring (visual-authoring) version 2020-03-17 07:11:18 +00:00
dist Merged PR 74948: Release version 2.11.0 2020-03-16 12:59:30 +00:00
src Merged PR 74948: Release version 2.11.0 2020-03-16 12:59:30 +00:00
test Merged PR 62071: Block secure embed scenario in JS SDK 2020-01-06 11:12:54 +00:00
.gitignore Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
.travis.yml Merge branch 'master' into release 2016-08-31 12:59:15 -07:00
CHANGELOG.md Update report component to get filterPaneEnabled and navContentPaneEnabled settings from powerbi-settings attributes. 2016-07-07 17:34:11 -07:00
CONTRIBUTING.md Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
LICENSE.txt Untrack tmpe2e files, rename the LICENSE and README files to be uppercase 2016-06-06 17:45:33 -07:00
NOTICE.txt Add Colors to code 2017-03-07 18:04:56 +02:00
PowerBI.JavaScript.nuspec Merged PR 9241: updating models and copyright 2018-08-28 08:16:34 +00:00
README.md Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
gulpfile.js Merged PR 53198: Update karma 2019-10-28 14:40:56 +00:00
karma.conf.js Add ability to test using Firefox browser. 2016-08-23 14:38:03 -07:00
package.json Merged PR 74948: Release version 2.11.0 2020-03-16 12:59:30 +00:00
tsconfig.json Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
tslint.json Code formatting. 2017-03-16 11:53:43 +01:00
typings.json Move common interfaces between host and iframe to protocol file with JSON schema validation 2016-06-15 11:01:09 -07:00
webpack.config.js Fix typescript import 2017-07-24 13:28:51 +03:00
webpack.test.config.js Consolidate all tests so they can be run with single command: gulp test --chrome 2016-06-15 17:46:38 -07:00
webpack.test.tsconfig.json Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00

README.md

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.