measures Array|Object

The configuration of measures. A string array whose values are interpreted as the name of the measures that will be loaded. Measures can be defined as a list of objects with the name property holding the name.

[{ name: "[Measures].[_Internet Current Quarter Sales Performance Status]" }]

Example - set the measures

<div id="pivot"></div>

var dataSource = new{
  type: "xmla",
  measures: ["[Measures].[Reseller Freight Cost]"],
  transport: {
    connection: {
        catalog: "Adventure Works DW 2008R2",
        cube: "Adventure Works"
    read: ""

  dataSource: dataSource
In this article