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     [SOLVED] Borders Around ACROSS Groups

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Borders Around ACROSS Groups
 Login/Join
 
Member
posted
Hello!

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,$

-*TOP BORDERS
TYPE=ACROSSVALUE, BORDER-TOP=MEDIUM,$

-*SIDE BORDERS
TYPE=ACROSSVALUE, BORDER-LEFT=MEDIUM, BORDER-RIGHT=MEDIUM,$
TYPE=TITLE, COLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=DATA, COLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=GRANDTOTAL, COLUMN=intUnitDiff, BORDER-LEFT=MEDIUM,$
TYPE=TITLE, COLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
TYPE=DATA, COLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$
TYPE=GRANDTOTAL, COLUMN=pctDollarDiff, BORDER-RIGHT=MEDIUM,$

-*BOTTOM BORDERS
TYPE=GRANDTOTAL, BORDER-BOTTOM=MEDIUM,$

ENDSTYLE
END

Thanks!
Jay

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,


WebFOCUS 8.1/8.2, Windows 10/Server 2012
 
Posts: 24 | Location: Baltimore, MD | Registered: April 30, 2019Report This Post
Virtuoso
posted Hide Post
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, 2013Report This Post
Member
posted Hide Post
quote:
Originally posted by MartinY:
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!


WebFOCUS 8.1/8.2, Windows 10/Server 2012
 
Posts: 24 | Location: Baltimore, MD | Registered: April 30, 2019Report This Post
Virtuoso
posted Hide Post
My pleasure

Please update your first post then add [SOLVED] at the beginning of the subject


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, 2013Report 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     [SOLVED] Borders Around ACROSS Groups

Copyright © 1996-2020 Information Builders