Skip to content

Instantly share code, notes, and snippets.

@Lahannin
Last active February 22, 2022 17:10
Show Gist options
  • Save Lahannin/537fc7f8ef2ae8d9dd4255622583e0cf to your computer and use it in GitHub Desktop.
Save Lahannin/537fc7f8ef2ae8d9dd4255622583e0cf to your computer and use it in GitHub Desktop.
{
"data": {
"attributes": {
"title": "Total Sales by Year",
"description": "Total Sales by Year",
"content": {
"buckets": [
{
"items": [
{
"measure": {
"localIdentifier": "33f6054078b74dc8912e524f8911d1cc",
"definition": {
"measureDefinition": {
"item": {
"identifier": {
"id": "total_sales",
"type": "metric"
}
},
"filters": []
}
},
"title": "Total Sales"
}
}
],
"localIdentifier": "measures"
},
{
"items": [
{
"attribute": {
"localIdentifier": "ceba9c56516b468ba157e77e6cb6d3a3",
"displayForm": {
"identifier": {
"id": "date.year",
"type": "label"
}
},
"alias": "Year"
}
}
],
"localIdentifier": "view"
}
],
"filters": [],
"sorts": [],
"properties": {},
"visualizationUrl": "local:column",
"version": "2"
}
},
"id": "total_sales_by_year",
"type": "visualizationObject"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment