finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.72k stars 1.04k forks source link

Support Split Over #2638

Closed brettsaunders21 closed 2 weeks ago

brettsaunders21 commented 2 weeks ago

Feature Request

Description of Problem:

Currently it isn't possible to render a table like this

image

Potential Solutions:

If the inital data was:

image

You could add a split over property to support this. For example:

{
"by": [
            "date"
          ],
          "over": [
            "rev",
            "pro"
          ],
}
timkpaine commented 2 weeks ago

We support split_by, in your example it would be split_by: ['date']. This will split the dataset out, i don't think partially splitting the dataset into only certain columns is planned, but I'm almost certain one could do this with expressions