How to use the powerbi-client.service.Service function in powerbi-client

To help you get started, we’ve selected a few powerbi-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ramandeep-singh-1983 / ngx-powerbi / projects / ngx-powerbi / src / lib / ngx-powerbi.service.ts View on Github external
export function powerBiServiceFactory() {
  return new pbiService.Service(
    factories.hpmFactory,
    factories.wpmpFactory,
    factories.routerFactory
  );
}
github ramandeep-singh-1983 / ngx-powerbi / projects / ngx-powerbi / src / lib / ngx-powerbi.service.ts View on Github external
constructor(private service?: pbiService.Service) {
    if (!service) {
      this.powerBiCoreService = new pbiService.Service(
        factories.hpmFactory,
        factories.wpmpFactory,
        factories.routerFactory
      );
    } else {
      this.powerBiCoreService = service;
    }
  }

powerbi-client

JavaScript library for embedding Power BI into your apps. Provides service which makes it easy to embed different types of components and an object model which allows easy interaction with these components such as changing pages, applying filters, and res

MIT
Latest version published 9 months ago

Package Health Score

77 / 100
Full package analysis