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 report where I calculate a prior year and then a current year sold amount. I want to have the titles of these measures equate to another define I created. What is the right syntax to use in the title field to make that work?
YTD Sales: if current_year = 0 then sales_amount else 0
LY Sales: if current_year = 1 then sales_amount else 0
these two get my values.....I then created:
ytd_name: if current_year = 0 then accounting_year
ly_name: if current_year = 0 then accounting_year
These two get me the year name (as 2015, 2014).
How can I put that in the title? I know if I do &with the field name it prompts me to enter a value which then appears, but I don't want that. I just want to have the value appear based on the define.
anyone??This message has been edited. Last edited by: <Kathryn Henning>,
Do you have access to the Text Editor in InfoAssist? These code creates dynamic titles, and will change as the year changes; however, you won't be able to open the report using the GUI. Thanks
Luiz
Column Current Year: -SET &CurYR = (DATECVT(EDIT(&YYMD,'9999'),'A4', 'I4') ) ;
Column Last Year: -SET &LastYR = (DATECVT(EDIT(&YYMD,'9999'),'A4', 'I4') -1) ;
Posts: 117 | Location: Denver | Registered: July 27, 2005