> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Microsoft Power BI connector

- Connector: `appmixer.MSPowerBI`
- Version: 1.1.2
- Components: 18 (0 triggers, 18 actions)

Microsoft Power BI is a business analytics service that delivers insights to enable fast, informed decisions. Connect to hundreds of data sources, simplify data prep, and drive ad hoc analysis.

- Connector page: <https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/MSPowerBI>
- Download package: <https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/download>

## Authentication

**Type:** OAuth 2

This connector is globally authenticated and verified by Appmixer (Authentication Hub) and is ready to use without registering your own OAuth application with the provider. You can still use your own OAuth credentials (clientId and clientSecret) - see the Connector Configuration section of the documentation. The Authentication Hub is enabled for all hosted Appmixer tenants; on self-managed installations it has to be explicitly set.

**Scopes:**

- `offline_access`

## Actions (18)

- [Create Dashboard](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.CreateDashboard.md) (`appmixer.MSPowerBI.core.CreateDashboard`): Creates an empty dashboard in Power BI. Tiles can be pinned to it from reports in the Power BI Service. Additional scopes: `https://analysis.windows.net/powerbi/api/Content.Create`.
- [Add Rows](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.AddRows.md) (`appmixer.MSPowerBI.core.AddRows`): Adds new data rows to the specified table in a push dataset. Used for streaming/real-time data scenarios. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.ReadWrite.All`.
- [Create Dataset](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.CreateDataset.md) (`appmixer.MSPowerBI.core.CreateDataset`): Creates a new push dataset in Power BI. Push datasets support real-time data streaming via AddRows. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.ReadWrite.All`.
- [Delete Dataset](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.DeleteDataset.md) (`appmixer.MSPowerBI.core.DeleteDataset`): Deletes the specified dataset from Power BI. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.ReadWrite.All`.
- [Execute Queries](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.ExecuteQueries.md) (`appmixer.MSPowerBI.core.ExecuteQueries`): Executes DAX queries against the specified dataset and returns the results. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.Read.All`.
- [Export Report](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.ExportReport.md) (`appmixer.MSPowerBI.core.ExportReport`): Exports the specified report to a file (PDF, PPTX, PNG, etc.) from My Workspace or a specified group/workspace. Additional scopes: `https://analysis.windows.net/powerbi/api/Report.Read.All`.
- [Get Dataset](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.GetDataset.md) (`appmixer.MSPowerBI.core.GetDataset`): Returns the specified dataset from My Workspace or a specified group/workspace. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.Read.All`.
- [Get Refresh History](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.GetRefreshHistory.md) (`appmixer.MSPowerBI.core.GetRefreshHistory`): Returns the refresh history for the specified dataset. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.Read.All`.
- [Get Dashboard](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.GetDashboard.md) (`appmixer.MSPowerBI.core.GetDashboard`): Returns the specified dashboard from My Workspace or a specified group/workspace. Additional scopes: `https://analysis.windows.net/powerbi/api/Dashboard.Read.All`.
- [Get Report](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.GetReport.md) (`appmixer.MSPowerBI.core.GetReport`): Returns the specified report from My Workspace or a specified group/workspace. Additional scopes: `https://analysis.windows.net/powerbi/api/Report.Read.All`.
- [Get Report Pages](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.GetReportPages.md) (`appmixer.MSPowerBI.core.GetReportPages`): Returns a list of pages within the specified report from My Workspace or a specified group/workspace. Additional scopes: `https://analysis.windows.net/powerbi/api/Report.Read.All`.
- [Get Tiles](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.GetTiles.md) (`appmixer.MSPowerBI.core.GetTiles`): Returns a list of tiles within the specified dashboard from My Workspace or a specified group/workspace. Additional scopes: `https://analysis.windows.net/powerbi/api/Dashboard.Read.All`.
- [List Dashboards](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.ListDashboards.md) (`appmixer.MSPowerBI.core.ListDashboards`): Returns a list of dashboards from My Workspace or a specified group/workspace. Supports outputting one item at a time, all at once, first item only, or as a CSV file. Additional scopes: `https://analysis.windows.net/powerbi/api/Dashboard.Read.All`.
- [List Datasets](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.ListDatasets.md) (`appmixer.MSPowerBI.core.ListDatasets`): Returns a list of datasets from My Workspace (or from a specified group/workspace). Supports outputting one item at a time, all at once, first item only, or as a CSV file. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.Read.All`.
- [List Reports](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.ListReports.md) (`appmixer.MSPowerBI.core.ListReports`): Returns a list of reports from My Workspace or a specified group/workspace. Supports outputting one item at a time, all at once, first item only, or as a CSV file. Additional scopes: `https://analysis.windows.net/powerbi/api/Report.Read.All`.
- [List Tables](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.ListTables.md) (`appmixer.MSPowerBI.core.ListTables`): Returns a list of tables within the specified push dataset. Supports outputting one item at a time, all at once, first item only, or as a CSV file. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.Read.All`.
- [Make Api Call](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.MakeApiCall.md) (`appmixer.MSPowerBI.core.MakeApiCall`): Performs an arbitrary authorized API call to the Power BI API.
- [Refresh Dataset](https://connectors.appmixer.com/connector/appmixer.MSPowerBI/1.1.2/component/appmixer.MSPowerBI.core.RefreshDataset.md) (`appmixer.MSPowerBI.core.RefreshDataset`): Triggers a refresh for the specified dataset. Only available for datasets in import/DirectQuery mode. Additional scopes: `https://analysis.windows.net/powerbi/api/Dataset.ReadWrite.All`.

## Changelog

### 1.1.2

- Quote CSV cells that hold a comma, a double quote or a line break and map cells by header column when exporting results to a file.

### 1.1.1

- MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.

### 1.1.0

- Added MakeApiCall component for performing arbitrary authorized API calls to the Power BI API.

### 1.0.2

- Added output port examples to all components.

### 1.0.0

- Initial release.
