cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Agustin
Level III

Make combined data table with script

Hi I'm using the Variability chart and looking at the variance components. When I right click the Variance components table it gives me the option to make combined data table, is it possible to translate this step to jsl instead of the manual right click?

 

Thank you

2 ACCEPTED SOLUTIONS

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: Make combined data table with script

Do it manually and take a look at the table that is produced.  It will contain a table script which contains the JSL to produce the same outcome.

-Dave

View solution in original post

Agustin
Level III

Re: Make combined data table with script

This fixed it:

platform[1][Outline Box( "Variance Components" )][Table Box( 1 )]<<
Make Combined Data Table;

View solution in original post

4 REPLIES 4
David_Burnham
Super User (Alumni)

Re: Make combined data table with script

Do it manually and take a look at the table that is produced.  It will contain a table script which contains the JSL to produce the same outcome.

-Dave
Agustin
Level III

Re: Make combined data table with script

Hi David, how do I look at the table script? I tried using the log functionality but it didn't show anything.

 

Thanks

Agustin
Level III

Re: Make combined data table with script

Hi I found what you meant however when I try to run it this error comes up:

Agustin_0-1656498565746.png

 

 

Names Default To Here( 1 );
platform = Data Table(
	"table"
) << Variability Chart(
	Y( :measurement ),
	X( :Lot, :Instrument, :Operator, :Site ),
	Model( "Main Effect" ),
	Variance Components( 1 ),
	SendToReport(
		Dispatch(
			{"Variance Components"},
			"CV",
			NumberColBox,
			{Visibility( "Visible" )}
		)
	)
);
Wait( 0 );
Report( platform[1] )[Outline Box( "Variance Components" )][Table Box( 1 )] <<
Make Combined Data Table;
Report( platform[1] ) << Close Window;

That's the code for reference, firstly it's missing several variability charts, but even when I add them manually the same error pops up. Any ideas?

Agustin
Level III

Re: Make combined data table with script

This fixed it:

platform[1][Outline Box( "Variance Components" )][Table Box( 1 )]<<
Make Combined Data Table;