Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     ***CLOSED BY HIGHEST 10 SALES_AMOUNT etc question...
Go
New
Search
Notify
Tools
Reply
  
***CLOSED BY HIGHEST 10 SALES_AMOUNT etc question...
 Login/Join
 
Master
posted
This easily gets me the 10 highest sales amounts. Is there something that gets me something like the 9 highest amounts with everything else lopped into the 10th..sort of an 'Other' category...suggestions?

This message has been edited. Last edited by: RobertF,


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 572 | Registered: June 28, 2013Reply With QuoteReport This Post
Guru
posted Hide Post
Hi RobertF,

you can create a HOLD after sort highest 10 sales. Then you can DEFINE this HOLD preparing your data to report later.

I hope it helps.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Reply With QuoteReport This Post
Platinum Member
posted Hide Post
TABLE FILE CAR
PRINT SALES NOPRINT
RANKED BY HIGHEST SALES
BY MODEL
ON TABLE HOLD
END
DEFINE FILE HOLD
NEW_MODEL/A24 = IF RANK GT 9 THEN 'All Others' ELSE MODEL;
END
TABLE FILE HOLD
SUM SALES
BY NEW_MODEL
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Guru
posted Hide Post
Good One


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
Try adding this
BY HIGHEST 9 SALES PLUS OTHERS AS 'Others'
Courtesy of a Walter Blood presentation.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Reply With QuoteReport This Post
Master
posted Hide Post
just got back...thanks all!


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 572 | Registered: June 28, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     ***CLOSED BY HIGHEST 10 SALES_AMOUNT etc question...

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.