Edit Semantic Model - Updates a measure in a specified table within a Power BI dataset

Updates a measure in a specified table within a Power BI dataset.

put
Authorizations
Path parameters
workspaceIdstringRequired

Enter ID of the workspace for which the theme details are requested.

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
versionstringOptional

The requested API version

Default: 1.0
Header parameters
embedfast-user-idstringOptional

Optional User Id

Body

Represents a model for defining a measure in a Power BI dataset.

tableNamestring | nullableOptional

The name of the table in which the measure will be created.

measureExpressionstring | nullableOptional

The DAX expression that defines the measure.

measureNamestring | nullableOptional

The name of the measure to be created or updated.

Responses
200

Success: The measure was added or updated successfully.

No content

put
PUT /workspace/{workspaceId}/dataset/{datasetId}/measure HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "tableName": "text",
  "measureExpression": "text",
  "measureName": "text"
}

No content

Last updated