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

Model for creating or updating measures.

tableNamestringRequired

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

measureNamestringRequired

A public property of type string that specifies the name of the measure.

measureExpressionstringOptional

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

Responses
200
Success: The measure was added or updated successfully.
put
PUT /workspace/{workspaceId}/dataset/{datasetId}/measure HTTP/1.1
Host: admin-embedfastdev-app.azurewebsites.net
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 68

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

No content

Last updated