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.
Hi Guys! I am trying since last week to create a YTD Function or something inside the Developer Studio. I have created a synonym that has Date Field and a sales Measure...and I need to have the Sales for YTD... when they place the Calendar (date) in the Web Focus Report (InfoAssist), like September 2013, and move Sales YTD, they need to see the Sales for entire Yr until Sep. I tried creating User Defined Function... or a Compute inside the Definition...but I didnt have luck Any help would be really appreciate it!!! Thx, Pats.This message has been edited. Last edited by: <Kathryn Henning>,
-DEFAULTH &YEAR = '1996'
-DEFAULTH &MNTH = '09'
DEFINE FILE GGSALES
DATE_YYMD/YYMD = DATECVT(DATE, 'I8YYMD', 'YYMD');
MNTH/M = DATE_YYMD;
YEAR/YYYY = DATE_YYMD;
END
TABLE FILE GGSALES
SUM
DOLLARS/D20.2CM AS 'Dollars'
COMPUTE CUM_DOLLARS/D20.2CM = IF MNTH NE LAST MNTH THEN CUM_DOLLARS + DOLLARS ELSE CUM_DOLLARS; AS '*** Dollars'
BY YEAR AS 'Year'
BY MNTH AS 'Month'
WHERE YEAR EQ '&YEAR';
WHERE MNTH LE '&MNTH';
END
Thank you so much Mighty for your reply. I am pretty new in WF.. I started last week working on it. And am not sure where should I add those Define File and Table File... is not only for Report painter? And does not work for my Synonym Definition? Thanks in advance.
Since you're fairly new to WebFOCUS and InfoAssist, I'd like to recommend opening a case on InfoAssist Online. We can look at your files and determine the best approach for this.