Generate DAX - Generates a DAX expression for a calculated column based on the provided prompt
Authorizations
Path parameters
workspaceIdstringRequired
Enter ID of the workspace for which the calculated column expression is generated.
datasetIdstringRequired
Enter ID of an existing dataset
Query parameters
versionstringOptionalDefault:
The requested API version
1.0
Body
Response model for DAX generation operations.
successbooleanOptional
A public property of type boolean that indicates whether the operation was successful.
messagestring | nullableOptional
A public property of type string that contains a message about the result of the operation.
daxQuerystring | nullableOptional
A public property of type string that contains the generated DAX query.
recommendationsstring | nullableOptional
A public property of type string that contains the recommendations.
Responses
200
Success: The calculated column DAX expression was successfully generated based on the provided prompt.
400
Bad Request: The server cannot process the request due to client errors, such as malformed syntax or invalid input.
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}/generateColumnDax HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"success": true,
"message": "text",
"daxQuery": "text",
"recommendations": "text"
}
{
"success": true,
"message": "text",
"daxQuery": "text"
}
PreviousGenerate DAX - Deletes a table from a Power BI dataset within a specific workspaceNextGenerate DAX - Adds a calculated column in a specified table within a Power BI dataset
Last updated