What it is for
Microsoft Power BI in flooows lets you create datasets, push rows, refresh them, run DAX queries and export or clone reports. It is used to feed near real-time dashboards with data from other apps or to distribute PDF reports automatically.
This component has no triggers: it is used as an action in flows started by other triggers, such as a schedule or a new record in your CRM.
Set up the connection
Authentication type: OAuth 2.0 (sign in with your account)
- 1Add a Power BI step and click "Connect".
- 2Sign in with a Microsoft account that has a Power BI license and accept the permissions.
- 3If your organization uses its own Azure app, register it, set the Redirect URI shown by flooows and add the delegated Power BI Service permissions (datasets, reports, workspaces and offline_access).
- 4Save the connection with a recognizable name.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Push Rows to Dataset Table: choose Dataset and Table and pass in Rows a list of objects whose keys match the columns.
- Create Dataset sets Dataset Name, Dataset Mode (for example Push) and the Tables with their columns.
- Refresh Dataset starts a refresh of a dataset in the selected Workspace.
- Run DAX Query runs a DAX query and returns results for later steps.
- Export Report to File exports a Report in the chosen File Format (PDF, PPTX, PNG) so you can email it.
Tips
- •Use the Workspace, Dataset and Report dropdowns to avoid ID mistakes.
- •Batch rows instead of sending one per run to save credits.
- •Raise Max Wait Time (seconds) when exporting large reports.
Actions (9)
Operations available as flow steps. Expand each one to see its fields.
Create Dataset3 fields
| Field | Type | Required |
|---|---|---|
| Dataset Name | Text | Yes |
| Dataset Mode | Fixed list | Yes |
| Tables | JSON | Yes |
Push Rows to Dataset Table4 fields
| Field | Type | Required |
|---|---|---|
| Dataset | List (from your account) | Yes |
| Table | List (from your account) | Yes |
| Rows | JSON | Yes |
| Skip Dataset Refresh | Yes / No | No |
Refresh Dataset3 fields
| Field | Type | Required |
|---|---|---|
| Workspace | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| Notification Option | Fixed list | No |
Run DAX Query5 fields
| Field | Type | Required |
|---|---|---|
| Workspace | List (from your account) | Yes |
| Dataset | List (from your account) | Yes |
| DAX Query | Long text | Yes |
| Impersonated User (UPN) | Text | No |
| Include Null Values | Yes / No | No |
Export Report to File4 fields
| Field | Type | Required |
|---|---|---|
| Workspace | List (from your account) | Yes |
| Report | List (from your account) | Yes |
| File Format | Fixed list | Yes |
| Max Wait Time (seconds) | Number | No |
List Reports1 fields
| Field | Type | Required |
|---|---|---|
| Workspace | List (from your account) | Yes |
Clone Report5 fields
| Field | Type | Required |
|---|---|---|
| Workspace | List (from your account) | Yes |
| Report | List (from your account) | Yes |
| New Report Name | Text | Yes |
| Target Workspace | List (from your account) | No |
| Target Dataset ID | Text | No |
Import File (.pbix)6 fields
| Field | Type | Required |
|---|---|---|
| Workspace | List (from your account) | Yes |
| File | File | Yes |
| Dataset Display Name | Text | No |
| On Name Conflict | Fixed list | No |
| Skip Report Import | Yes / No | No |
| Max Wait Time (seconds) | Number | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
403 or missing permissions
Check the account can access the workspace and the app has the Power BI permissions.
Rows do not show up in the dataset
Make sure key names exactly match the table columns.
Export timed out
Increase Max Wait Time (seconds) or reduce the report size.
Expired token
Reconnect the account.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
