Generate DAX - Generates a DAX expression for a calculated column based on the provided prompt

Generates a DAX expression for a calculated column based on the provided prompt.

post
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
versionstringOptional

The requested API version

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

Last updated