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] Cumulative totals by Month

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Cumulative totals by Month
 Login/Join
 
Member
posted
What is the best way to do this as there's probably more than one way. I want acculuated totals by Month for our fiscal year (OCT-SEP) and I want a row for every month even though sometimes there is no $ entered for the month for the service line. Accumulation starts over with new service line.
SERV LINE BK_YYM $-AMT CUM_$AMT
GEN FS GS 2012/10 0 0
GEN FS GS 2012/11 2,269 2,269
GEN FS GS 2012/12 4,158,926 4,161,195
GEN FS GS 2013/01 -152,642 4,008,553
GEN FS GS 2013/02 2 4,008,555
GEN FS GS 2013/03 700,378 4,708,933
GEN FS GS 2013/04 268,973 4,977,906
GEN FS GS 2013/05 -36,490 4,941,416
GEN FS GS 2013/06 1 4,941,417
GEN FS GS 2013/07 12,356 4,953,773
GEN FS GS 2013/08 4,444,926 9,398,699
GEN FS GS 2013/09 0 9,398,699
GEN FS IPS 2012/10 0 0
GEN FS IPS 2012/11 0 0
GEN FS IPS 2012/12 685,580 685,580
GEN FS IPS 2013/01 884,711 1,570,291
GEN FS IPS 2013/02 25,417 1,595,708
GEN FS IPS 2013/03 197,576 1,793,284
GEN FS IPS 2013/04 0 1,793,284
GEN FS IPS 2013/05 53,734 1,847,018
GEN FS IPS 2013/06 9,795 1,856,813
GEN FS IPS 2013/07 0 1,856,813
GEN FS IPS 2013/08 3,401,003 5,257,816
GEN FS IPS 2013/09 5,500 5,263,316

This message has been edited. Last edited by: Ana Morse,
 
Posts: 13 | Registered: June 14, 2012Report This Post
Virtuoso
posted Hide Post
Ana,
Assuming you have a record for each month:
  
TABLE FILE ...
SUM DOLLAR_AMT
    COMPUTE CUM_AMT/D9=IF SERV_LINE NE LAST SERV_LINE THEN DOLLAR_AMT ELSE LAST CUM_AMT + DOLLAR_AMT;
BY SERV_LINE BY BK_YYM
...
END

However, it you are missing some months and you want to generate the missing ones, I suggest you look into McGuyver.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Thank you for the tip. I will try the McGuyver then.
 
Posts: 13 | Registered: June 14, 2012Report 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] Cumulative totals by Month

Copyright © 1996-2020 Information Builders