cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
sipho-ss
Level I

Finding value of column y at max value of column X

I want to find the maxium value in column "Power (dBm)" grouped by BarID, ChipID.

And use that to find the corresponding value in column "Wavelength (nm)" to give me a summary table showing the value of maxium power and what value of wavelngth it occurs at grouped by BarID, ChipID etc.

siphoss_0-1659393423869.png

 

 

1 REPLY 1
txnelson
Super User

Re: Finding value of column y at max value of column X

Here is an example of doing a similar thing using the Big Class data table

Names Default To Here( 1 );
dt = 
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );

dt << select where(col max(:height,:sex) == :height );

dt << subset(selected rows(1), columns({"Sex","Height","Weight"}));
Jim

Recommended Articles