Edit Semantic Model - Generates a DAX expression for a calculated column based on the provided prompt
Generates a DAX (Data Analysis Expressions) query based on the provided prompt, using Azure OpenAI's GPT model.
post
Authorizations
HTTPRequired
Please enter a valid token
Path parameters
workspaceIdstringRequired
datasetIdstringRequired
Query parameters
versionstringOptionalDefault:
The requested API version
1.0Header parameters
embedfast-user-idstringOptional
Optional User Id
Body
Represents the request to generate a DAX query from a user prompt.
inputPromptstring | nullableOptional
The user-provided prompt to generate the DAX query.
interactionTypestring | nullableOptional
The type of interaction or context for generating the query, such as 'generate' or 'validate'.
Responses
200
Success: The DAX query 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
/workspace/{workspaceId}/dataset/{datasetId}/columns/generateDaxPreviousEdit Semantic Model - Deletes a table from a Power BI dataset within a specific workspaceNextEdit Semantic Model - Adds a calculated column in a specified table within a Power BI dataset
Last updated