Hi Guys,
Have written two bit of code to stack a Dt this:
Stack(
columns(
:Name( "L1-D1-O1-R1" ),
:Name( "L1-D1-O1-R2" ),
:Name( "L1-D1-O1-R3" ),
:Name( "L1-D1-O2-R1" ),
:Name( "L1-D1-O2-R2" ),
:Name( "L1-D1-O2-R3" ),
:Name( "L1-D2-O1-R1" ),
:Name( "L1-D2-O1-R2" ),
:Name( "L1-D2-O1-R3" ),
:Name( "L1-D2-O2-R1" ),
:Name( "L1-D2-O2-R2" ),
:Name( "L1-D2-O2-R3" ),
:Name( "L2-D3-O1-R1" ),
:Name( "L2-D3-O1-R2" ),
:Name( "L2-D3-O1-R3" ),
:Name( "L2-D3-O2-R1" ),
:Name( "L2-D3-O2-R2" ),
:Name( "L2-D3-O2-R3" ),
:Name( "L2-D4-O1-R1" ),
:Name( "L2-D4-O1-R2" ),
:Name( "L2-D4-O1-R3" ),
:Name( "L2-D4-O2-R1" ),
:Name( "L2-D4-O2-R2" ),
:Name( "L2-D4-O2-R3" )
),
And this:
dt2 = dta << stack(column(column("L1-D1-O1-R1"), column("L1-D1-O1-R2"), column("L1-D1-O1-R3"), column("L1-D1-O2-R1"), column("L1-D1-O2-R2"), column("L1-D1-O2-R3"),column("L1-D2-O1-R1"),column("L1-D2-O1-R2"), column("L1-D2-O1-R3"), column("L1-D2-O2-R1"), column("L1-D2-O2-R2"), column("L1-D2-O2-R3"), ///
column("L2-D3-O1-R1"), column("L2-D3-O1-R2"), column("L2-D3-O1-R3"), column("L2-D3-O2-R1"), column("L2-D3-O2-R2"), column("L2-D3-O2-R3"),column("L2-D4-O1-R1"), column("L2-D4-O1-R2"), column("L2-D4-O1-R3"), column("L2-D4-O2-R1"),column("L2-D4-O2-R2", column("L2-D4-O2-R3")),
Source Label Column( "Op_Rep" ),
Stacked Data Column( "titer" ))
);
Cant get either of them to work, any ideas????
Thanks Mick