Focal Point
[CLOSED] Drilldowns

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

January 18, 2010, 01:22 PM
lovime85
[CLOSED] Drilldowns
I have to make 3 graphs, the first drill by year the second, the second drill the third by quarter, and the third make the last drill by month so it could show a report ...the problem is that when i make the drill from first to second or the drill from the last one to the report it is ok..but from the second to the third the parameter is not passed... it isnt showed at the report variables in the WHERE/IF window..

these are the first three graphs..
thank you Big Grin


First

TABLE FILE F_QLTY_MEDERROR
SUM
'CNT.F_QLTY_MEDERROR.F_QLTY_MEDERROR.ERROR_LEVEL' AS 'Count error level'
'F_QLTY_MEDERROR.F_QLTY_MEDERROR.ERROR_LEVEL' AS 'Error level'
BY 'F_QLTY_MEDERROR.D_TIME.TIME_YEAR' AS 'Year'
BY 'F_QLTY_MEDERROR.D_SPECIALTY.DESCRIPTION' AS 'Specialty'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS RMSC FORMAT ALPHA
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
BOTTOMGAP=0.027778,
$
TYPE=DATA,
COLOR='WHITE',
BACKCOLOR=RGB(189 196 193),
STYLE=BOLD,
$
TYPE=TITLE,
SIZE=12,
COLOR='WHITE',
BACKCOLOR=RGB(0 0 139),
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=20,
COLOR='NAVY',
STYLE=BOLD,
$
TYPE=FOOTING,
COLOR='WHITE',
BACKCOLOR='NAVY',
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
COLOR='NAVY',
BACKCOLOR=RGB(189 196 193),
$
ENDSTYLE
END
-*INTERNAL_PROPERTIES$fieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$enablePreview=true;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$prefixDisplayMode=;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
GRAPH FILE RMSC
-* Created by Advanced Graph Assistant
SUM RMSC.RMSC.ERROR_LEVEL
BY HIGHEST 4 RMSC.RMSC.DESCRIPTION
ACROSS RMSC.RMSC.TIME_YEAR
WHERE RMSC.RMSC.TIME_YEAR GE 2009;
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPieDepth(10);
setPieFeelerTextDisplay(1);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setLegendMarkerPosition(1);
setScaleMinAuto(getY1Axis(),false);
setTextString(getY1Title(),"Error Level");
setDisplay(getY1Title(),true);
restoreAllSlices();
setTextString(getTitle(),"Medical Error");
setDisplay(getTitle(),true);
setLegendSeriesCount(0);
setLegendMarkersPerRow(0);
setDisplayOffScale(getY1Axis(),false);
setScaleMaxAuto(getY1Axis(),false);
setScaleMax(getY1Axis(),300.0);
setGridStepAuto(getY1MajorGrid(),false);
setGridStep(getY1MajorGrid(),80.0);
setTextString(getSubtitle(),"By Specialty");
setDisplay(getSubtitle(),true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, FOCEXEC=lvm_mespecialtygraphdrillquarter(Year=RMSC.RMSC.TIME_YEAR), $
ENDSTYLE
END


Second


TABLE FILE F_QLTY_MEDERROR
SUM
'CNT.F_QLTY_MEDERROR.F_QLTY_MEDERROR.ERROR_LEVEL' AS 'Count error level'
'F_QLTY_MEDERROR.F_QLTY_MEDERROR.ERROR_LEVEL' AS 'Error level'
BY 'F_QLTY_MEDERROR.D_TIME.TIME_YEAR' AS 'Year'
BY 'F_QLTY_MEDERROR.D_TIME.TIME_QUARTERNAME' AS 'Quarter'
BY 'F_QLTY_MEDERROR.D_SPECIALTY.DESCRIPTION' AS 'Specialty'
WHERE F_QLTY_MEDERROR.D_TIME.TIME_YEAR EQ &Year;
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS RMSC FORMAT ALPHA
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
BOTTOMGAP=0.027778,
$
TYPE=DATA,
COLOR='WHITE',
BACKCOLOR=RGB(189 196 193),
STYLE=BOLD,
$
TYPE=TITLE,
SIZE=12,
COLOR='WHITE',
BACKCOLOR=RGB(0 0 139),
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=20,
COLOR='NAVY',
STYLE=BOLD,
$
TYPE=FOOTING,
COLOR='WHITE',
BACKCOLOR='NAVY',
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
COLOR='NAVY',
BACKCOLOR=RGB(189 196 193),
$
ENDSTYLE
END
GRAPH FILE RMSC
-* Created by Advanced Graph Assistant
SUM RMSC.RMSC.ERROR_LEVEL
BY HIGHEST 4 RMSC.RMSC.DESCRIPTION
ACROSS RMSC.RMSC.TIME_QUARTERNAME
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPieDepth(10);
setPieFeelerTextDisplay(1);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setLegendMarkerPosition(1);
setScaleMinAuto(getY1Axis(),false);
setTextString(getY1Title(),"Error Level");
setDisplay(getY1Title(),true);
restoreAllSlices();
setTextString(getTitle(),"Medical Error");
setDisplay(getTitle(),true);
setLegendSeriesCount(0);
setLegendMarkersPerRow(0);
setDisplayOffScale(getY1Axis(),false);
setScaleMaxAuto(getY1Axis(),false);
setScaleMax(getY1Axis(),300.0);
setGridStepAuto(getY1MajorGrid(),false);
setGridStep(getY1MajorGrid(),80.0);
setTextString(getSubtitle(),"By Specialty");
setDisplay(getSubtitle(),true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, FOCEXEC=lvm_mespecialtygraphdrillmonth(Quarter=RMSC.RMSC.TIME_QUARTERNAME), $
ENDSTYLE
END


Third



TABLE FILE F_QLTY_MEDERROR
SUM
'CNT.F_QLTY_MEDERROR.F_QLTY_MEDERROR.ERROR_LEVEL' AS 'Count error level'
'F_QLTY_MEDERROR.F_QLTY_MEDERROR.ERROR_LEVEL' AS 'Error level'
BY 'F_QLTY_MEDERROR.D_TIME.TIME_YEAR' AS 'Year'
BY 'F_QLTY_MEDERROR.D_TIME.TIME_QUARTERNAME' AS 'Quarter'
BY 'F_QLTY_MEDERROR.D_TIME.TIME_MONTHNAME' AS 'Month'
BY 'F_QLTY_MEDERROR.D_SPECIALTY.DESCRIPTION' AS 'Specialty'
WHERE F_QLTY_MEDERROR.D_TIME.TIME_QUARTERNAME EQ &Quarter;
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS RMSC FORMAT ALPHA
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
BOTTOMGAP=0.027778,
$
TYPE=DATA,
COLOR='WHITE',
BACKCOLOR=RGB(189 196 193),
STYLE=BOLD,
$
TYPE=TITLE,
SIZE=12,
COLOR='WHITE',
BACKCOLOR=RGB(0 0 139),
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=20,
COLOR='NAVY',
STYLE=BOLD,
$
TYPE=FOOTING,
COLOR='WHITE',
BACKCOLOR='NAVY',
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
COLOR='NAVY',
BACKCOLOR=RGB(189 196 193),
$
ENDSTYLE
END
GRAPH FILE RMSC
-* Created by Advanced Graph Assistant
SUM RMSC.RMSC.ERROR_LEVEL
BY HIGHEST 4 RMSC.RMSC.DESCRIPTION
ACROSS RMSC.RMSC.TIME_MONTHNAME
WHERE RMSC.RMSC.TIME_YEAR GE 2009;
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPieDepth(10);
setPieFeelerTextDisplay(1);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setLegendMarkerPosition(1);
setScaleMinAuto(getY1Axis(),false);
setTextString(getY1Title(),"Error Level");
setDisplay(getY1Title(),true);
restoreAllSlices();
setTextString(getTitle(),"Medical Error");
setDisplay(getTitle(),true);
setLegendSeriesCount(0);
setLegendMarkersPerRow(0);
setDisplayOffScale(getY1Axis(),false);
setScaleMaxAuto(getY1Axis(),false);
setScaleMax(getY1Axis(),300.0);
setGridStepAuto(getY1MajorGrid(),false);
setGridStep(getY1MajorGrid(),80.0);
setTextString(getSubtitle(),"By Specialty");
setDisplay(getSubtitle(),true);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, FOCEXEC=lvm_mespecialtyreport(Month=RMSC.RMSC.TIME_MONTHNAME), $
ENDSTYLE
END

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


WebFOCUS 7.6, Windows
All output
January 22, 2010, 03:36 PM
Kerry
Hi lovime85,

Does the suggestion from the other topic you have, Drilldown graph, help on this one?

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.