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.
The average will be an average SCORE for each person or field FULLNAME. The original data as a score as a separate record for each person. So, I created this across query, I think with your help, thanks by the way. Now the score for each person goes across which we want. However, I want to add a final column "Avg Score" at the end. The ROW-Total function sums the data across. I use the Studio Developer 7.6.1. Is there an option that I can make the ROW-TOTAL Avgerage the score instead of sum? Thanks, Joe
short answer: nope long answer: double verbs several ways to do this, here's one:
TABLE FILE VER2 SUM AVE.SCORE NOPRINT BY MARKET_TEAM BY FULLNAME SUM SCORE BY MARKET_TEAM BY FULLNAME ACROSS LNUM COMPUTE TOT/D12=C1;
END -RUN here it is on the car file; remember the average will be whacky b/c we're not averaging at the granular level. but you'll do that, right? "C1" is a column reference, it refers to the first column of data, not the first column of BY fields, but the first column of data. In this case its AVE.SALES which we have cleverly NOPRINTed...
TABLE FILE CAR SUM AVE.SALES NOPRINT BY COUNTRY SUM SALES BY COUNTRY ACROSS CAR COMPUTE TOT/D8=C1; END
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Thanks Sue. This seemed to work. The data are stickly scores for an individual. A person can have up to six scores. I'm not weighting these scores just simple average. I check some of the avg and they seemed to match. Would this be safe to use? Thanks, Joe
yes joe safe to use, as long as you are calculating the averages from source data that exists at the appropriate granularity. if you're reading a flat file, and if there is 1 record per MARKET, NAME, LINENUM, then you're good to go. -s.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003