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 drill down help

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SOLVED drill down help
 Login/Join
 
Member
posted
My graph has multiple parameters which can select or not at the top to run the graph. If you select female doctoral students and then click the female section of the graph the drill down works properly, otherwise the drilldown gives the total of everyone. In other words, if I have no filters selected in the parameters above, and I click the female portion of the graph I get the total headcount, both male and female. Can anyone offer any assistance? I am very new to graphing and infoassist
Code shown below:
APP PATH PROD
ENGINE INT CACHE SET ON


-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

-DEFAULTH &WF_TITLE='WebFOCUS Report';
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-*IA_GRAPH_BEGIN
-*Do not delete or modify the comments below
*-INTERNAL_COMMENT LINE#0$PD94bWw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Ij5NZXRhRGF0YVRyZWUuVklFV19ESU1TPC9FbnRyeT4NCiAgICAgICAgPC9Qcm9wZXJ0eT4NCiAgICAgICAgPFByb3BlcnR5IG5hbWU9ImVuYWJsZVByZXZpZXciIHR5cGU9ImphdmEubGFuZy5Cb29sZWFuIj50cnVlPC9Qcm9wZXJ0eT4NCiAgICA8L09iamVjdD4NCjwvUm9vdD4NCg==
-*Do not delete or modify the comments above
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
GRAPH FILE CBM001_BUSINESS_OBJECTS_2013
-* Created by Info Assist for Graph
SUM CNT.CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.HEADCOUNT
BY CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.GENDER
ACROSS SEMESTER_NAME NOPRINT
WHERE CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.CLASSIFICATION_CODE EQ '1' OR '2' OR '5' OR '4' OR '3' OR '6' OR '7';
WHERE CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.ETHN_DESC EQ ÐN_DESC.(OR(FIND CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.ETHN_DESC IN CBM001_BUSINESS_OBJECTS_2013)).ETHN_DESC:.;
WHERE CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.GENDER EQ &GENDER.(OR(FIND CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.GENDER IN CBM001_BUSINESS_OBJECTS_2013)).GENDER:.;
WHERE CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.CIP_CODE_DESC EQ &CIP_CODE_DESC.(OR(FIND CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.CIP_CODE_DESC IN CBM001_BUSINESS_OBJECTS_2013)).CIP_CODE_DESC:.;
WHERE CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.SEMESTER_NAME EQ &SEMESTER_NAME.(OR(FIND CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.SEMESTER_NAME IN CBM001_BUSINESS_OBJECTS_2013)).SEMESTER_NAME:.;
WHERE CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.CLASS_DESC EQ &CLASS_DESC.(OR(FIND CBM001_BUSINESS_OBJECTS_2013.CBM001_BUSINESS_OBJECTS_2013.CLASS_DESC IN CBM001_BUSINESS_OBJECTS_2013)).CLASS_DESC:.;
HEADING
"Enrollment By Gender"
" "
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
TYPE=DATA, COLUMN=N2, TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/irh7meqy/std_reports/testb4ff5yr6/Sam/Charts/Drilldown_Gender.fex(ETHN_DESC=ÐN_DESC.QUOTEDSTRING GENDER=&GENDER.QUOTEDSTRING CIP_CODE_DESC=&CIP_CODE_DESC.QUOTEDSTRING SEMESTER_NAME=&SEMESTER_NAME.QUOTEDSTRING CLASS_DESC=&CLASS_DESC.QUOTEDSTRING), $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setFillColor(getSeries(0),new Color(3,48,75));
setFillColor(getSeries(1),new Color(237,169,4));
*END
ENDSTYLE
END
-*IA_GRAPH_FINISH
-*IA_GRAPH_FINISH

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


WebFOCUS 8.1.05
Linux, All Outputs
 
Posts: 5 | Registered: July 20, 2015Report This Post
Virtuoso
posted Hide Post
Hi Shauna,
quote:
TYPE=DATA, COLUMN=N2, TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/irh7meqy/std_reports/testb4ff5yr6/Sam/Charts/Drilldown_Gender.fex(ETHN_DESC=ÐN_DESC.QUOTEDSTRING GENDER=&GENDER.QUOTEDSTRING CIP_CODE_DESC=&CIP_CODE_DESC.QUOTEDSTRING SEMESTER_NAME=&SEMESTER_NAME.QUOTEDSTRING CLASS_DESC=&CLASS_DESC.QUOTEDSTRING), $

You are always only passing parameter from your filter selection. So you thought that the drill was working good when clicking on female section but it was due to your filter not from the click on the female section of the graph.
If you want to drill from the clicked section you must pass the value of the section.

I cannot say exactly how you should code it since I don't know your field's name but it must be something like this
TYPE=DATA, COLUMN=N2, TARGET='_blank',
FOCEXEC=IBFS:/WFC/Repository/irh7meqy/std_reports/testb4ff5yr6/Sam/Charts/Drilldown_Gender.fex(ETHN_DESC=ÐN_DESC.QUOTEDSTRING /
 GENDERFILT=&GENDER.QUOTEDSTRING /
 GENDERDRILL=GENDER /
 CIP_CODE_DESC=&CIP_CODE_DESC.QUOTEDSTRING /
 SEMESTER_NAME=&SEMESTER_NAME.QUOTEDSTRING /
 CLASS_DESC=&CLASS_DESC.QUOTEDSTRING), $

Where you will pass one parameter's value from your filter selection and one from your clicked selection. Then you'll have to adjust your drilled report to include both filter such as something like
WHERE GENDER EQ &GENDERFILT;
WHERE GENDER EQ '&GENDERDRILL';


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
Thank you for the suggestion MartinY. I appreciate the prompt response. However I am still having issues getting the drill to work properly. I have tried your suggestion and created a parameter for the filter and well as one for the drill and now I receive the following error: Internal exception processing IBFSService.runItem. I am truly at a loss. I believe I have read every thread on drill downs as well as the help content and I am stuck.


WebFOCUS 8.1.05
Linux, All Outputs
 
Posts: 5 | Registered: July 20, 2015Report This Post
Member
posted Hide Post
MartinY
It worked. I was overlooking one small piece of your code advice and once I realized it I was able to get the drill to work properly. Thank you so much for your help!!!!!


WebFOCUS 8.1.05
Linux, All Outputs
 
Posts: 5 | Registered: July 20, 2015Report This Post
Virtuoso
posted Hide Post
Glad to see that it was helpful.

Edit your first post then update the subject by adding [SOLVED] at the beginning.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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 drill down help

Copyright © 1996-2020 Information Builders