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     ROW-TOTAL, nested; like quarter totals in an ACROSS MONTH

Read-Only Read-Only Topic
Go
Search
Notify
Tools
ROW-TOTAL, nested; like quarter totals in an ACROSS MONTH
 Login/Join
 
Expert
posted
Does anybody know the syntax for doing ROW-TOTALS within an ACROSS:
like
ACROSS QUARTER ACROSS MONTH
and we want row-totals by quarter.
There's a way, buzzed about at Summit. But does anyone know???
thanks.
(can't use static syntax, time span varies)
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
I believe the systax is ON QUARTER ACROSSTOTAL
or ON YEAR , etc.

There is a subtotal on ACROSS in Dev Studio Report Painter.
 
Posts: 226 | Registered: June 08, 2003Report This Post
<Pietro De Santis>
posted
It appears it works to some degree. I couldn't get more than one Across Total though. As well, the AS statement on the ACROSS-TOTAL doesn't seem to work.



-* ACROSS sortfield ACROSS-TOTAL [AS ' name'] [COLUMNS col1 AND col2 ...]

DEFINE FILE EMPLOYEE
HIRE_DATEX/YYMD = HIRE_DATE;
HIRE_Y/YY = HIRE_DATE;
HIRE_Q/YYQ = HIRE_DATE;
HIRE_M/YYM = HIRE_DATE;
END

TABLE FILE EMPLOYEE

SUM SALARY/P8C AS ''
ACROSS HIRE_Y AS '' ACROSS-TOTAL AS 'YEAR'
ACROSS HIRE_Q AS '' ACROSS-TOTAL AS 'QUARTER'
ACROSS HIRE_M AS ''
BY DEPARTMENT AS ''
END

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
Expert
posted Hide Post
no Gerry, that doesn't work.
i'm in 5.2.5 and ahalf.
What version is that supposed to work in?

ah... thanks Pietro.
I can't seem to get the AS phrase to work.
In the car file:
...this works
TABLE FILE CAR
SUM SALES ACROSS CAR ACROSS MODEL ACROSS-TOTAL AS 'fred'
BY COUNTRY
...but this does NOT work
TABLE FILE CAR
SUM SALES ACROSS CAR AS 'my car' ACROSS MODEL ACROSS-TOTAL AS 'fred'
BY COUNTRY
...the across total is titled 'TOTAL', not 'fred'
...it seems there's a bug, i'm in 525
..i've opened a case
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     ROW-TOTAL, nested; like quarter totals in an ACROSS MONTH

Copyright © 1996-2020 Information Builders