implydata / plywood

A toolkit for querying and interacting with Big Data

Home Page:https://plywood.imply.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create multiline graph with expression in Pivot config.yaml

satanworker opened this issue · comments

Hello!

I really need to understand if its possible to aggregate few measures into one multiline graph by expression in config.yaml of my Pivot? it appears to be Plywood expression so writing question here.

So I have those 2 dimensions, like "dimension1" and "dimension2", and I need something like:
- name: combine
title: Combine
formula: [$main.sum($dimension1), $main.sum($dimension2)]

Thanks in advance!

An aggregate (such as sum) in plywood returns a single number. As for how plywood is used in Pivot: that is outside of the scope of this issue. See implydata/pivot#322