Score:0

how do i sum (and count ) a field across all nodes

cn flag

I have a decimal field on a content type. I want to sum the values of this field across all nodes of that content type and display them with the total count on a page.

I tried to do this with views using aggregation settings.

enter image description here

in this case i set them for the one field and left everything blank. I thought that would give me a sum of the fields but

what i get is a page with a bunch of values not a sum of all the values.

enter image description here

I have several fields i need to sum and display the results in a single page. Am i on the right track? how should i accomplish this ?

Thanks for your time GF

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.