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

Multiple Aggregator #684

Closed
SAMJN opened this issue Apr 12, 2017 · 15 comments
Closed

Multiple Aggregator #684

SAMJN opened this issue Apr 12, 2017 · 15 comments

Comments

@SAMJN
Copy link

SAMJN commented Apr 12, 2017

Hi nicolaskruchten, this issue is related to Multiple aggregator - displaying sum/ average/ mean.....
against to entries as we can do in MS-Excel. Now this issue has been reported in #30 and #73 . But still I wanted to ask if you plan to add multiple aggregator. i tried to change parameters in Sum Over Sum, as it takes different aggregators. But as currently aggregators return only single value and not an array, Multiple aggregator is not possible. Could you help me further

@nicolaskruchten
Copy link
Owner

Implementing multiple aggregators is a major UI challenge and I don't have the time at the moment to envision when it could be done. Basically, multiple aggregators are not on the roadmap for this project.

@SAMJN
Copy link
Author

SAMJN commented Apr 12, 2017

Could you guide me whether my thinking is right or not? I will have to make changes in PivotData functions, custom aggregator, custom renderer and some in PivotUI() and Pivot().
The changes done by others involves hard coded parameters(Vals, Cols, Rows), whereas I am passing dynamic parameters (when a user change the fields, chart should again render).

@nicolaskruchten
Copy link
Owner

nicolaskruchten commented Apr 12, 2017 via email

@SAMJN
Copy link
Author

SAMJN commented Apr 13, 2017

Thanks for the help. I will let you know if I touch a breakthrough.

@gzsombor
Copy link

@SAMJN : Have you been able to achieve success? I would like to have something similar ...

@SAMJN
Copy link
Author

SAMJN commented Jun 16, 2017

I tried changing function, but due to shortage of time, I didn't got any success. I am planning to work on it, and will post here as soon as I get any success.

@SAMJN
Copy link
Author

SAMJN commented Nov 21, 2017

Hi,

I have developed a solution to existing library for Multi-metric and support of Group total charts too. I will upload my solution by end of first week of December 17. Will create a new issue and mention link here too

@SAMJN
Copy link
Author

SAMJN commented Dec 29, 2017

Hi All,

PivotTableMultiMetric In the file pivot.js attached in this repository, you can refer for multiple metrics support of Pivot Table. Kindly start watching the repository, I will update the library with my work of heatmap and subtotals soon. Refer #846

@SuleymanS
Copy link

Nice job SAMJN. congratulations.

but I need my 3 total columns. Is this possible ?

@SAMJN
Copy link
Author

SAMJN commented Mar 8, 2018

Hi @SuleymanS , are you asking about creating separate total columns for separate metrics? I guess currently, I have provided one total column, displaying individual totals.

@pranjal-goswami
Copy link

Hi!
I have attempted to write a plugin for adding multiple aggregations on different fields and have published them here: https://github.com/pranjal-goswami/multifact-pivottable

Multifact-pivottable

Using this plugin you can :

  • Add multiple aggregations to the same pivottable: AVG(Column A), SUM(Column B)

  • Add derived aggregations :
    -- a = AVG(Column A)
    -- b = SUM(Column B)
    -- [c = b/a] as 'Success Score'

  • Hide an aggregate (in case you want to use the value in derived aggregate but not show it)

  • Hide an aggregate from row-totals section

  • Enhance rendering of aggregations using heatmap or barchart

  • Custom heatmap colors for each aggregation

A demo is available here: http://pranjalgoswami.in/multifact-pivottable/examples/

Will add detailed documentation if people find the plugin useful.

@abhikvnair
Copy link

Thank You............
It is absolutely wonderful plugin for PivotTable.js.
Please upload detailed documentation.

@abhikvnair
Copy link

While using locale error showing.Please update lib with example of locale

@prnshamahrjn
Copy link

Could there be multiple pvtTable within single initialization?

@BBBhatt
Copy link

BBBhatt commented Aug 11, 2021

just want to format numbers without decimal places..
what options should i Use with it?

-Thanks,
Bhavin.

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

8 participants