path=get default directory(); dt=open(path||"Example.jmp" ); dt< 0, i--, if (contains(col_listT[i], "Assembly"), remove from(col_listT, i); ); ); for (i = nitems(col_listT), i > 0, i--, if (contains(col_listT[i], "Label"), remove from(col_listT, i); ); ); dt7=dt6<< Summary( Group( eval(col_listT) ), Freq( "None" ), Weight( "None" ), output name("PN List"), invisible ); //Gets all columns of P/N and preps to stack the to get unique groups col_listR = dt7 << get column names(); for (i = nitems(col_listR), i > 0, i--, if (contains(col_listR[i], "N"), remove from(col_listR, i); ); ); dt8=dt7< 0, i--, if (contains(col_listP[i], "Label"), remove from(col_listP, i); ); ); dt9=dt8<< Stack( columns(col_listP), Source Label Column( "Labels" ), Stacked Data Column( "Data" ) ); dt9:Label<