Refresh Power BI Dataset
Trigger Power BI Dataset Refresh.
To use this activity within the API, use an ActivityCode of REFRESH-PBI-DATASET.
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.
{
"WorkspaceId": "46a09b01-dad9-4b3f-b930-4fb1a3a936a0",
"DatasetName": "My Dataset"
}
Variable Reference
The following variables are supported:
-
DatasetName- (Required) Name of the Power BI Dataset to refresh. -
TargetConnection- (Optional) Target Connection to use -
WorkspaceName- (Required) Name of the Power BI Workspace the Dataset is in. -
WorkspaceId- (Optional) Id of the Power BI Workspace the Dataset is in. In most cases, use Workspace Name instead. -
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. -
IsFederated- (Optional) Makes task available to other Insight Factories within this organisation. -
Links- (Optional) NULL