Edit Semantic Model - Adds a calculated table in a Power BI dataset within a specific workspace
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
versionstringOptionalDefault:
The requested API version
1.0
Header parameters
embedfast-user-idstringOptional
Optional User Id
Body
Model for creating or updating calculated tables.
calculatedTableNamestringRequired
A public property of type string that specifies the name of the calculated table.
daxExpressionstringRequired
A public property of type string that contains the DAX expression for the calculated table.
descriptionstring | nullableOptional
A public property of type string that contains a description of the calculated table.
Responses
200
Success: The calculated table was created or updated successfully.
400
Bad Request: The server cannot process the request due to a client error, such as malformed syntax or invalid data.
401
Unauthorized: The request lacks valid authentication credentials for the target resource.
500
Internal Server Error: An unexpected server error occurred while processing the request.
post
POST /workspace/{workspaceId}/dataset/{datasetId}/table HTTP/1.1
Host: admin-embedfastdev-app.azurewebsites.net
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"calculatedTableName": "text",
"daxExpression": "text",
"description": "text"
}
No content
PreviousEdit Semantic Model - Generates a DAX expression for a calculated table based on the provided promptNextEdit Semantic Model - Updates a calculated table in a Power BI dataset within a specific workspace
Last updated