- Notifications
You must be signed in to change notification settings - Fork68
Open
Description
Is it possible to show aggregated numbers when you have two values in rows. e.g. if the rows have occupation (Doctor, Engineer) and Person Name, can I get total number of people in each occupation. Right now with reducer impl of reducer: (sum, item) => sum + 1, it displays like
| blank header | blank header | blank header |
|---|---|---|
| John Doe | 1 | |
| Engineer | John Smith | 1 |
| Mike Smith | 1 | |
| Doctor | John Paul | 1 |
| Mike Paul | 1 |
But I want to also display total number for Engineer - 3 and and Doctor - 2