POST api/Asset/ExecuteDaxQuery

Execute a dax query

Request Information

URI Parameters

None.

Body Parameters

List of query parameters

PBIExecuteDaxQueryRequest
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

ImpersonatedUser

string

None.

Request

Collection of PBIDaxQueryRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "03678e9d-165c-44de-9452-fae13bb6bbf3",
  "ImpersonatedUser": "sample string 2",
  "Request": [
    {
      "Slicer": "sample string 1",
      "Table": "sample string 2",
      "Column": "sample string 3"
    },
    {
      "Slicer": "sample string 1",
      "Table": "sample string 2",
      "Column": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<PBIExecuteDaxQueryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.PowerBi">
  <AssetId>03678e9d-165c-44de-9452-fae13bb6bbf3</AssetId>
  <ImpersonatedUser>sample string 2</ImpersonatedUser>
  <Request>
    <PBIDaxQueryRequest>
      <Column>sample string 3</Column>
      <Slicer>sample string 1</Slicer>
      <Table>sample string 2</Table>
    </PBIDaxQueryRequest>
    <PBIDaxQueryRequest>
      <Column>sample string 3</Column>
      <Slicer>sample string 1</Slicer>
      <Table>sample string 2</Table>
    </PBIDaxQueryRequest>
  </Request>
</PBIExecuteDaxQueryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.