Hi @jthi. My code, with confidential data removed, is something like this (maybe posting it up will help):
Contingency(
SendToByGroup( {:Name( "A or B" ) == "A"} ),
Y( :Name( "Result x" ) ),
SendToByGroup(
{:Name( "A or B" ) == "A"},
Y( :Name( "Result x" ) )
),
SendToByGroup(
{:Name( "A or B" ) == "B"},
Y( :Name( "Result x" ) )
),
X( :Name( "Result y" ) ),
Automatic Recalc( 1 ),
Contingency Table( Total %( 0 ), Col %( 0 ), Row %( 0 ) ),
Mosaic Plot( 0 ),
Tests( 0 ),
By( :Name( "A or B" ) ),
SendToByGroup(
{:Name( "A or B" ) == "A"},
Local Data Filter(
Add Filter(
columns(
:Target,
:Name( "Data x" )
),
Where( :Target == "background" ),
Where(
:Name( "Data x" ) == "True"
),
Display( :Target, Size( 160, 60 ), List Display )
)
)
),
SendToByGroup(
{:Name( "A or B" ) == "B"},
Local Data Filter(
Add Filter(
columns(
:Target,
:Name( "Data x" )
),
Where( :Target Channel == "background" ),
Where(
:Name( "Data x" ) == "True"
),
Display( :Target, Size( 160, 60 ), List Display )
)
)
)
);
So I am using the Contingency Table feature. Does that allow for dynamic linking, and if not, what would be the best workaround?