cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-4712%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E9%87%8D%E8%A4%87%E3%82%92%E9%80%A3%E7%B5%90%E3%81%97%E3%81%A6%E5%89%8A%E9%99%A4%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%A9%E3%81%93%E3%82%92%E9%81%B8%E6%8A%9E%20-%20jmp%E3%83%AA%E3%82%B9%E3%83%88%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4712%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3E%3CBR%20%2F%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E3%81%93%E3%81%AE%E5%95%8F%E9%A1%8C%E3%81%AF%E6%9C%AC%E5%BD%93%E3%81%AB%E7%A7%81%E3%82%92%E5%9B%B0%E6%83%91%E3%81%95%E3%81%9B%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%80%A3%E7%B5%90%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%9F%E3%81%84%E3%81%AE%E3%81%A7%E3%81%99%E3%81%8C%E3%80%811%20%E3%81%A4%E3%81%AE%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%20(dt2)%20%E3%81%AB%E3%80%81%E6%9C%80%E5%88%9D%E3%81%AE%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%20(dt1)%20%E3%81%AB%E3%81%99%E3%81%A7%E3%81%AB%E3%81%82%E3%82%8B%E3%81%84%E3%81%8F%E3%81%A4%E3%81%8B%E3%81%AE%E3%82%A8%E3%83%B3%E3%83%88%E3%83%AA%E3%82%82%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%20%E6%9C%80%E5%88%9D%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%EF%BC%88dt1%EF%BC%89%E3%81%AB%E3%81%82%E3%82%8B%E3%82%82%E3%81%AE%E3%82%92%E4%BF%9D%E6%8C%81%E3%81%97%E3%80%812%E7%95%AA%E7%9B%AE%E3%81%AE%E3%82%82%E3%81%AE%EF%BC%88dt2%EF%BC%89%E3%81%A7%E3%81%9D%E3%82%8C%E3%82%89%E3%82%92%E5%89%8A%E9%99%A4%E3%81%97%E3%81%9F%E3%81%84%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%A7%81%E3%81%AF%E3%81%99%E3%81%A7%E3%81%AB%E8%A9%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E3%80%81select%20where%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E5%88%A5%E3%81%AE%E5%95%8F%E9%A1%8C%E3%82%92%E6%8A%B1%E3%81%88%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81%E9%80%A3%E7%B5%90%E3%81%99%E3%82%8B%E5%89%8D%E3%81%AB%202%20%E7%95%AA%E7%9B%AE%E3%81%AE%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E9%87%8D%E8%A4%87%E3%82%92%E5%89%8A%E9%99%A4%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%20%E3%81%99%E3%81%B9%E3%81%A6%E3%81%AE%E9%87%8D%E8%A4%87%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E3%81%9D%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%20select%20where%20%E5%8F%A5%E3%82%84%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC%E3%81%AE%E5%A4%89%E6%95%B0%E3%81%A8%E3%81%97%E3%81%A6%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AF%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CPRE%20__default_attr%3D%22plain%22%20__jive_macro_name%3D%22code%22%20class%3D%22jive_text_macro%20jive_macro_code%20_jivemacro_uid_13340514351792108%22%20jivemacro_uid%3D%22_13340514351792108%22%3E%3CBR%20%2F%3E%3CP%3ESummarize(%20a%20%3D%20by(column(dt%2C%20%22band%22))%2Cc%3Dcount%20)%3B%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FPRE%3E%3CP%3E%E5%A4%89%E6%95%B0%E3%81%AF%E6%AC%A1%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%3CSTRONG%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Courier%20New%3B%22%3E%3CSTRONG%20style%3D%22font-size%3A%2010pt%3B%20font-family%3A%20Courier%20New%3B%22%3E%3CSTRONG%3E%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FSTRONG%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ea%20%3D%20%7B%222_12_000264_0_9%22%E3%80%81%222_12_000265_0_1%22%E3%80%81%222_12_000267_0_3%22%E3%80%81%222_12_000269_1_3%22%E3%80%81%222_12_000269_2_1%22%E3%80%81%222_12_000270_1_7%22%E3%80%81%222_12_000270_02_15%22%201%22%E3%80%81%222_12_000272_1_9%22%E3%80%81%222_12_000272_2_7%22%E3%80%81%222_12_000273_1_1%22%E3%80%81%222_12_000273_2_8%22%20%E3%80%81%E3%80%8C2_12_000274_0_4%E3%80%8D%E3%80%81%E3%80%8C2_12_000275_1_3%E3%80%8D%E3%80%81%E3%80%8C2_12_000275_2_1%E3%80%8D%E3%80%81%E3%80%8C2_12_000276_1_4%E3%80%8D%E3%80%81%E3%80%8C2_12_000276_2_2%E3%80%8D%7D%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E3%81%8A%E3%82%88%E3%81%B3%E5%AE%8C%E5%85%A8%E3%81%AA%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CPRE%20__default_attr%3D%22sql%22%20__jive_macro_name%3D%22code%22%20class%3D%22jive_text_macro%20jive_macro_code%20_jivemacro_uid_1334051435039635%22%20jivemacro_uid%3D%22_1334051435039635%22%3E%3CBR%20%2F%3E%3CP%3Edt2%20%26lt%3B%26lt%3B%20Data%20Filter(%20Add%20Filter(%20columns(%20%3ABandname%20)%2C%20Where(%20%3ABandname%20%3D%3D%20%7B%222_12_000264_0_9%22%2C%20%222_12_000265_0_1%22%2C%20%222_12_000267_0_3%22%2C%20%222_12_000269_1_3%22%2C%20%222_12_000269_2_1%22%2C%20%222_12_000270_1_7%22%2C%20%222_12_000270_2_5%22%2C%20%222_12_000271_0_1%22%2C%20%222_12_000272_1_9%22%2C%20%222_12_000272_2_7%22%2C%20%222_12_000273_1_1%22%2C%20%222_12_000273_2_8%22%2C%20%222_12_000274_0_4%22%2C%20%222_12_000275_1_3%22%2C%20%222_12_000275_2_1%22%2C%20%222_12_000276_1_4%22%2C%20%222_12_000276_2_2%22%7D)%2C%20Display(%20%3ABandname%2C%20Size(%20221%2C%20259%20)%2C%20List%20Display%20)%2C%20Mode(%20Show(%201%20)%20)%20))%3B%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FPRE%3E%3CP%3E%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E5%A4%89%E6%95%B0%E3%81%AE%E4%BD%BF%E7%94%A8%E3%81%AF%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CPRE%20__default_attr%3D%22sql%22%20__jive_macro_name%3D%22code%22%20class%3D%22jive_text_macro%20jive_macro_code%20_jivemacro_uid_13340514349148908%22%20jivemacro_uid%3D%22_13340514349148908%22%3E%3CBR%20%2F%3E%3CP%3EAdd%20Filter(%20columns(%20%3ABandname%20)%2C%20Where(%20%3ABandname%20%3D%3D%20a%20)%2C%20Display(%20%3ABandname%2C%20Size(%20221%2C%20259%20)%2C%20List%20Display%20)%2C%20Mode(%20Show(%201%20)%20)%20))%3B%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%E3%81%AA%E3%81%9C%EF%BC%9F%EF%BC%9F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E4%B8%BB%E3%81%AA%E5%95%8F%E9%A1%8C%E3%81%AF%E4%B8%8A%E8%A8%98%E3%81%AE%E5%95%8F%E9%A1%8C%E3%81%A7%E3%81%82%E3%82%8A%E3%80%81%E9%80%A3%E7%B5%90%E3%81%99%E3%82%8B%E5%89%8D%E3%81%AB%E9%87%8D%E8%A4%87%E3%82%92%E5%89%8A%E9%99%A4%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%89%8D%E3%82%82%E3%81%A3%E3%81%A6%E6%84%9F%E8%AC%9D%E3%81%97%E3%81%BE%E3%81%99%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4714%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%E9%87%8D%E8%A4%87%E3%82%92%E9%80%A3%E7%B5%90%E3%81%97%E3%81%A6%E5%89%8A%E9%99%A4%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%A9%E3%81%93%E3%82%92%E9%81%B8%E6%8A%9E%20-%20jmp%E3%83%AA%E3%82%B9%E3%83%88%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4714%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%A9%E3%81%86%E3%82%82%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%80%81%E3%81%93%E3%82%8C%E3%81%AF%E3%81%86%E3%81%BE%E3%81%8F%E3%81%84%E3%81%8D%E3%81%BE%E3%81%99...%E3%81%9D%E3%81%97%E3%81%A6%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AE%E6%9C%80%E5%88%9D%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AFjsl%E3%82%92%E7%90%86%E8%A7%A3%E3%81%99%E3%82%8B%E3%81%AE%E3%81%AB%E6%9C%AC%E5%BD%93%E3%81%AB%E8%89%AF%E3%81%84%E3%81%A7%E3%81%99%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4713%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%E9%87%8D%E8%A4%87%E3%82%92%E9%80%A3%E7%B5%90%E3%81%97%E3%81%A6%E5%89%8A%E9%99%A4%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%A9%E3%81%93%E3%82%92%E9%81%B8%E6%8A%9E%20-%20jmp%20%E3%83%AA%E3%82%B9%E3%83%88%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4713%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E7%90%86%E7%94%B1%E3%81%AF%E3%82%8F%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%81%8C%E3%80%81%E3%82%AF%E3%83%AA%E3%82%A2%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%20%E3%83%AA%E3%82%B9%E3%83%88%E3%81%8C%E5%AE%8C%E5%85%A8%E3%81%AB%E8%A9%95%E4%BE%A1%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%A7%E3%82%82%E3%80%81JSL%20%E3%81%8C%E3%83%AA%E3%82%B9%E3%83%88%E5%A4%89%E6%95%B0%E3%82%92%E8%A7%A3%E6%B1%BA%E3%81%97%E3%81%AA%E3%81%84%E5%A0%B4%E5%90%88%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E3%81%93%E3%82%8C%E3%82%92%E5%9B%9E%E9%81%BF%E3%81%99%E3%82%8B%201%20%E3%81%A4%E3%81%AE%E6%96%B9%E6%B3%95%E3%81%AF%E3%80%81%E5%BC%8F%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%80%81%E8%A9%95%E4%BE%A1%E3%81%AE%E5%89%8D%E3%81%AB%E8%A7%A3%E6%9E%90%E6%B8%88%E3%81%BF%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E3%81%9D%E3%82%8C%E3%81%AB%E4%BB%A3%E5%85%A5%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%80%82%20%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%81%AE%E4%BE%8B%E3%82%92%E6%AC%A1%E3%81%AB%E7%A4%BA%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3Edt%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E9%96%8B%E3%81%91%E3%82%8B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22%24ENGLISH_SAMPLE_DATA%2FBig%20Class.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3Ea%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20%7B%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%E3%80%8C%E3%82%B1%E3%82%A4%E3%83%86%E3%82%A3%E3%80%8D%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%20%E3%80%8C%E3%83%98%E3%83%B3%E3%83%AA%E3%83%BC%E3%80%8D%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%20%E3%80%8C%E3%83%AD%E3%83%90%E3%83%BC%E3%83%88%E3%80%8D%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20%7D%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3Edf_expr%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E5%BC%8F%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20dt%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%E3%83%87%E3%83%BC%E3%82%BF%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC%3CSTRONG%3E(%3C%2FSTRONG%3E%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%82%92%E8%BF%BD%E5%8A%A0%3CSTRONG%3E(%3C%2FSTRONG%3E%E5%88%97%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%E5%90%8D%E5%89%8D%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%E3%81%A9%E3%81%93%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%E5%90%8D%E5%89%8D%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3D%3D%3C%2FSPAN%3E%20a%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%E7%94%BB%E9%9D%A2%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%E5%90%8D%E5%89%8D%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%E3%80%81%3C%2FSPAN%3E%E3%83%AA%E3%82%B9%E3%83%88%E8%A1%A8%E7%A4%BA%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E3%81%AB%E4%BB%A3%E5%85%A5%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20df_expr%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E5%BC%8F%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20a%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E3%83%91%E3%83%BC%E3%82%B9%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E3%82%B7%E3%83%A3%E3%82%A2%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E8%A9%95%E4%BE%A1%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20a%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E8%A9%95%E4%BE%A1%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20df_expr%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E3%83%AA%E3%82%B9%E3%83%88%E3%81%AB%E5%9F%BA%E3%81%A5%E3%81%84%E3%81%A6%E6%9D%A1%E4%BB%B6%E4%BB%98%E3%81%8D%E3%81%A7%E8%A1%8C%E3%82%92%E9%81%B8%E6%8A%9E%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%80%81For%20Each%20Row()%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%88%E3%82%8A%E5%8A%B9%E7%8E%87%E7%9A%84%E3%81%AB%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%8C%96%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%8C%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%20%E4%BB%A5%E4%B8%8B%E3%81%AE%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E7%B5%90%E6%9E%9C%E3%81%AF%E3%80%81%E4%B8%8A%E8%A8%98%E3%81%A8%E5%90%8C%E3%81%98%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%20(%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC%20%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%82%92%E9%99%A4%E3%81%8F)%E3%80%82%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3Edt%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%232800e1%3B%22%3E%E9%96%8B%E3%81%91%E3%82%8B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22%24ENGLISH_SAMPLE_DATA%2FBig%20Class.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23801392%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3Ea%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20%7B%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%E3%80%8C%E3%82%B1%E3%82%A4%E3%83%86%E3%82%A3%E3%80%8D%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%20%E3%80%8C%E3%83%98%E3%83%B3%E3%83%AA%E3%83%BC%E3%80%8D%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%20%E3%80%8C%E3%83%AD%E3%83%90%E3%83%BC%E3%83%88%E3%80%8D%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20%7D%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20color%3A%20%232800e1%3B%22%3E%E8%A1%8C%E3%81%94%E3%81%A8%E3%81%AB%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%E8%A1%8C%E3%81%AE%E7%8A%B6%E6%85%8B%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%E8%A1%8C%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E()%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%E9%81%B8%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%9F%E7%8A%B6%E6%85%8B%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%E5%90%AB%E3%82%80%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20a%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%E3%80%81%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23160091%3B%22%3E%20%3A%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%E5%90%8D%E5%89%8D%3CSTRONG%3E%5B%5D%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%87%8D%E8%A4%87%E3%81%99%E3%82%8B%E8%A1%8C%E3%81%8C%E9%81%B8%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%9F%E3%82%89%E3%80%81%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%A0%E3%81%91%E3%81%A7%E3%81%99%3CEM%3Edt%20%26lt%3B%26lt%3B%20%E8%A1%8C%E3%82%92%E5%89%8A%E9%99%A4%3C%2FEM%3E%E9%80%A3%E7%B5%90%E5%89%8D%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
anneg
Level I

concatenate delete duplicates; select where - jmp list


Hello,

this problem really puzzles me.

I want to make an concatenate but in the one table (dt2) I got also some entries I've got allready in the first one (dt1). I want to keep the ones in the first data Table (dt1) and want to delete them in the second one (dt2).

I allready tried and have another problem using the select where and delete the duplicates in the second table before concatenating. I have a List of all the the the duplicates, but I canot use the list as a variable in the select where clause nor the data filter


Summarize( a = by(column(dt, "band")),c=count );



The variable looks like this:

 

a = {"2_12_000264_0_9", "2_12_000265_0_1", "2_12_000267_0_3", "2_12_000269_1_3", "2_12_000269_2_1", "2_12_000270_1_7", "2_12_000270_2_5", "2_12_000271_0_1", "2_12_000272_1_9", "2_12_000272_2_7", "2_12_000273_1_1", "2_12_000273_2_8", "2_12_000274_0_4", "2_12_000275_1_3", "2_12_000275_2_1", "2_12_000276_1_4", "2_12_000276_2_2"};

and the complete data filter:


dt2 << Data Filter( Add Filter( columns( :Bandname ), Where( :Bandname == {"2_12_000264_0_9", "2_12_000265_0_1", "2_12_000267_0_3", "2_12_000269_1_3", "2_12_000269_2_1", "2_12_000270_1_7", "2_12_000270_2_5", "2_12_000271_0_1", "2_12_000272_1_9", "2_12_000272_2_7", "2_12_000273_1_1", "2_12_000273_2_8", "2_12_000274_0_4", "2_12_000275_1_3", "2_12_000275_2_1", "2_12_000276_1_4", "2_12_000276_2_2"}), Display( :Bandname, Size( 221, 259 ), List Display ), Mode( Show( 1 ) ) ));



But using the variable doesnt work:


Add Filter( columns( :Bandname ), Where( :Bandname == a ), Display( :Bandname, Size( 221, 259 ), List Display ), Mode( Show( 1 ) ) ));




why??

But the main problem is the above one, deleting duplicates before concatenating.

Thanks in Advance

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: concatenate delete duplicates; select where - jmp list

I don't know why, but in some cases JSL just don't resolve list variables even when a clear-text list is perfectly evaluated.

One way to get around this is to use an expression and substitute a parsed list into it before evaluation. Here's a data filter example:

dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );

