JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.
Перейти к файлу
Zakhar Borodin 7fe67bd0a2 Merged PR 3652: Add support for SaaS Embed:
Add support for SaaS Embed:
1. Adding radio button to select the embed type
2. Support embed type via URL parametrer
2017-12-18 12:58:06 +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 3652: Add support for SaaS Embed: 2017-12-18 12:58:06 +00:00
dist Merged PR 3605: Single Visual Embed implementation. 2017-12-18 12:55:35 +00:00
src Merged PR 3605: Single Visual Embed implementation. 2017-12-18 12:55:35 +00:00
test Merged PR 3605: Single Visual Embed implementation. 2017-12-18 12:55:35 +00:00
.gitignore Merged PR 24476: Merge alihamud-remove-package-lock to master 2017-10-23 11:00:08 +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 3605: Single Visual Embed implementation. 2017-12-18 12:55:35 +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 Merged PR 18976: Merge dev to master 2017-03-19 09:14:29 +00:00
PowerBI.JavaScript.nuspec remove typescript files from nuget (#134) 2017-01-16 14:25:58 +02:00
README.md merge external changes 2017-07-05 14:27:46 +03:00
bower.json Merge branch 'master' into release 2016-08-31 12:59:15 -07:00
gulpfile.js Fix typescript import 2017-07-24 13:28:51 +03:00
karma.conf.js Add ability to test using Firefox browser. 2016-08-23 14:38:03 -07:00
package.json Merged PR 25258: phased embedding api: load + render 2017-12-10 12:21:58 +00:00
tsconfig.json Auto-format all files to use consistent tab size of 2. 2016-08-22 15:09:15 -07:00
tslint.json merge external changes 2017-07-05 14:27:46 +03: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 Auto-format all files to use consistent tab size of 2. 2016-08-22 15:09:15 -07:00

README.md

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.