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.
I have a requirement where I need to display the report right from the beginning of the year till the current week or the user entered week.
Data is displayed by months for all the previous weeks, and only for current month, it should be split in weeks on the report.
For the current week entered(in case this is week 2 of that month), User also wants to see monthly total for that row. In my report for eg: I am displaying data right from January till August week 2 and also Quarterly sum just after every quarter, YTD in the end. Data is displayed from Jan till July and then for August week1 & week2. Now I also need August sum(subtotal only for the weeks) and need to pull that as monthly total till date. After this subtotal current quarter & YTD rows needs to be displayed.
Hope the requirement is clear, I am unable to pull a subtotal row only for weeks data. Let me know If there is a way to do this without creating a separate report and appending it.
As the entire logic already put in place, I didnt want to distort the report only for one subtotal row.
Your quick answer really helps!!!This message has been edited. Last edited by: Kerry,
How is your data available ? On daily basis? If so you can create a subtotal field based on that field.
Suppose that field is DBDATUM format YYMD .
-SET &MINUS14=&YYMD-14;
DEFINE FILE XXXX
BREAK/YYMD=IF DBDATUM GE '&MINUS14' DATEMOV(DBDATUM,'BOW') ELSE DATEMOV(DBDATUM ,'BOM');
END
TABLE FILE XXXX
SUM AMOUNT
BY BREAK
END
I am sure this is not giving you all what you need, but it is a start to think. Based on this idea you can create an extra sortcode like 'W' or 'M' you can use to create subtotals. It is also possible to create a quarter total at the same idea and if you know how to use mcguyver you can combine that technique to this to create exactly the report you need.
Finally you also may look at FML.
Good luck
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006