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     [SOLVED] Running Total - Descending

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Running Total - Descending
 Login/Join
 
Guru
posted
Gurus,
I am trying to create a simple report with running SUMs with the recent total on top grouped by a date..Using EMP data as eg.
  
TABLE FILE EMPLOYEE
SUM COMPUTE HIRED/I5= HIRED + CNT.HIRE_DATE    ;   
BY HIGHEST HIRE_DATE
END
  

OUTPUT
HIRE_DATE HIRED
82/08/01 1
82/07/01 2
82/05/01 3
82/04/01 5
82/02/02 6
82/01/04 8
81/11/02 9
81/07/01 11
80/06/02 12


What i really need is the Totals from top to bottom down somethign like this..Basically the totals as of that date..
HIRE_DATE HIRED
82/08/01 12
82/07/01 11
82/05/01 9
82/04/01 8
82/02/02 6
82/01/04 5
81/11/02 3
81/07/01 2
80/06/02 1


It sounds simple but, i can't think of what might be causing it not to work...

Thanks so much!

-Pawan

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


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Guru
posted Hide Post
Got it...I just wasn't thinking :-)

  
TABLE FILE EMPLOYEE
SUM COMPUTE HIRED/I5= HIRED + CNT.HIRE_DATE    ;   
BY HIRE_DATE
ON TABLE HOLD AS H1
END
TABLE FILE H1
PRINT HIRED
BY HIGHEST HIRE_DATE
END



-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report 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     [SOLVED] Running Total - Descending

Copyright © 1996-2020 Information Builders