Focal Point
[SOLVED] parameter passing from main to drilldown

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2471048992

September 19, 2008, 02:31 AM
Koteswar
[SOLVED] parameter passing from main to drilldown
Hi All,

I am having main graph and one drilldown graph. I want to pass two parameters from main to drilldown, but i dont want to display one of the field in main graph. I have tried with noprint, but it dint work. Please give me any suggetions.
Thanks in advance.

This message has been edited. Last edited by: Kerry,
September 19, 2008, 09:00 AM
GinnyJakes
Koteswar,

First of all, please update your profile signature with your product suite, release and platform so that we can better help you. There is a sticky post that gives directions.

Secondly, can you reproduce your question with the CAR file (in ibisamp) and then post the code?

Thanks.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
September 19, 2008, 09:45 AM
Koteswar
Hi All,

I am having main graph and one drilldown graph. I want to pass two parameters from main to drilldown, but i dont want to display one of the field in main graph. I have tried with noprint, but it dint work. Please give me any suggetions.

Here is the example:
SET ASNAMES = ON
TABLE FILE EMPDATA
SUM CNT.PIN AS 'COUNTS'
SALARY
BY DEPT
BY DIV
ON TABLE HOLD AS HOLDSUM
END
-RUN
GRAPH FILE HOLDSUM
SUM
COUNTS
SALARY
BY DEPT NOPRINT
BY DIV
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
TYPE=DATA,
COLUMN=N2,
TARGET=_self,
FOCEXEC=itlc_application_drill1.fex(DIV= DIV DEPT= DEPT),
$
ENDSTYLE
END



Thanks.

koteswar
---------------------------------
Prod: WF 7.6.4 with 7.6.4 WFRS;
Dev: WF 7.6.1 with 7.6.1
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server
September 19, 2008, 09:51 AM
GinnyJakes
Please see this most recent thread:

https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/3761048992


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
October 03, 2008, 04:23 PM
<Tmproff>
I did something very similar to this recently. All you have to do is put your drill down variables under your SUM command and use NOPRINT. Dont put them as BY statements.

So for example:

SET ASNAMES = ON
TABLE FILE EMPDATA
SUM CNT.PIN AS 'COUNTS'
SALARY
BY DEPT
BY DIV
ON TABLE HOLD AS HOLDSUM
END
-RUN
GRAPH FILE HOLDSUM
SUM
COUNTS
SALARY
DEPT NOPRINT
BY DIV
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
TYPE=DATA,
COLUMN=N2,
TARGET=_self,
FOCEXEC=itlc_application_drill1.fex(DIV= DIV DEPT= DEPT),
$
ENDSTYLE
END