Generate DAX - Deletes a measure from a specified table within a Power BI dataset

Deletes a measure from a specified table within a Power BI dataset.

delete
Authorizations
Path parameters
workspaceIdstringRequired

Enter ID of the workspace for which the measure is deleted.

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
versionstringOptional

The requested API version

Default: 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
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"
}

Last updated