← proof sheet

11 fused-month-revenue-aov

PR #153 9fdf8d3718

Viz
{
  "mark": "line",
  "x": [
    {
      "kind": "dimension",
      "ref": {
        "dimension": "date",
        "transforms": [
          {
            "name": "datetrunc",
            "args": [
              "month"
            ]
          }
        ]
      }
    }
  ],
  "y": [
    {
      "kind": "metrics",
      "of": [
        {
          "kind": "metric",
          "metric": "revenue"
        },
        {
          "kind": "metric",
          "metric": "aov"
        }
      ]
    }
  ],
  "color": {
    "kind": "metrics"
  }
}
Query
{
  "steps": [
    {
      "kind": "select",
      "metric": "revenue",
      "transform": null,
      "within": [],
      "along": null,
      "alias": null
    },
    {
      "kind": "select",
      "metric": "aov",
      "transform": null,
      "within": [],
      "along": null,
      "alias": null
    }
  ],
  "by": [
    {
      "ref": {
        "dimension": "date",
        "transforms": [
          {
            "name": "datetrunc",
            "args": [
              "month"
            ]
          }
        ]
      },
      "alias": null
    }
  ],
  "slice": [],
  "order_by": [
    {
      "ref": "date__datetrunc_month",
      "direction": "asc"
    }
  ],
  "limit": null
}