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     how to 'summarize' in a row-total situation
Go
New
Search
Notify
Tools
Reply
  
how to 'summarize' in a row-total situation
 Login/Join
 
Expert
posted
Does anybody know if a feature has been added , like "ROW-SUMMARIZE" ? Some way to recalcuate computed fields in row-total situation, the same way we use ON TABLE SUMMARIZE to correctly calculate our computed fields from a column. ?
(Other than , of course, doing all the stuff by arduous coding)
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
<monte2000>
posted
It has been requested as a New Feature, but not yet implemented.

Smiler
 
Reply With QuoteReport This Post
<Jim Rich>
posted
Coding is the only way currently. The way it was shown to me was to first do your request without any formatting and assign a sequence number (SEQ = 2), add BY SEQ NOPRINT and put it to a HOLD file. Then run your request again with a sequence number (SEQ = 1) and add BY SEQ NOPRINT. Include your formatting in this section. At the end use
MORE
FILE HOLD
END
to append the two files together. Aword of warning. if you use a COUNT or CNT. as one of your fields it does not work properly with a HOLD file. Use the following in a DEFINE
-*DEFCNT/I6 WITH fieldname = IF fieldname IS MISSING THEN 0 ELSE 1;
and then replace your fieldname in the request wtih DEFCNT in both sections. When SUMMED it will do the same as count and will work in the HOLD file.
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     how to 'summarize' in a row-total situation

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