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     Column Title and OVER

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Column Title and OVER
 Login/Join
 
Expert
posted
DEFINE FILE CAR
CAR_COUNT/D6S = 1;
END
TABLE FILE CAR
SUM
CAR_COUNT
BY SEATS AS 'Seats'
ROWS 1 OVER 2 OVER 3 OVER 4 OVER 5
ACROSS COUNTRY AS 'Country' COLUMNS 'JAPAN' AND 'ITALY' AND 'FRANCE'
END


The "AS 'Seats'" is ignored. Anyone know how to provide a column title for a column controlled by ROWS ... OVER ...?

Thanks,


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
quote:
DEFINE FILE CAR
CAR_COUNT/D6S = 1;
END
TABLE FILE CAR
SUM
CAR_COUNT
BY SEATS AS 'Seats'
ROWS 1 OVER 2 OVER 3 OVER 4 OVER 5
ACROSS COUNTRY AS 'Country' COLUMNS 'JAPAN' AND 'ITALY' AND 'FRANCE'
END

I'm not familiar with the 'ROWS' option, why are you using it? To show all possible seat numbers that could occur?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
I am creating a report to show all possible countries and all possible seats.

COLUMNS ... AND ... does that for ACROSS.

ROWS ... OVER ... does that for BY.

It seems illogical that AS '...' works for ACROSS COLUMNS, but it does not work for BY ... ROWS

Cheers,


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
quote:
I am creating a report to show all possible countries and all possible seats.

COLUMNS ... AND ... does that for ACROSS.

ROWS ... OVER ... does that for BY.


I learned a new thing. I looked it up in the manual, one of the comments says 'the name of the sort field is not included in the report' which is probably why the AS doesn't work, so the big questions is why can't we give the row a column title?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Probably the same reason as you do not get a column heading for the field used in the FOR syntax in FML - not that I know the reason of course. Just surmising that it's probably linked Smiler

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, 2004Report This Post
Expert
posted Hide Post
I have quite a few issues I'd like to see fixed before getting fancy new accordion thingies and the like.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Column Title and OVER

Copyright © 1996-2020 Information Builders