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 have a report that I am currently using with RECAP, the SQL for the report is a rolling 10 weeks based on sysdate. My issue is that the report has weeks 3/28/2009 - 05/30/2009. My query is returning 4/4/2009 - 06/06/2009 as it should, based on the way I have it setup I would have to insert a new row each week with the current and remove the next oldest.
So next week I would have remove 4/4/2009 and add 06/13/2009! Is there a way for this to dynamically change with the query values without intervention?
I am very new to WebFocus, here is the source for the report, R11, R12, R13 would remain the same.
TABLE FILE SQLOUT SUM AIX/I5 LINUX/I5 AS 'Linux' SECURITYOPSDEV/I5 AS 'Security,Ops Dev' SOLARIS/I5 AS 'Solaris' FILEPRINT/I5 AS 'File and ,Print' VMWARE/I5 AS 'VMWare' WINDOWS/I5 AS 'Windows' TOTALS/I5 AS 'Grand Total' FOR LOOKUP_VALUE '04/04/2009' AS '04/04/2009' LABEL R1 OVER '04/11/2009' AS '04/11/2009' LABEL R2 OVER '04/18/2009' AS '04/18/2009' LABEL R3 OVER '04/25/2009' AS '04/25/2009' LABEL R4 OVER '05/02/2009' AS '05/02/2009' LABEL R5 OVER '05/09/2009' AS '05/09/2009' LABEL R6 OVER '05/16/2009' AS '05/16/2009' LABEL R7 OVER '05/23/2009' AS '05/23/2009' LABEL R8 OVER '05/30/2009' AS '05/30/2009' LABEL R9 OVER '06/06/2009' AS '06/06/2009' LABEL R10 OVER 'Sum' AS 'Sum' LABEL R11 OVER 'Open PPMs' AS 'Open PPMs' LABEL R12 OVER 'Weekly Average' AS 'Weekly Average' LABEL R13 OVER RECAP R14/D6.2=R12/R13; AS 'Backlog in Weeks' HEADING "ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML
The more I dig into this, I can select "When Exists" which will suppress the row if there are no values, that takes care of the weeks that get eliminated. Using this functionality I would have to add all weeks for the year using the "When Exists" so they will appear when the data is present.
If you are looking for a way to change your dates without intervention, check out AYMD and DOWK. The first lets you add or subtract days from a date (your sysdate for example) the other determines the day of the week. Once you determine the date of the previous 'SAT' then use the AYMD with a -REPEAT to roll thru the 10 previous values.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007