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 2 reports that both the same Date Filter that I'd like to combine to one report if possible but I don't know if or how to do it.
The first report has a date parameter and displays a budget amount value for that particular date. The second report has the same exact fields and date parameter, except displays the budget amount value for the year to date of the selected date.
I wanted to have 1 report with the Budget and Budget YTD columns next to each other since they both use the same date filter and by fields.
Has anyone encountered something similar to this or have suggestions on how to make this work? Thanks!This message has been edited. Last edited by: FP Mod Chuck,
In a similar situation, instead of applying a WHERE test to the whole report, I'd use the variable to calculate a column for Budget and a different column for Budge_YTD using IF THEN ELSE.
Something like this:
BUDGET_YTD/D12.2=IF DATEFIELD GE &DATE_FIELD THEN BUDGET ELSE 0;
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
As Babak mentioned but a little different, something such as this
DEFINE FILE abc
BDG_DT /P8.2C = IF RECORD_DT EQ &SELECT_DT THEN BUDGET_AMT ELSE 0;
END
TABLE FILE abc
SUM BDG_DT AS 'Current Budget'
BUDGET_AMT AS 'Budget YTD'
BY WHATEVER
WHERE RECORD_DT GE &BEGIN_OF_YEAR;
WHERE RECORD_DT LE &SELECT_DT;
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Thank you everyone. That strategy did work! I was able to have a start and end date range, and display the budget, and then had a define where if the budget date = selected date it would show that value as a current date budget. I appreciate your help everyone!