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     Sort on Expand by Row sum fields

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Sort on Expand by Row sum fields
 Login/Join
 
Platinum Member
posted
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
  


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report This Post
Master
posted Hide Post
This is possible either by reloading the page for each click so webFOCUS will do sorting or by using javascript to do sorting.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Expert
posted Hide Post
What's the output format? If it's not AHTML then switch to AHTML and see if that works for you.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Thanks..I tried AHTML..however it screws up the by fields..not sure I want these particular users to use that format.


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report 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     Sort on Expand by Row sum fields

Copyright © 1996-2020 Information Builders