Generate DAX - Deletes a measure from a specified table within a Power BI dataset
Authorizations
Path parameters
workspaceIdstringRequired
Enter ID of the workspace for which the measure is deleted.
datasetIdstringRequired
Enter ID of an existing dataset
Query parameters
versionstringOptionalDefault:
The requested API version
1.0
Body
Model for deleting measures.
tableNamestringRequired
A public property of type string that specifies the table containing the measure to delete.
measureNamestringRequired
A public property of type string that specifies the name of the measure to delete.
Responses
200
Success: The measure was deleted successfully.
application/json
400
Bad Request: The server cannot process the request due to a client error, such as invalid table/measure details.
401
Unauthorized: The request lacks valid authentication credentials for the target resource.
404
Not Found: The specified table or measure was not found in the dataset.
500
Internal Server Error: An unexpected server error occurred while processing the request.
delete
DELETE /workspace/{workspaceId}/dataset/{datasetId}/deleteMeasure HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"tableName": "text",
"measureName": "text"
}
{
"message": "text"
}
PreviousGenerate DAX - Updates a measure in a specified table within a Power BI datasetNextGenerate DAX - Generates a DAX expression for a calculated table based on the provided prompt
Last updated