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] Complex Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Complex Report
 Login/Join
 
Guru
posted
I am in the process of planning a complex report. This report calculates Division, District, and Store leve information. One of the requirements it to make it expandable. This report should calculate past 3 periods last weeks numbers for sales, inventory, and payments. Another requirements it this report should show all the weeks data for current peirod and it shoudl calculates % change from previous years same priod and week. I am not sure how to get these calculations done (same period last year and same week%)
I also would like to find out how can I assemble this report so I can organize information however I seem it fit. Any help of suggesion will be greatly appriciated.

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


WebFOCUS 7.6.10
Windows
HTML
 
Posts: 294 | Registered: March 04, 2010Report This Post
Platinum Member
posted Hide Post
Arif,
I will write it for you for a fee.
Then you can see how it is done.
Greg
 
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006Report This Post
Gold member
posted Hide Post
Here is a suggestion.

Create an aggregate summary table on a weekly basis with weekly sales,inventory & payments info.

DEFINE FILE BLAH
*****Get Current week Date:
TODAY/YYMD = &YYMD;
DAY_NUM/D = TODAY;

CURRENT_START_WEEK/YYMD = DATEADD(DATEMOV(TODAY,'BOW'),'D',-7);
CURRENT_END_WEEK/YYMD = DATEADD(DATEMOV(TODAY,'EOW'),'D',-7);

****** GET SAME WEEK LAST YEAR
PREV_YR_START_WEEK /YYMD = DATEADD(DATEMOV(CURRENT_START_WEEK,'BOW'),'Y',-1);

PREV_START_WEEK/YYMD = DATEMOV(PREV_YR_START_WEEK,'BOW');

PREV_YR_END_WEEK /YYMD = DATEADD(DATEMOV(CURRENT_END_WEEK,'EOW'),'Y',-1);

PREV_END_WEEK/YYMD = DATEMOV(PREV_YR_END_WEEK ,'EOW');

******WEEKLY SALES INFO
CURRENT_WEEK_SALES/D15.2C = IF WEEK GE CURRENT_START_WEEK AND WEEK LE CURRENT_END_WEEK
THEN SALES ELSE 0;

PREV_YR_WEEK_SALES/D15.2C = IF WEEK GE PREV_START_WEEK AND WEEK LE PREV_END_WEEK
THEN SALES ELSE 0;
END

TABLE FILE BLAH
SUM
PREV_YR_WEEK_SALES
CURRENT_WEEK_SALES
**COMPUTE CALCULATION FOR YOY%

BY DIVISION
BY DISTRICT
BY STORE
END

Hope this helps you get started

Cheers

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


WF 8105M
- Portal, Dashboard
- Rcaster, Data Migrator
- Windows 2012 Client Server
- Dev/App Studio 8105
- Data: SQL, Oracle, Neteeza,MVS
 
Posts: 78 | Registered: October 24, 2006Report This Post
Virtuoso
posted Hide Post
Sounds like some training and/or consulting is in order.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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] Complex Report

Copyright © 1996-2020 Information Builders