Skip to content
Advertisement

Charting the data from database and merging row with the same value

I want to create chart that read the category column in my database.. I have repeating category because its general term and i notice this.

I have many “short” slice:

..

I dont have any idea how to merge the category with the same name and add its value..

Here’s my code

Advertisement

Answer

Use aggregation.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement