Views Calc
Last modified: March 29, 2009 - 06:00
Turn a normal table like:

into this:

Instructions:
- Create a view and add fields to it as you normally would. Start by creating a normal table and make sure that works as you expect.
- Change the style type from 'table' to 'Views Calc table'.
- In the Views Calc table settings, mark which fields need calculations.


- Save the view.

Field...
What may I do to have fields like the examples:
Content: Date
Content: Rank
etc.
I've tried to add a kind of field "content" but i didn't find it ¿?
It may be obvious but i don't know how to do it.
Show details
I assume by content you mean the body of the post...
The style options include the tick box "show details"
Totals by group
How do we create sub-totals by group
Lets say we have a table showing: school; number of volunteers
This is grouped by 'programme'
How do I get a sub-total for each programme - at the moment it just repeats the totals at the end of each group?
Great Question...
Wondering the same thing ..
Looking into going about an approach here: admin/settings/views_calc
Any progress on your end mylesorme? (or anyone else?)
warning: Invalid argument supplied for foreach()
Hi I have a table with several fields and grouping option. When I switch to Views Calc Table I get:
warning: Invalid argument supplied for foreach() in .....sites/all/modules/views_calc/theme.inc on line 178.Is there any patch for this?
Thanks,
K.
Similar - seems specific to Date fields
Hi there.
I seem to get a similar error - when using a Date field. (might be Date-specific ?)
Echo that
I get the same error. I think I had enabled a relationship in one view and later took it out but the error remains.
Same thing for me...
"warning: Invalid argument supplied for foreach()"…
Is it working with computed fields?
foreach() error
it went away for me once I created a calculated field in the view