Generate DAX - Updates a calculated table in a Power BI dataset within a specific workspace

Updates a calculated table in a Power BI dataset within a specific workspace.

post
Authorizations
Path parameters
workspaceIdstringRequired

Enter ID of the workspace for which the calculated table is updated.

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
currentTableNamestringRequired

The current name of the calculated table being updated

versionstringOptional

The requested API version

Default: 1.0
Body

Model for creating or updating calculated tables.

calculatedTableNamestringRequired

A public property of type string that specifies the name of the calculated table.

calculatedTableExpressionstringRequired

A public property of type string that contains the DAX expression for the calculated table.

Responses
200
Success: The calculated table was updated successfully.
application/json
post
POST /workspace/{workspaceId}/dataset/{datasetId}/updateCalculatedTable?currentTableName=text HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "calculatedTableName": "text",
  "calculatedTableExpression": "text"
}
{
  "message": "text"
}

Last updated