Edit Semantic Model - Adds a measure in a specified table within a Power BI dataset
Enter ID of the workspace for which the theme details are requested.
Enter ID of an existing dataset
The requested API version
1.0
Optional User Id
Represents a model for defining a measure in a Power BI dataset.
The name of the table in which the measure will be created.
The DAX expression that defines the measure.
The name of the measure to be created or updated.
Success: The measure was added or updated successfully.
No content
Bad Request: The server cannot process the request due to a client error, such as malformed syntax or invalid table/measure details.
Unauthorized: The request lacks valid authentication credentials for the target resource.
Internal Server Error: An unexpected server error occurred while processing the request.
POST /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