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] col percentage totals wrong

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] col percentage totals wrong
 Login/Join
 
Gold member
posted

TABLE FILE cust
PRINT
Tickets
COMPUTE TIC_TOT/I8 = TOT.Tickets; NOPRINT
COMPUTE TOTPCT/D8% = ( Tickets / TIC_TOT) * 100; AS 'Percent of Total'
BY 'ANSWERSET1' NOPRINT
ON TABLE SUBHEAD
"Name"
ON TABLE RECAP
GRANDPCT/D8%=TOTPCT;
ON TABLE SUBFOOT
<TIC_TOT<GRANDPCT
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *

This code is giving correct grand totals of 'Total tickets' and total columns percentage to 100%. But when i try to open this report through procedure viewer it is giving error as >RECAP< .I need correct syntax.
What went wrong,
thanks for the help,
rama

This message has been edited. Last edited by: Kerry,


WebFOCUS 762
Windows
To be decided(All formats)
 
Posts: 52 | Registered: November 02, 2009Report This Post
Virtuoso
posted Hide Post
Take two double-quotes (for your subfoot) and call us back in the morning.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
Creating Reports With Graphical Tools > Report Painter Basics

Report Painter Limitations

quote:
Unsupported Phrases (Parsing)
The Report Painter cannot parse the following phrases and syntax:

SUP-PRINT
The Report Painter cannot parse the following phrases and syntax that use AND. These phrases are supported if AND is not used.

[AND] ROW-TOTAL
[AND] COLUMN-TOTAL
ON TABLE [PAGE-BREAK AND] SUBHEAD
ON TABLE [PAGE-BREAK AND] SUBFOOT
ON TABLE RECAP


Unfortunately, the "Report Painter Limitations" link does not take you to the correct page in the online documentation.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
DEFINE FILE CAR
SALESD/D12.2 = SALES;
END

TABLE FILE CAR
SUM
SALESD/D12 AS SALES
COMPUTE PCT_SALES/D6.2 = PCT.SALESD; AS '%'
BY COUNTRY
ON TABLE SUBTOTAL
END


Why do you have BY 'ANSWERSET1' NOPRINT?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
I am sorry,that is only BY field.
thanks
rama


WebFOCUS 762
Windows
To be decided(All formats)
 
Posts: 52 | Registered: November 02, 2009Report 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] col percentage totals wrong

Copyright © 1996-2020 Information Builders