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     [CLOSED] SCHEDULE MIMICKING FORECASTING

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SCHEDULE MIMICKING FORECASTING
 Login/Join
 
Member
posted
I can't seem to translate my beginners programming skills of JAVA into WEBFOCUS Code. Translating FINANCES MATURITY SCHEDULE into CAR database.

I need to represent data in quarters. I need the numbers to show in terms of sales met in contrast to annual target, and incorporate annual trend.

Example:
Last year sold 500 Cars of Model A.
last YR Q1 Q2 Q3 Q4 TOTAL
Car A 200 50 75 175 500

Annual target with 10% increase in sales.
Forecast would be
Current YR BALANCE Q1 Q2 Q3 Q4
Car A 550 330 275 194 0

Its simply subtracting from last year total, the total sales for each quarter CUMULITIVE and then adding 10% of that sale.

The difference is mine would go over to multiple years and by quarters, till BALANCE Is zero for multiple models.

MATURITY is by date, so everything that matures in a quarter will be the total for that quarter.

Will appreciate any help you can provide.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 8 | Location: Atlanta | Registered: October 13, 2015Report This Post
Expert
posted Hide Post
The CAR file doesn't have a date in it , so that's gonna hurt you right off the bat.
try the GGAALES file, course the dates are in the 1990's, so that might freak you out a bit.
Start with this, and then tell me what it is you want to do.
SET ASNAMES = ON
DEFINE FILE GGSALES
YEAR/YY = DATE;
MONTH/M = DATE;
QUARTER/Q = DATE ;
END
TABLE FILE GGSALES
SUM DOLLARS/D20M AS TOTDOLLARS
BY YEAR
SUM DOLLARS/D20M AND COMPUTE NEXT_DOLLARS/D20M = DOLLARS * 1.10 ;
AND COMPUTE CUM_DOLLARS/D20M = IF YEAR NE LAST YEAR THEN DOLLARS ELSE DOLLARS + LAST DOLLARS;
BY YEAR BY QUARTER
IF YEAR EQ 1997
END

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     [CLOSED] SCHEDULE MIMICKING FORECASTING

Copyright © 1996-2020 Information Builders