react-virtualized-pivot icon indicating copy to clipboard operation
react-virtualized-pivot copied to clipboard

Multiple Measures?

Open zheath opened this issue 8 years ago • 4 comments

@turnerniles - any chance you have plans to support (or have talked with the quick-pivot team about) multiple measures? Aka, the ability to perform aggregation on more than one field?

zheath avatar Nov 05 '17 05:11 zheath

We had discussed it but weren't sure if it was worth the effort (if anyone would use it). @zheath Are you envisioning something like this? screen shot 2017-11-08 at 1 17 54 pm

pat310 avatar Nov 08 '17 21:11 pat310

@pat310 - yes, this is exactly correct.

zheath avatar Nov 08 '17 21:11 zheath

@turnerniles @zheath It seems essentially, each additional aggregator/measure gets appended as another pivot to the right of the previous aggregator/measure pivot. And then we would also need to have multiple column totals.

Looking at a PivotTable.js issue as a reference, other contributors, have implemented multiple measure support but it was never implemented in PivotTable.js because PivotTable.js wasn't designed to support multiple measures/aggregators.

It adds some complexity to the quick-pivot and from a react-virtualized-pivot perspective we will have to add the ability to add multiple aggregators.

turnerniles avatar Nov 10 '17 03:11 turnerniles

I'll open an issue for it in quick-pivot. I think it can be done backwards compatible so will be a "minor" version increase (an array can be provided in the aggregations parameter). I think we should slate it for after the column totals feature.

On Nov 9, 2017, at 19:33, Niles Turner [email protected] wrote:

@turnerniles @zheath It seems essentially, each additional aggregator/measure gets appended as another pivot to the right of the previous aggregator/measure pivot. And then we would also need to have multiple column totals.

Looking at a PivotTable.js issue as a reference, other contributors, have implemented multiple measure support but it was never implemented in PivotTable.js because PivotTable.js wasn't designed to support multiple measures/aggregators.

It adds some complexity to the quick-pivot and from a react-virtualized-pivot perspective we will have to add the ability to add multiple aggregators.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

pat310 avatar Nov 10 '17 04:11 pat310