Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

I need help with the following


Reply

4 Posts   640 Views

Avatar
Lolaso

3 November 2009 at 7:53am (Last edited: 3 November 2009 8:49am), Community Member, 2 Posts

Hello, forgive my basic English

I need to do this

.-Sum column values

.-Show result

In the pictures you can understand more.

Any help is appreciated.

http://www.pastie.org/680395

http://img407.imageshack.us/img407/7624/duda2.jpg

http://img2.imageshack.us/img2/438/duda4.jpg

Attached Files
Avatar
dalesaurus

3 November 2009 at 5:24pm (Last edited: 3 November 2009 5:26pm), Community Member, 283 Posts

The short answer is that it will not very straight forward. Why do you want to get a count of those items?

Avatar
Lolaso

4 November 2009 at 8:45am Community Member, 2 Posts

I need a function that calculates the amount of units per year

Avatar
dalesaurus

5 November 2009 at 6:30pm Community Member, 283 Posts

Perhaps you should try using SSReport with a tablefield

http://doc.silverstripe.org/doku.php?id=tablefield