{
  "pivot": {
    "rows": [
      {
        "field": "support$id",
        "orderBy": [
          "-invoiceAmount"
        ],
        "limit": 2
      },
      "billingCountry"
    ],
    "columns": [
      "yearMonth"
    ],
    "metrics": [
      "invoiceAmount",
      "invoiceCount"
    ],
    "outputFormat": "flat",
    "options": {
      "rowSubtotals": true,
      "grandTotal": true
    }
  },
  "slice": [
    {
      "field": "invoiceDate",
      "op": "[)",
      "value": [
        "2012-10-01",
        "2012-12-01"
      ]
    }
  ]
}