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] SUBTOTAL Drill down on accordian report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] SUBTOTAL Drill down on accordian report
 Login/Join
 
Member
posted
I am wanting to drilldown on a subtotal. Problem is, I have two subtotals and I cannot determine which subtotal line I am on when I do the drill down. Can anyone tell me how to determine which subtotal line I am on?

Here is some simple code I put together for a test.

TABLE FILE V_TEST_FOR_FOCALPOINT
SUM
UNITS
DESCRIPTION
BY MODEL
BY SERIES
BY YEAR

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET EXPANDBYROW ON
ON TABLE NOTOTAL

ON TABLE SUBHEAD

"TEST FOR USERS"
""
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=HEADING,
SIZE=9,
JUSTIFY=CENTER,
STYLE=BOLD,
$

TYPE=SUBTOTAL,
COLUMN=UNITS,
TARGET=_blank,
FOCEXEC=unit_report (UNITS=UNITS),
$

TYPE=DATA,
COLUMN=UNITS,
TARGET=_blank,
FOCEXEC=unit_detail_rpt (UNITS=UNITS),
$


ENDSTYLE
END

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: September 17, 2012Report This Post
Expert
posted Hide Post
I don't see any SUBTOTALs in the request (maybe they automatically occur for accordion reports)... but the syntax to styling subtotals is:

How to Identify a Grand Total, Subtotal, or Subtotal Calculation
TYPE=type, [BY=sortfield] [coltype=column]

type
Identifies a subtotal or total. Select from:

GRANDTOTAL which is a grand total (generated by COLUMN-TOTAL, SUBTOTAL, SUB-TOTAL, RECOMPUTE, or SUMMARIZE). See Identifying a Grand Total for an example.

SUBTOTAL which is a subtotal (generated by SUBTOTAL, SUB-TOTAL, RECOMPUTE, or SUMMARIZE). See Identifying Subtotals for an example.

RECAP which is a subtotal calculation (generated by ON sortfield RECAP or ON sortfield COMPUTE). See Identifying a Subtotal Calculation (RECAP/COMPUTE) for an example.

BY
If you have a request with multiple BY fields, and two or more have subtotal commands associated with them, you can identify each field using the BY identifier. This is helpful when you want to format each subtotal differently or when you want to format only one subtotal.

You only need to include the BY identifier if you have multiple BY fields in your request.

...


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
Member
posted Hide Post
It works. Thx


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: September 17, 2012Report 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] SUBTOTAL Drill down on accordian report

Copyright © 1996-2020 Information Builders