aggregate columns #2954
Unanswered
vera-atomic
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Your expression does not work because the "editable" example does not set an
Note:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Thanks @texodus - appreciate your follow-up. Adding to this with an example use of your pivot. We're looking for the simplest way to add the Total (drawn in) for the rows on the far right. Would love any guidance on the simplest way to activate that. ![]() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to make sense of how I could use expressions to create a custom aggregate cumulative sum column for each of my split_by pivot columns.
I've seen the issue opened here: #2624
And I tried with an example from the library that doesn't have live data:
https://perspective.finos.org/block/?example=editable
This is the starting config object:
Then I tried adding the code you've suggested in issue #2624
But adapting it to this example
here's the config post setting up the new column:
But the new column is showing 0 everywhere instead of cumulative sum.
I would have expected the totals row, for first split by and new column 1 to show 5, then for second split by column and new column 1 to show 5 + 11 = 16 etc for subrows too
What am I doing wrong here please?
TIA!
Beta Was this translation helpful? Give feedback.
All reactions