Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An examples of working out averages on columns #411

Open
adamgins opened this issue Aug 29, 2022 · 0 comments
Open

An examples of working out averages on columns #411

adamgins opened this issue Aug 29, 2022 · 0 comments

Comments

@adamgins
Copy link

HI, is there anyway to do this out of of the box, please?

Let's say we have a the following data as a set of rows:

[
{ Jan:1, Feb:2, Mar:3, Apr: 4, May: 5},
{ Jan:2, Feb:4, Mar:4, Apr: 9, May: 5},]

We'd like to work out the avegrate on the "columns" eg field "Jan", avg = 1 + 2/2 = 1.5

Is there a way to do this. I see "average" but not sure if there's a way to split into columns and store temporarily without writing a customer JS help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant