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.
I have an issue that I can not figure out. I have a simple Expand by Row Report that has a sum field for the last column. I'd like to have that column sorted highest to lowest each time a by field is clicked. Any ideas on how to do that? Order by does not work..It screws up the expand by by fields.
Thanks for any assistance possible.
SET EXPANDBYROW = ON
TABLE FILE BSH
SUM
BSH.SEG01.COUNT AS 'Totals'
BY LOWEST BSH.SEG01.TERRITORY_NAME
BY LOWEST BSH.SEG01.MARKET
BY LOWEST BSH.SEG01.REGION_NAME
BY LOWEST BSH.SEG01.CALLERBRANCH
ON BSH.SEG01.TERRITORY_NAME RECOMPUTE AS '*TOTAL'
ON BSH.SEG01.MARKET RECOMPUTE AS '*TOTAL BSH.SEG01.MARKET'
ON BSH.SEG01.REGION_NAME RECOMPUTE AS '*TOTAL BSH.SEG01.REGION_NAME'
ON TABLE SUBHEAD
"Territory/Market/Region/Branch Totals"
WHERE TERRITORY_NAME EQ '&TN';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SUMMARIZE BSH.SEG01.COUNT AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
TYPE=DATA,
COLUMN=N4,
FOCEXEC=callerbranchcnt,
$
TYPE=TABHEADING,
LINE=1,
JUSTIFY=LEFT,
$
TYPE=TABHEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
SIZE=11,
$
TYPE=SUBTOTAL,
BY=1,
COLOR='WHITE',
BACKCOLOR='TEAL',
$
TYPE=SUBTOTAL,
BY=2,
COLOR='WHITE',
BACKCOLOR=RGB(102 102 153),
$
TYPE=SUBTOTAL,
BY=3,
COLOR='WHITE',
BACKCOLOR='OLIVE',
$
TYPE=SUBTOTAL,
BY=6,
COLOR='WHITE',
BACKCOLOR='BLUE',
$
ENDSTYLE
END