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     [CLOSED]ACROSS report questions

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]ACROSS report questions
 Login/Join
 
Platinum Member
posted
I have few basic ACROSS report questions.

1) How to show the Retail Cost title for each column?

2) How to remove the line and space between ACROSS Title and Data?

TABLE FILE CAR
SUM
RETAIL_COST
BY COUNTRY
ACROSS CAR AS ''
ACROSS MODEL AS ''
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,FONT=ARIAL,SIZE=9,GRID=OFF,SQUEEZE=ON,$
TYPE=TITLE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=ACROSSVALUE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,STYLE=BOLD,$
TYPE=DATA,COLUMN=CONSISTENTITEM,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,ACROSSCOLUMN=N1,BACKCOLOR=SILVER,COLOR=BLACK,$
ENDSTYLE
END
-EXIT

Thanks in advance.

This message has been edited. Last edited by: WFDevConsultant,


8.2.06
Windows, All Formats
 
Posts: 184 | Registered: December 27, 2013Report This Post
Virtuoso
posted Hide Post
Tricky one for the title, you must repeat the SUM field. ACROSS need two fields to display title...

For the second question, add the two SET

SET ACROSSTITLE=SIDE
SET BYPANEL=ON

TABLE FILE CAR
SUM RETAIL_COST NOPRINT
    RETAIL_COST
BY COUNTRY
ACROSS CAR AS ''
ACROSS MODEL AS ''
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,FONT=ARIAL,SIZE=9,GRID=OFF,SQUEEZE=ON,$
TYPE=TITLE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=ACROSSVALUE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,STYLE=BOLD,$
TYPE=DATA,COLUMN=CONSISTENTITEM,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,ACROSSCOLUMN=N1,BACKCOLOR=SILVER,COLOR=BLACK,$
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
Platinum Member
posted Hide Post
Thanks Martin.

I got the first one to work but your suggestion on second one didn't work.

See my code below.

SET ACROSSTITLE=SIDE
SET BYPANEL=ON

TABLE FILE CAR
SUM
RETAIL_COST NOPRINT
BY COUNTRY
ACROSS CAR AS ''
SUM
RETAIL_COST AS 'Retail,Cost'
BY COUNTRY
ACROSS MODEL AS ''
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,FONT=ARIAL,SIZE=9,GRID=OFF,SQUEEZE=ON,$
TYPE=TITLE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=ACROSSVALUE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,STYLE=BOLD,$
TYPE=DATA,COLUMN=CONSISTENTITEM,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,ACROSSCOLUMN=N1,BACKCOLOR=SILVER,COLOR=BLACK,$
ENDSTYLE
END
-EXIT


8.2.06
Windows, All Formats
 
Posts: 184 | Registered: December 27, 2013Report This Post
Virtuoso
posted Hide Post
Try this
TABLE FILE CAR
SUM
RETAIL_COST NOPRINT
BY COUNTRY
ACROSS CAR AS ''
SUM
RETAIL_COST AS 'Retail,Cost'
BY COUNTRY
ACROSS MODEL AS ''
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-COLOR=WHITE,
$
TYPE=REPORT,FONT=ARIAL,SIZE=9,GRID=OFF,SQUEEZE=ON,$
TYPE=TITLE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=ACROSSVALUE,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,STYLE=BOLD,$
TYPE=DATA,COLUMN=CONSISTENTITEM,BACKCOLOR=RGB(0 91 91),COLOR=WHITE,$
TYPE=DATA,ACROSSCOLUMN=N1,BACKCOLOR=SILVER,COLOR=BLACK,$
ENDSTYLE
END
-RUN
  


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
Platinum Member
posted Hide Post
This did the trick. Thanks.


8.2.06
Windows, All Formats
 
Posts: 184 | Registered: December 27, 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     [CLOSED]ACROSS report questions

Copyright © 1996-2020 Information Builders