Datasets
Operations
| Bind To Gateway |
Binds the specified dataset from My workspace to the specified gateway, optionally with a given set of data source IDs. If you don’t supply a specific data source ID, the dataset will be bound to the first matching data source in the gateway. Important Add the API caller principal as a data source user on the gateway. Required scopeDataset.ReadWrite.All LimitationsOnly supports the on-premises data gateway |
| Bind To Gateway In Group |
Binds the specified dataset from the specified workspace to the specified gateway, optionally with a given set of data source IDs. If you don’t supply a specific data source ID, the dataset will be bound to the first matching data source in the gateway. Important Add the API caller principal as a data source user on the gateway. Required scopeDataset.ReadWrite.All LimitationsOnly supports the on-premises data gateway |
| Delete Dataset |
Deletes the specified dataset from My workspace. Required scopeDataset.ReadWrite.All |
| Delete Dataset In Group |
Deletes the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All |
| Discover Gateways |
Returns a list of gateways that the specified dataset from My workspace can be bound to. This API call is only relevant to datasets that have at least one on-premises connection. For datasets with cloud-only connections, this API call returns an empty list. Required scopeDataset.Read.All |
| Discover Gateways In Group |
Returns a list of gateways that the specified dataset from the specified workspace can be bound to. This API call is only relevant to datasets that have at least one on-premises connection. For datasets with cloud-only connections, this API call returns an empty list. Required scopeDataset.Read.All |
| Execute Queries |
Executes Data Analysis Expressions (DAX) queries against the provided dataset (Preview). The dataset must reside in My workspace or another new workspace experience workspace. DAX query errors will result in:
A query that requests more than one table, or more than 100,000 table rows, will result in:
Columns that are fully qualified in the query will be returned with a fully qualified name, for example, PermissionsThe user must have Manage dataset access permissions. Required scopeDataset.ReadWrite.All or Dataset.Read.All Limitations
|
| Get Dataset |
Returns the specified dataset from My workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Dataset In Group |
Returns the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Datasets |
Returns a list of datasets from My workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Datasets In Group |
Returns a list of datasets from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Dataset To Dataflows Links In Group |
Returns a list of upstream dataflows for datasets from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Datasources |
Returns a list of data sources for the specified dataset from My workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Datasources In Group |
Returns a list of data sources for the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Direct Query Refresh Schedule |
Returns the refresh schedule for a specified DirectQuery or LiveConnection dataset from My workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Direct Query Refresh Schedule In Group |
Returns the refresh schedule for a specified DirectQuery or LiveConnection dataset from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Gateway Datasources |
Returns a list of gateway data sources for the specified dataset from My workspace. Important This API is deprecated, use Get Datasources instead. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Gateway Datasources In Group |
Returns a list of gateway data sources for the specified dataset from the specified workspace. Important This API is deprecated, use Get Datasources In Group instead. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Parameters |
Returns a list of parameters for the specified dataset from My workspace. Required scopeDataset.ReadWrite.All LimitationsDatasets with SQL, Oracle, Teradata, and SAP HANA DirectQuery connections aren't supported. |
| Get Parameters In Group |
Returns a list of parameters for the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All LimitationsDatasets with SQL, Oracle, Teradata, and SAP HANA DirectQuery connections aren't supported. |
| Get Refresh History |
Returns the refresh history for the specified dataset from My workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All LimitationsOneDrive refresh history isn't returned. |
| Get Refresh History In Group |
Returns the refresh history for the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All LimitationsOneDrive refresh history isn't returned. |
| Get Refresh Schedule |
Returns the refresh schedule for the specified dataset from My workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Get Refresh Schedule In Group |
Returns the refresh schedule for the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All or Dataset.Read.All |
| Post Dataset User |
Grants the specified user the specified permissions to the specified dataset from My workspace. When user permissions to a dataset have been recently updated, the new permissions might not be immediately available through API calls. To refresh user permissions, use the Refresh User Permissions API call. Required scopeDataset.ReadWrite.All Limitations
|
| Post Dataset User In Group |
Grants the specified user the specified permissions to the specified dataset. When user permissions to a dataset have been recently updated, the new permissions might not be immediately available through API calls. To refresh user permissions, use the Refresh User Permissions API call. Required scopeDataset.ReadWrite.All Limitations
|
| Refresh Dataset |
Triggers a refresh for the specified dataset from My workspace. Required scopeDataset.ReadWrite.All Limitations
|
| Refresh Dataset In Group |
Triggers a refresh for the specified dataset from the specified workspace. Required scopeDataset.ReadWrite.All Limitations
|
| Set All Dataset Connections |
Updates all connections for the specified dataset from My workspace. This API only supports SQL DirectQuery datasets. Important This API call is deprecated and no longer supported. This API call isn't compatible with enhanced dataset metadata. Instead use:
Required scopeDataset.ReadWrite.All |
| Set All Dataset Connections In Group |
Updates all connections for the specified dataset from the specified workspace. This API only supports SQL DirectQuery datasets. Important This API call is deprecated and no longer supported. This API call isn't compatible with enhanced dataset metadata. Instead use:
Required scopeDataset.ReadWrite.All LimitationsSupports SQL DirectQuery datasets. |
| Take Over In Group |
Transfers ownership over the specified dataset to the current authorized user. Required scopeDataset.ReadWrite.All |
| Update Datasources |
Updates the data sources of the specified dataset from My workspace. Note We recommend using enhanced dataset metadata with this API call. Important
PermissionsThe user must be the dataset owner. Limitations
Required scopeDataset.ReadWrite.All |
| Update Datasources In Group |
Updates the data sources of the specified dataset from the specified workspace. Note We recommend using enhanced dataset metadata with this API call. Important
PermissionsThe user must be the dataset owner. Limitations
Required scopeDataset.ReadWrite.All |
| Update Direct Query Refresh Schedule |
Updates the refresh schedule for a specified DirectQuery or LiveConnection dataset from My workspace. A request should contain either a set of days and times or a valid frequency, but not both. If you choose a set of days without specifying any times, then Power BI will use a default single time per day. Setting the frequency will automatically overwrite the days and times setting. PermissionsThe user must be the dataset owner. Required scopeDataset.ReadWrite.All |
| Update Direct Query Refresh Schedule In Group |
Updates the refresh schedule for a specified DirectQuery or LiveConnection dataset from the specified workspace. A request should contain either a set of days and times or a valid frequency, but not both. If you choose a set of days without specifying any times, then Power BI will use a default single time per day. Setting the frequency will automatically overwrite the days and times setting. PermissionsThe user must be the dataset owner. Required scopeDataset.ReadWrite.All |
| Update Parameters |
Updates the parameters values for the specified dataset from My workspace. Note We recommend using enhanced dataset metadata with this API call. Important
PermissionsThe user must be the dataset owner. Required scopeDataset.ReadWrite.All Limitations
|
| Update Parameters In Group |
Updates the parameters values for the specified dataset from the specified workspace. Note We recommend using enhanced dataset metadata with this API call. Important
PermissionsThe user must be the dataset owner. Required scopeDataset.ReadWrite.All Limitations
|
| Update Refresh Schedule |
Updates the refresh schedule for the specified dataset from My workspace. A request that disables the refresh schedule should contain no other changes. At least one day must be specified. If no times are specified, then Power BI will use a default single time per day. PermissionsThe user must be the dataset owner. Required scopeDataset.ReadWrite.All LimitationsThe limit on the number of time slots per day depends on whether a Premium or Shared capacity is used. |
| Update Refresh Schedule In Group |
Updates the refresh schedule for the specified dataset from the specified workspace. A request that disables the refresh schedule should contain no other changes. At least one day must be specified. If no times are specified, then Power BI will use a default single time per day. PermissionsThe user must be the dataset owner. Required scopeDataset.ReadWrite.All LimitationsThe limit on the number of time slots per day depends on whether a Premium or Shared capacity is used. |