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

Adds 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 added.

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
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 created successfully.
application/json
post
POST /workspace/{workspaceId}/dataset/{datasetId}/addTable HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 65

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

Last updated