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.
DEFINE FILE myFile
myMeasure2/D6=myMeasure;
END
TABLE FILE myFile
SUM
AVE.myMeasure2 NOPRINT
BY myMonth NOPRINT
SUM
myMeasure AS 'Measure'
BY myMonth NOPRINT
BY myMonthDisplay AS 'Month'
ACROSS mySort
ACROSS mySortNAme AS ''
COMPUTE 'Average'/D6=AVE.myMeasure2;
ON TABLE SUMMARIZE AVE.
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=CM,
LEFTMARGIN=0.000000,
TOPMARGIN=2.469136,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
BORDER-TOP=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
BORDER-COLOR=RGB(148 142 165),
FONT='ARIAL',
SIZE=8,
$
TYPE=TITLE,
COLOR='WHITE',
BACKCOLOR=RGB(0 90 148),
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
STYLE=NORMAL,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
SIZE=9,
$
TYPE=GRANDTOTAL,
BACKCOLOR=RGB(210 210 210),
STYLE=BOLD,
$
TYPE=REPORT,
COLUMN=N1,
$
ENDSTYLE
END
Try using the exact same BY phrases in both parts of your multi-verb request:
TABLE FILE myFile
SUM AVE.myMeasure2 NOPRINT
BY myMonth NOPRINT
BY myMonthDisplay AS 'Month' <-- I added this
SUM myMeasure AS 'Measure'
BY myMonth NOPRINT
BY myMonthDisplay AS 'Month'
ACROSS mySort
ACROSS mySortNAme AS ''
COMPUTE 'Average'/D6=AVE.myMeasure2;
ON TABLE SUMMARIZE AVE.
.
.
Also... I don't know the audience for this report, but personally I wouldn't allow WebFOCUS to default the label for SUMMARIZE AVE. to "TOTAL". I would change it to something like "Average" to avoid any misunderstanding about the values in that row:
ON TABLE SUMMARIZE AVE. AS 'Average'
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
has this been resolved? If so, mark it as such. If not: can you duplicate the issue with the CAR file, or another IB sample file so that we can see the issue and resolve it for you?
Thanks, Doug
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005