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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to sort this?
 Login/Join
 
Master
posted
Hi,

I have to sort the following data.

Region City Car Count
East NY BMW 10
LEXUS 15
MERCEDES 5
MI BMW 3
CHEVY 14
SubTotal BMW 13
LEXUS 15
MERCEDES 5
CHEVY 14

west CA BMW 12
LEXUS 7
MERCEDES 8
WA BMW 3
CHEVY 4
SubTotal BMW 15
LEXUS 7
MERCEDES 8
CHEVY 4

The problem I have is when I sort by Region, Subtotal for WEST shows first and then WEST is showing.

Subtotal and Region value are coming from database Stored Procedure. We are not doing anything from our side to get the subtotal.

Please suggest me a way to get this,

Thanks


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
Can you supply the code please and thank you. Need to see your 'BY' statements.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Try SET PRINTPLUS=ON. This fixes a whole host of problems including where subtotals show up.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
Try:
TABLE FILE yourfilename
PRINT
CAR
COUNT
BY REGION
BY CITY
ON REGION SUBTOTAL
WHERE CITY NE 'Subtotal'
END


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders