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     Creating a YTD Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Creating a YTD Report
 Login/Join
 
Member
posted
I am trying to figure out how to get a report to be a a running ytd report for each month.

Data:

year: Month: value:
2007 01 05
2007 02 05
2007 03 05
2007 04 05
2007 05 05
2007 06 05
2007 07 05
2007 08 05
2007 09 05
2007 10 05
2007 11 05
2007 12 05

So my Report would be look this

Year: Month: Running Total:
2007 01 05
2007 02 10
2007 03 15
2007 04 20
2007 05 25
2007 06 30
2007 07 35
2007 08 40
2007 09 45
2007 10 50
2007 11 55
2007 12 60


Month 01 = Month 01
Month 02 = Month 01 + Month 02
Month 03 = Month 01 + Month 02 + Month 03
Month 04 = Month 01 + Month 02 + Month 03 + Month 04
Month 05 = Month 01 + Month 02 + Month 03 + Month 04 + Month 05
Month 06 = Month 01 + Month 02 + Month 03 + Month 04 + Month 05 + Month 06

Etc....


PROD: WF 7.1.3 on Win 2003/IIS 6/Self-Serve & MRE
TEST: We dont need no Stinking Test Server!
 
Posts: 16 | Registered: February 10, 2006Report This Post
Platinum Member
posted Hide Post
Try this:

TABLE FILE YOURFILE
SUM VALUE
COMPUTE C_VALUE/I5SC = VALUE + LAST C_VALUE;
BY YEAR
BY MONTH
ON TABLE COLUMN-TOTAL VALUE
END

Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Platinum Member
posted Hide Post
Create on Temp Variable

DEFINE FILE FILENAME
NEWFIELD/D12 = IF YEAR EQ2007 AND MONTHE LE 10 THEN ACTUALFIELD ELSE 0;
END
Use Actual field as your field and u can use Ampervariables instead of Static Year and Month.

Thanks,
Kalyan


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report 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     Creating a YTD Report

Copyright © 1996-2020 Information Builders