Closed (fixed)
Project:
Views Calc
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2006 at 13:04 UTC
Updated:
28 Feb 2008 at 20:12 UTC
Hi, well done and great job really.
The module is sort of a great addition to views IMHO.
The thing I would like to see soon in views_clac:
More calculation types: difference? product? Or a more generic way to specify calculations.
Also I would like to see a feature to specify the oprtation name, i.e. sometimes I want to show the user an average of some fields and let's say calle them Volume Weighted Average Price (in stock market) or Total order price (in a order list page).
Thanks.
Comments
Comment #1
goose2000 commentedYes, adding more of our own calculations would be great. Is there a way to do that now?
Say I wanted to convert work hours submitted into days. How could I add the math
to divide hours by 8 (8 hours being a working day ) ?
It is a great, trouble free module to start using - thanks !
John A
Comment #2
karens commentedNew features will only go against 5.x and up. the 4.7 version is bug-fix only.
What calculations would be desired? I'm assuming that the column calculations are sufficient (and I don't know what you could do for those other than SUM, COUNT, or AVERAGE), it's the row calculations that could be more flexible.
Comment #3
karens commentedOne way to do this would be to implement http://drupal.org/node/128788 where you create a custom computed field that has the calculations you want, then use that field in the view. I'm not sure if it would work or if it would solve the issue, but that's one direction to take this.
Comment #4
karens commentedChanging the name to better describe this. I just committed some code to the development branch which allows you to create custom Views fields with little SQL snippets to do calculations, like (%MyField1 + %MyField2) or (%MyField1 / 100).
The code is in the development branch until it get some testing.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.