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     What is FOCUS equivalent to Sum(x.columnname) in SQL? where x is a table name.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
What is FOCUS equivalent to Sum(x.columnname) in SQL? where x is a table name.
 Login/Join
 
Silver Member
posted
Hi Everyone,

I am trying to create a business view on a cluster synonym, I need to create a column for this business view which is equal to this piece of sql "sum(x.columnname)".i.e sum of a column. I am not sure how to do it in a define or a compute. I am using Data management console for this work.

Regards
Krishna

This message has been edited. Last edited by: Leela Krishna,


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: January 07, 2016Report This Post
Gold member
posted Hide Post
A define is performed on each record as it is input to the TABLE request.

The compute is performed after the TABLE request processes the selection criteria and any sorting, you can do a compute without sorting; the computed field is part of the output of the TABLE request, a defined field is only present in the output if included in the SUM/PRINT/WRITE variable list.

what is your final objective. Are you trying to sum the columnname and use it in the datamigrator data flow or going to use it in a report creation?


WebFOCUS 8
Windows, All Outputs
 
Posts: 71 | Registered: January 23, 2018Report This Post
Silver Member
posted Hide Post
Hi Vinodh,

Yes, I want to sum the column and use it as a new column in a business view for report creation.


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: January 07, 2016Report 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     What is FOCUS equivalent to Sum(x.columnname) in SQL? where x is a table name.

Copyright © 1996-2020 Information Builders