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     [CLOSED] drilling down on a Pie chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] drilling down on a Pie chart
 Login/Join
 
Member
posted
I have a Pie chart that sums the following 3 values.

SUM Medium High Emergency

The drill down code works for the 1st value 'Medium' only and is coded as follows...

TYPE=DATA,
COLUMN=N1,
TARGET='_BLANK',
FOCEXEC=app/changes_report.fex (LOB='&NLOB' ),

How can I get the drill down on the pie chart to work for all 3 values? I thought the code example below would work but it didn't. Does anyone know how to code drill downs for all 3 values in the SUM statement? Thanks in advance.

TYPE=DATA,
COLUMN=N1,
TARGET='_BLANK',
FOCEXEC=app/changes_report.fex (LOB='&NLOB' ),
$
TYPE=DATA,
COLUMN=N2,
TARGET='_BLANK',
FOCEXEC=app/changes_report.fex (LOB='&NLOB' ),
$
TYPE=DATA,
COLUMN=N3,
TARGET='_BLANK',
FOCEXEC=app/changes_report.fex (LOB='&NLOB' ),

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


WF 7.6.4
MS Office 2003
 
Posts: 12 | Registered: August 21, 2008Report This Post
Expert
posted Hide Post
Do you use the ACROSS verb in the GRAPH? If so, try TYPE=DATA, ACROSSCOLUMN=N1, ...


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
Virtuoso
posted Hide Post
It seems that this will not work as you would expect it to work.
I did find a way around it, which is hsown in this example on the car file:
 FILEDEF HOLD DISK HOLD.FTM (APPEND

DEFINE FILE CAR
FLD/A12 = 'DEALER_COST';
END

TABLE FILE CAR
SUM DEALER_COST
BY FLD
ON TABLE HOLD FORMAT ALPHA
END

DEFINE FILE CAR
FLD/A12 = 'RETAIL_COST';
END

TABLE FILE CAR
SUM RETAIL_COST
BY FLD
ON TABLE HOLD FORMAT ALPHA
END

DEFINE FILE CAR
FLD/A12 = 'SALES';
END

TABLE FILE CAR
SUM SALES/D7
BY FLD
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD FORMAT ALPHA
END

GRAPH FILE HOLD
SUM SALES AS ''
BY FLD
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRXAXIS 3
ON GRAPH SET STYLE *
TYPE=REPORT,
COLUMN=SALES,
TARGET='_BLANK',
FOCEXEC=changes_report.fex (LOB='xyzzy' ),
$
ENDSTYLE
END
 

This will give you just about the same pie graph as initialliy shown, but now all three parts are drillable.

Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Francis, I tried that and it didn't work. You can't use ACROSSCOLUMN on a pie.

GamP, I'll give your code and try to see if I can get it to produce the results I want.

Thanks for the suggestions.


WF 7.6.4
MS Office 2003
 
Posts: 12 | Registered: August 21, 2008Report 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     [CLOSED] drilling down on a Pie chart

Copyright © 1996-2020 Information Builders