a = {"KATIE", "HENRY", "ROBERT"};

df_expr = Expr(dt << data filter(add filter( columns( :name ), where( :name==a ), Display( :name, List Display ))));

Substituteinto( df_expr, Expr( a ), Parse( Char( Eval( a ) ) ) ) ;

eval(df_expr);


However, to conditionally select rows based on a list may be scripted more efficiently using For Each Row(). The result of the code below should be identical to the above (except for the Data Filter Window).

dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );

a = {"KATIE", "HENRY", "ROBERT"};

For Each Row( Row State( Row() ) = Selected State( Contains( a, :name[] ) ) )

Once the duplicate rows are selected, just run dt << delete rows before concatenating.

View solution in original post

2 REPLIES 2
ms
Super User (Alumni) ms
Super User (Alumni)

Re: concatenate delete duplicates; select where - jmp list

I don't know why, but in some cases JSL just don't resolve list variables even when a clear-text list is perfectly evaluated.

One way to get around this is to use an expression and substitute a parsed list into it before evaluation. Here's a data filter example:

dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );

a = {"KATIE", "HENRY", "ROBERT"};

df_expr = Expr(dt << data filter(add filter( columns( :name ), where( :name==a ), Display( :name, List Display ))));

Substituteinto( df_expr, Expr( a ), Parse( Char( Eval( a ) ) ) ) ;

eval(df_expr);


However, to conditionally select rows based on a list may be scripted more efficiently using For Each Row(). The result of the code below should be identical to the above (except for the Data Filter Window).

dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" );

a = {"KATIE", "HENRY", "ROBERT"};

For Each Row( Row State( Row() ) = Selected State( Contains( a, :name[] ) ) )

Once the duplicate rows are selected, just run dt << delete rows before concatenating.

anneg
Level I

Re: concatenate delete duplicates; select where - jmp list

Thanks so much, this works great... and your first code is really good for understanding jsl

Recommended Articles