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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtotal drilldown
 Login/Join
 
Member
posted
I'm doing a drilldown on an alphanumeric field. In the subtotal all I get is a little dash. Is there a way that I can put "All" in there instead of the dash? I get the same thing in the grand total line. Any help would be appreciated.


WF 7.6.1
Operating system: Windows XP
Output formats: HTML, PDF, Excel

 
Posts: 2 | Location: Jefferson City, MO | Registered: March 12, 2008Report This Post
Virtuoso
posted Hide Post
Subtotal on an alphanumeric field will give you the last value of the field in that sort group. When drilling down from total lines you need to handle the passed parameters a little differntly. You should probably hardcode the value "All" into the appropriate parameter that is passed when the link is clicked on any total line.

Personal opinion - you're going to get very sporadic result trying to do drill down from a subtotalled alpha field unless you carefully control the parameter values passed.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
I've got the drill down working correctly. The data getting passed isn't a problem. My client just doesn't want to see "-". They want to see "All". I'm looking for some sort of way to hardcode the "All" value into the report subtotal/grand total.


WF 7.6.1
Operating system: Windows XP
Output formats: HTML, PDF, Excel

 
Posts: 2 | Location: Jefferson City, MO | Registered: March 12, 2008Report This Post
Virtuoso
posted Hide Post
CP,
Could you repro your problem on the CAR file and post the code so that we can see what you get?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
The only way to modify 9i.e."hardcode" what you get on a subtotal line is to switch to a SUBFOOT instead of SUBTOTAL - then you have to make sure you get everything aligned properly. You might try to fool it by making the last value ALL or by using a prefix operator with the alpha field after the subtotal like
ON byfield SUBTOTAL
LST. alphafield


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Master
posted Hide Post
Usually when you subtotal, the alphanumeric fields aren't totaled on the numeric ones. Is this happening on your BY field? If so try a define:
STFIELD/A10=IF MYFIELD IS MISSING OR MYFIELD EQ ' ' THEN 'ALL' ELSE MYFIELD;
and use STFIELD in your BY rather than MYFIELD.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders