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     [SOLVED]Dynamic Values in Report SubHeading

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Dynamic Values in Report SubHeading
 Login/Join
 
Silver Member
posted
Hi All,

I am trying to put columns from DEFINE section in subheading. Below is the code. I am sure the syntax is not correct. Can you someone please suggest me the right way to do it? Thank you!
 -*COMPONENT=Define_VW_RPT_DATA
DEFINE FILE rt_test/vw_rpt_data
CURRENTDATE/A10=TODAY(CURRENTDATE);
CURRENTFY/A4=SUBSTR(10, CURRENTDATE, 7, 10, 4, CURRENTFY);
CURRENTFM/A4=SUBSTR(10, CURRENTDATE, 1, 2, 4, CURRENTFM);
CURRENTFYINT/I4=EDIT(CURRENTFY);
CURRENTFMINT/I4=EDIT(CURRENTFM);
CURRENTFYINT1/I4=IF (CURRENTFMINT GE 1) AND (CURRENTFMINT LE 6) THEN CURRENTFYINT ELSE CURRENTFYINT + 1;
FUTURE5FYINT/I4=CURRENTFYINT1 + 5;
END
-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
SET ACROSSTITLE = SIDE
-SET &CURRENTYEAR = CURRENTFYINT1;
-SET &FUTUREYEAR = FUTURE5FYINT;
TABLE FILE VW_RPT_DATA
SUM
     VW_RPT_DATA.VW_RPT_DATA.ACTUAL_VALUE/D20 AS 'Projects'
     PCT.VW_RPT_DATA.VW_RPT_DATA.ACTUAL_VALUE/D12% AS '% of Projects'
BY  LOWEST VW_RPT_DATA.VW_RPT_DATA.COMPONENT_ID NOPRINT
BY  VW_RPT_DATA.VW_RPT_DATA.COMPONENT_NAME AS 'Number'
ON TABLE SUBHEAD
"FY "|| &CURRENTFYINT1 || "- FY " || &FUTURE5FYINT || " Consolidated (CTP) Projects "
"Using 10 Percent or More Funds from Other Sources "
HEADING
"As a Percentage of Projects "
WHERE ( VW_RPT_DATA.VW_RPT_DATA.MEASURE_ID EQ 2 ) AND ( VW_RPT_DATA.VW_RPT_DATA.COMPONENT_ID EQ 13 OR 14 );
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE COLUMN-TOTAL AS 'Total Projects'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE=IBFS:/WFC/Repository/rt_SYSTEMTEST/Custom_Style_For_Reports.sty,$
ENDSTYLE
END 

This message has been edited. Last edited by: <Emily McAllister>,


WebFocus 8.1 Service Pack 0.5
Build Version branch8105
Build/GEN Number 119

OS/Platform: Apache Tomcat/8.0.21
 
Posts: 46 | Location: Baltimore | Registered: October 27, 2016Report This Post
Master
posted Hide Post
Use less than sign ("<") instead of ampersand.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report This Post
Silver Member
posted Hide Post
Thanks a TON!


WebFocus 8.1 Service Pack 0.5
Build Version branch8105
Build/GEN Number 119

OS/Platform: Apache Tomcat/8.0.21
 
Posts: 46 | Location: Baltimore | Registered: October 27, 2016Report This Post
Master
posted Hide Post
If you edit your first post you can change the topic from "Dynamic Values in Report SubHeading" to "[SOLVED]Dynamic Values in Report SubHeading".

This will let other forum users know that this problem has been solved.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report 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     [SOLVED]Dynamic Values in Report SubHeading

Copyright © 1996-2020 Information Builders