Skip to content
Microsoft Power BI

How to use Microsoft Power BI

Data & BICost: 1 credit per runTop 100 · #48Full guide

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)

  1. 1Add a Power BI step and click "Connect".
  2. 2Sign in with a Microsoft account that has a Power BI license and accept the permissions.
  3. 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).
  4. 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
FieldTypeRequired
Dataset NameTextYes
Dataset ModeFixed listYes
TablesJSONYes
Push Rows to Dataset Table4 fields
FieldTypeRequired
DatasetList (from your account)Yes
TableList (from your account)Yes
RowsJSONYes
Skip Dataset RefreshYes / NoNo
Refresh Dataset3 fields
FieldTypeRequired
WorkspaceList (from your account)Yes
DatasetList (from your account)Yes
Notification OptionFixed listNo
Run DAX Query5 fields
FieldTypeRequired
WorkspaceList (from your account)Yes
DatasetList (from your account)Yes
DAX QueryLong textYes
Impersonated User (UPN)TextNo
Include Null ValuesYes / NoNo
Export Report to File4 fields
FieldTypeRequired
WorkspaceList (from your account)Yes
ReportList (from your account)Yes
File FormatFixed listYes
Max Wait Time (seconds)NumberNo
List Reports1 fields
FieldTypeRequired
WorkspaceList (from your account)Yes
Clone Report5 fields
FieldTypeRequired
WorkspaceList (from your account)Yes
ReportList (from your account)Yes
New Report NameTextYes
Target WorkspaceList (from your account)No
Target Dataset IDTextNo
Import File (.pbix)6 fields
FieldTypeRequired
WorkspaceList (from your account)Yes
FileFileYes
Dataset Display NameTextNo
On Name ConflictFixed listNo
Skip Report ImportYes / NoNo
Max Wait Time (seconds)NumberNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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