Generate DAX - Updates a calculated column in a specified table within a Power BI dataset

Updates a calculated column in a specified table within a Power BI dataset.

post
Authorizations
Path parameters
workspaceIdstringRequired

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

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
currentColumnNamestringRequired

The current name of the calculated column being updated

versionstringOptional

The requested API version

Default: 1.0
Body

Model for creating or updating calculated columns.

tableNamestringRequired

A public property of type string that specifies the table where the calculated column will be created.

calculatedColumnNamestringRequired

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

calculatedColumnExpressionstringRequired

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

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

{
  "tableName": "text",
  "calculatedColumnName": "text",
  "calculatedColumnExpression": "text"
}
{
  "message": "text"
}

Last updated