2
votes

In my user profile I have some INT fields which represent quantity that the members will order on next delivery.

Using views I can create a nice looking table, but I also want to sum up these fields so that I can see the total amount of the product that I need to deliver that month.

I have been told that views will not accomplish this, so how would a drupal expert approach the issue?

2
It depends...are your fields attached to the user entity itself or to a profile using the profile2 module?Clive
user entity, not using a plugin only drupal coreMatt Welander

2 Answers

1
votes

The Views Calc module does just what you're looking for, but it doesn't yet have a recommended release for Drupal 7. Still, it might be worth trying the 7.x-1.x-dev release, just in case.

0
votes

you can use views custom fields, add this field at last int he views. You can write php cpde over here and you get all the fields that you previously added in this view over here.

Drupal 7 has views_php in replacement to views_customfield in drupal6.

Hope this helps!!