Skip to main content

Refresh Power BI Dataset

Trigger Power BI Dataset Refresh.

Category: Power BI

How it works

Refresh Power BI Dataset '<<DatasetName>>' in Workspace '<<WorkspaceName>>'

To use this activity within the API, use an ActivityCode of REFRESH-PBI-DATASET.

Available Connections

TargetConnection:

Example JSON

An example of what the Task Config would look like for a task using this activity. Some of these variables would be set at the group level to avoid duplication between tasks.

{
"DatasetName": "",
"WorkspaceName": "",
"TargetConnection": "MY-TARGET-CONN"
}

Variable Reference

The following variables are supported:

  • DatasetName (Required) - Name of the Power BI Dataset to refresh.

  • IsFederated (Optional) - Makes task available to other Insight Factories within this organisation.

  • Links (Optional) - NULL

  • MaximumNumberOfAttemptsAllowed (Optional) - The total number of times the running of this Task can be attempted.

  • MinutesToWaitBeforeNextAttempt (Optional) - If a Task run fails, the number of minutes to wait before re-attempting the Task.

  • TargetConnection (Optional) - Target connection to use.

  • WorkspaceId (Optional) - Id of the Power BI Workspace the Dataset is in. In most cases, use Workspace Name instead.

  • WorkspaceName (Required) - Name of the Power BI Workspace the Dataset is in.