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.
I’m creating a skill report and need report on who has certain skills from each team. What I did was create an across type query report through Focus and did a count on the reps to mark who had what skill. When you do a count, you receive a number ‘1’ for the data. I would like to replace this ‘1’ with an ‘X’ instead. Is there a way to set data = ‘x’. I’m new with FOCUS.
You can do this, you just have to interpret the value that will be displayed upon your report and modify it. Try the following code which uses the CAR file -
TABLE FILE CAR
SUM CNT.MODEL NOPRINT
COMPUTE MARK_IT/A1 MISSING ON = IF CNT.MODEL GE 1 THEN 'X' ELSE MISSING;
BY CAR
ACROSS COUNTRY
END
In this code I am listing all Car values across Country. I include a CNT.MODEL in the report to count the number of MODELs but I add the NOPRINT to stop it being displayed. I need to include this in the report because I want to reference it later. I then add a COMPUTE to interpret the value of the count at report creation time and set it to an 'X' if it has a value greater than or equal to 1, otherwise I set it to a NULL value.
Hope this helps.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
0 ERROR AT OR NEAR LINE 5 IN PROCEDURE MEMFEX FOCEXEC * (FOC171) TYPE OF MISSING CALCULATION IS NOT SPECIFIED ON LEFT SIDE: ; (FOC009) INCOMPLETE REQUEST STATEMENT BYPASSING TO END OF COMMAND
mY CODE IS AS FOLLOWS:
TABLE FILE TBLID_SKILLS SUM 'CNT.TBLID_SKILLS.PP_NUMBER' NOPRINT AS 'COUNT,TBLID_SKILLS.PP_NUMBER'
COMPUTE SKILLA/A1 = IF CNT.TBLID_SKILLS.PP_NUMBER GE 1 THEN 'X' ELSE MISSING; BY 'TBLID_SKILLS.FULLNAME' ACROSS 'TBLID_SKILLS.SKILL' HEADING "WHERE ( TBLID_SKILLS.TEAM_NAME EQ 'Account Mgmt 2' ); ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.250000, RIGHTMARGIN=0.250000, TOPMARGIN=0.250000, BOTTOMMARGIN=0.250000, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ ENDSTYLE END
(FOC171) TYPE OF MISSING CALCULATION IS NOT SPECIFIED ON LEFT SIDE: A computed field created through the DEFINE command or through the COMPUTE subcommand of the MODIFY command is assigned the value MISSING, but its definition does not specify NEEDS SOME DATA or NEEDS ALL DATA.
But why not just change the word MISSING to a blank (eg. ' ')?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server