whene im trying to count my data im getting the row count
for exmp: i have 3 row
row 1 eq to 20 row 2 eq to 10 row 3 eq to 1
my resaolt is 3 becuse i have 3 row and i want the resault to be 31 that is the sum of the dataThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.1.6 Windows Excel
March 01, 2010, 06:36 AM
<JG>
I've either missed something completely or you really must get some absolutely basic training.
March 01, 2010, 06:38 AM
Dan Satchell
If you simply want a sum:
SUM <column name>
If you want counts and sums:
SUM CNT.<column name>
or
COUNT SUM.<column name>
WebFOCUS 7.7.05
March 01, 2010, 06:50 AM
shmulik
WHEN I DO SUM I GET THE RESAULT OF HOW MANY ROW I HAVE
BUT WHAT I NEED IS TO COUNT THE DATA INSIDE THE ROW
WebFOCUS 7.1.6 Windows Excel
March 01, 2010, 07:28 AM
FrankDutch
would you be so kind to post the code of your fex
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
March 01, 2010, 07:34 AM
<JG>
You are very unclear about what you are trying to do.
As Dan said if you do SUM column name against a data source it will give you a sum of the data values if the column is numeric. If the column is alpha it will give you the last value.
COUNT or CNT. will give you a count of the column based on any sort you have.
My suspicion however is that you are trying to count the elements of an array which is a totally different thing.
An example of your data and the associated master might shed more light on what you are actually trying to do.