This views style plugin displays the results of a view as a crosstab (also commonly called a pivot table) - grouping rows by one field, columns by another, and using an aggregate function (count, sum etc) of a third field for the table data.
For example, this module will take a table view with linear output like:
User |
Content Type |
Node ID |
Anita |
Blog |
1 |
Anita |
Page |
3 |
Barak |
Page |
5 |
Jamila |
Blog |
2 |
Jamila |
Blog |
4 |
Jamila |
Page |
6 |
And turn it into a crosstab that counts the number of each type of content for each author:
User |
Blog |
Page |
Total |
Anita |
1 |
1 |
2 |
Barak |
|
1 |
1 |
Jamila |
2 |
1 |
3 |
A default view "content type count by user" that does just this is included with this module.
Security note: A security vulnerability was discovered and has been fixed. Users of previous versions are strongly advised to update to version 6.x-1.0-alpha2 or higher, 7.x-1.0-alpha1 or higher, or a dev release dated on or after November 14, 2013.