JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.
Перейти к файлу
ali-hamud b87e94da72
Merge pull request #367 from snehaldalvi/bashwoman
Spelling Corrected
2020-12-23 11:00:26 +02:00
.pipelines Merged PR 100354: [CDPx] Remove revision number from build number 2020-07-16 08:08:03 +00:00
.vscode
demo Merged PR 107786: Fix app insights 2020-08-20 09:01:11 +00:00
dist Merged PR 108503: Avoid sending another /load to the FE if one was already sent 2020-08-31 11:36:18 +00:00
src Merged PR 108503: Avoid sending another /load to the FE if one was already sent 2020-08-31 11:36:18 +00:00
test Merge remote-tracking branch 'powerbi/master' into releases-2.14.1 2020-09-15 14:46:46 +03: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
CHANGELOG.md
CONTRIBUTING.md Typo Changed 2020-10-01 09:27:10 +05:30
LICENSE.txt
NOTICE.txt
PowerBI.JavaScript.nuspec Merged PR 9241: updating models and copyright 2018-08-28 08:16:34 +00:00
README.md Merged PR 94257: Adding code of conduct link 2020-06-18 11:30:48 +00:00
gulpfile.js Merged PR 108503: Avoid sending another /load to the FE if one was already sent 2020-08-31 11:36:18 +00:00
karma.conf.js
package.json Merge remote-tracking branch 'powerbi/master' into releases-2.14.1 2020-09-15 14:46:46 +03: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
webpack.config.js Fix typescript import 2017-07-24 13:28:51 +03:00
webpack.test.config.js
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.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments