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 am trying to find the language to separate each option within an ACROSS using borders. In the below code, I can get the first ACROSS group segmented out, but it doesn't repeat for the remainder. Is there a way to dynamically create borders at each change in ACROSS? Please note that, in my actual data, the ACROSS is a date which can grow into perpetuity.
TABLE FILE GGSALES SUM UNITS NOPRINT DOLLARS NOPRINT BUDUNITS NOPRINT BUDDOLLARS NOPRINT COMPUTE intUnitDiff/I6 = UNITS - BUDUNITS; AS 'Budget Diff' COMPUTE pctUnitDiff/D6.1% = (UNITS / BUDUNITS)*100; AS '%Units' COMPUTE intDollarDiff/I6 = DOLLARS - BUDDOLLARS; AS 'Dollar Diff' COMPUTE pctDollarDiff/D6.1% = (DOLLARS / BUDDOLLARS) * 100; AS '%Dollars' BY REGION ACROSS PRODUCT AS ''
ON TABLE SUMMARIZE AS 'Total' ON TABLE SET ASNAMES ON ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET HTMLCSS ON ON TABLE PCHOLD FORMAT HTML ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF,$ TYPE=ACROSSVALUE, JUSTIFY=CENTER,$
PS-This is my very first post on this forum! If there's anything I can do to clarify this or future questions, please let me know!-This message has been edited. Last edited by: Jay Ervin,
TABLE FILE GGSALES
SUM UNITS NOPRINT DOLLARS NOPRINT BUDUNITS NOPRINT BUDDOLLARS NOPRINT
COMPUTE intUnitDiff/I6 = UNITS - BUDUNITS; AS 'Budget Diff'
COMPUTE pctUnitDiff/D6.1% = (UNITS / BUDUNITS)*100; AS '%Units'
COMPUTE intDollarDiff/I6 = DOLLARS - BUDDOLLARS; AS 'Dollar Diff'
COMPUTE pctDollarDiff/D6.1% = (DOLLARS / BUDDOLLARS) * 100; AS '%Dollars'
BY REGION
ACROSS PRODUCT AS ''
ON TABLE SUMMARIZE AS 'Total'
ON TABLE SET ASNAMES ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF,$
TYPE=ACROSSVALUE, JUSTIFY=CENTER,$
-*TOP BORDERS
TYPE=ACROSSVALUE, BORDER-TOP=MEDIUM,$
-*SIDE BORDERS
TYPE=ACROSSVALUE, BORDER-LEFT=MEDIUM, BORDER-RIGHT=MEDIUM,$
TYPE=TITLE, ACROSSCOLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=DATA, ACROSSCOLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=GRANDTOTAL, ACROSSCOLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=TITLE, ACROSSCOLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
TYPE=DATA, ACROSSCOLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
TYPE=GRANDTOTAL, ACROSSCOLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
-*BOTTOM BORDERS
TYPE=GRANDTOTAL, BORDER-BOTTOM=MEDIUM,$
ENDSTYLE
END
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
TABLE FILE GGSALES
SUM UNITS NOPRINT DOLLARS NOPRINT BUDUNITS NOPRINT BUDDOLLARS NOPRINT
COMPUTE intUnitDiff/I6 = UNITS - BUDUNITS; AS 'Budget Diff'
COMPUTE pctUnitDiff/D6.1% = (UNITS / BUDUNITS)*100; AS '%Units'
COMPUTE intDollarDiff/I6 = DOLLARS - BUDDOLLARS; AS 'Dollar Diff'
COMPUTE pctDollarDiff/D6.1% = (DOLLARS / BUDDOLLARS) * 100; AS '%Dollars'
BY REGION
ACROSS PRODUCT AS ''
ON TABLE SUMMARIZE AS 'Total'
ON TABLE SET ASNAMES ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF,$
TYPE=ACROSSVALUE, JUSTIFY=CENTER,$
-*TOP BORDERS
TYPE=ACROSSVALUE, BORDER-TOP=MEDIUM,$
-*SIDE BORDERS
TYPE=ACROSSVALUE, BORDER-LEFT=MEDIUM, BORDER-RIGHT=MEDIUM,$
TYPE=TITLE, ACROSSCOLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=DATA, ACROSSCOLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=GRANDTOTAL, ACROSSCOLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=TITLE, ACROSSCOLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
TYPE=DATA, ACROSSCOLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
TYPE=GRANDTOTAL, ACROSSCOLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
-*BOTTOM BORDERS
TYPE=GRANDTOTAL, BORDER-BOTTOM=MEDIUM,$
ENDSTYLE
END
That's exactly what I was looking for. Thanks for your help!