The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Result window and pie chart - how to sum and group?
![puchatekkubus](https://us.v-cdn.net/6030995/uploads/defaultavatar/nCCNNSPK1YM69.jpg)
![](https://s3.amazonaws.com/rapidminer.community/vanilla-rank-images/learner-16x16.png )
Hi,
I'm new to RapidMiner. First thing I want to do is to obtain pie chart from simple dataset.
In MySQL table I have columns: client_id; turnover (several records for each client).
I add "Read Database" component, run the process, on the "chart" window I select "chart style" pie and if I choose "group-by column" klient_id it does not work (no data available).
What should I do to sum "turnover" column and group by "client_id"?
Thanks for help
0
Answers
Hi puchatekkubus,
welcome to the RapidMiner Community! Great to have you here![:) :)](https://rapidminer.vanillacommunities.com/resources/emoji/smile.png)
I recommend to use the Operator Aggregate right after Read Database. There you should Group by client_id and Aggregate the turnover as sum. Please be sure that your turnover Attribute is numerical!
Afterwards the settings for the Pie chart should be:
Hope this helps.
Best,
Edin
Thank you very much indeed for help!
It works :-)
However I do not get why Group-By is None.... should be client_id (looks like this parameter is never working).
Regards