Hi,
I want to use a Data filter in a Dashboard to restrict a Graph builder Plot.
But in addition to the selected data, I want to show some reference data.
Let's say, the filter is used to select a child from Big Class - and in addition, the Graph builder plot should always show the data of all boys in the class.
Is this possible with standard dashboard - or do I have to use JSL to atomate the selection of the respective rows?
In this illustration the Local Data Filter on the Left should just control the data filter part of the GraphBuilder starting from OR (:sex = =M should be plotted in addition.)
Local Here(
table1 = Open( "C:\Program Files\SAS\JMP\17\Samples\Data\Big Class.jmp" );
New Window( "Big Class - Dashboard",
Data Filter Context Box(
Tab Page Box(
"Dashboard",
H Splitter Box(
Size( 1041, 616 ),
<<Sizes( {0.204739336492891, 0.795260663507109} ),
Tab Page Box(
"Local Data Filter",
Scroll Box(
Size( 213, 587 ),
Flexible( 1 ),
table1 << Data Filter(
Local,
Add Filter(
columns( :name ),
Where( :name == "BARBARA" ),
Display(
:name,
N Items( 15 ),
Find( Set Text( "" ) )
)
)
)
)
),
Tab Page Box(
"Graph Builder",
Scroll Box(
Size( 825, 587 ),
Flexible( 1 ),
V List Box(
table1 <<
Graph Builder(
Size( 513, 567 ),
Show Control Panel( 0 ),
Summary Statistic( "Median" ),
Graph Spacing( 4 ),
Variables(
X( :height ),
Y( :weight ),
Color( :sex )
),
Elements(
Points( X, Y, Legend( 19 ) ),
Smoother( X, Y, Legend( 20 ) )
),
Local Data Filter(
Add Filter(
columns( :sex ),
Where( :sex == "M" )
), // OR:
Add Filter(
columns( :name ),
Display(
:name,
N Items( 15 ),
Find( Set Text( "" ) )
)
)
)
)
)
)
)
)
)
)
)
)