Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] count the data

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] count the data
 Login/Join
 
Member
posted
hi have a prob

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 data

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.1.6
Windows
Excel
 
Posts: 14 | Registered: January 28, 2010Report This Post
<JG>
posted
I've either missed something completely or you really must get some absolutely basic training.
 
Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Member
posted Hide Post
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
 
Posts: 14 | Registered: January 28, 2010Report This Post
Virtuoso
posted Hide Post
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

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<JG>
posted
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.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] count the data

Copyright © 1996-2020 Information Builders