Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sum of computed fields (Infomaker 8)

110 views
Skip to first unread message

bert

unread,
Jun 23, 2004, 9:00:48 AM6/23/04
to
I have 3 different computed fields (each is a sum for a
group). now I want to sum up this 3 fields with another
computed field, but it doesn´t work. why?
thx
bert

Matthew Miller

unread,
Jun 23, 2004, 9:56:18 AM6/23/04
to
have you named each of the computed fields?
<bert> wrote in message news:40d97f00.324...@sybase.com...

Matthew Miller

unread,
Jun 23, 2004, 9:57:16 AM6/23/04
to
I asked that becuase I recall having problems selecting computed fields and
then trying to summ them by clicking the sum() object via the toolbar. But,
if you name the computed fields you can add a computed field and reference
the names in your sum expression, thus accomplishing the same thing, except
with a little more work on your end.

<bert> wrote in message news:40d97f00.324...@sybase.com...

bert

unread,
Jun 23, 2004, 10:45:36 AM6/23/04
to
Hi,
I named the computed fields in group1: computeSumNameA,
computeSumNameB, computeSumNameB
and now I want do sum them up in group2 ("higher level")
with the compute expression:
(computeSumNameA + computeSumNameB + computeSumNameC)

But the result in the report is only the value of
computeSumNameA

orshoham

unread,
Jun 23, 2004, 1:22:15 PM6/23/04
to
As a rule of thumb, IM does a bad job of dealing with
multiple aggregations (computed fields on computed fields,
in this case). The best solution is simply not to use them -
instead of using Compute1 + Compute2 + Compute3, use:
Sum(X for group 3) + Sum(Y for group 3) + Sum(Z for group 3)
- or whatever other formulas you used for the original
computed fields. This is somewhat bulky, but it works.
Alternatively, any report-level action such as sorting,
filtering, etc. should fix the problem (sometimes you'll
have to repeat that action two or three times to get the
desired result), but this tends to be impractical.
Or

haiderali

unread,
Jun 25, 2004, 5:59:45 AM6/25/04
to
Hi bert,
Although I am new to Infomaker, I would suggest try this.
Select another cumputed field add the follwoing code in the
compute expression window.
compute_field1 + compute_field2 + compute_field3
press on verify to verify your code and then press ok.
In this way you can add as many computed fields as you can.
Hopefully it will be helpfull for you :)
Haider

woomich...@gmail.com

unread,
Dec 3, 2014, 10:40:26 AM12/3/14
to
I am new as well for infomaker, and add a new column to select query, and how to add this new co,umn to a group .. I checked in Row->edit group, there are two grouped. But allwayys get an ero for group all.. any advice..
0 new messages