Edit Semantic Model - Executes a DAX query against a specified Power BI dataset

Executes a DAX query against a specified Power BI dataset.

post
Authorizations
HTTPRequired

Please enter a valid token

Path parameters
workspaceIdstringRequired

Enter ID of the workspace for which the theme details are requested.

datasetIdstringRequired

Enter ID of an existing dataset

Query parameters
versionstringOptional

The requested API version

Default: 1.0
Header parameters
embedfast-user-idstringOptional

Optional User Id

Body

Represents the request to execute a DAX query against a Power BI dataset.

daxQuerystring · nullableOptional

The DAX query to be executed.

interactionTypestring · nullableOptional

The type of interaction (e.g., "validate").

objectNamestring · nullableOptional

The name of the object being validated.

userPromptstring · nullableOptional

The user prompt associated with the query.

tableNamestring · nullableOptional

The table name associated with the query.

objectTypestring · nullableOptional

The type of object (e.g., "measure", "column", "table").

Responses
chevron-right
200

Success: The DAX query was executed successfully, and the result is returned.

Represents the response of a DAX execution operation.

successbooleanOptional

Indicates whether the execution operation was successful.

messagestring · nullableOptional

A message providing additional details or error information about the execution result.

resultstring · nullableOptional

The result or output of the executed DAX query.

post
/workspace/{workspaceId}/dataset/{datasetId}/executeDax

Last updated