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-11455%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EFiltro%20de%20datos%20para%20seleccionar%20faltantes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-11455%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EHola%2C%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EEstoy%20intentando%20escribir%20un%20gr%C3%A1fico%20Y%20por%20X%20y%20restringir%20las%20filas%20a%20las%20que%20faltan%20en%20la%20columna%20Z.%20Estoy%20modificando%20alg%C3%BAn%20c%C3%B3digo%20existente%20y%20el%20filtro%20local%20est%C3%A1%20definido.%3C%2FP%3E%0A%3CP%3Ecomo%3C%2FP%3E%0A%3CP%20style%3D%22font-size%3A%2012px%3B%20font-family%3A%20Courier%3B%22%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%20%20Add%20Filter(%20columns(%20%3AFid_data_check%20)%2C%20Where(%20%3AFid_data_check%20%3D%3D%20%22not%20found%22%20)%20)%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Epero%20esto%20depend%C3%ADa%20de%20la%20creaci%C3%B3n%20de%20una%20columna%20externa%20en%20Excel%20que%20estuviera%20%22OK%22%20o%20%22No%20encontrada%22.%20Estoy%20moviendo%20todo%20el%20flujo%20de%20trabajo%20para%20eliminar%20la%20necesidad%20de%20Excel%20y%20me%20gustar%C3%ADa%20aprovechar%20el%20manejo%20de%20valores%20faltantes.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EEstoy%20intentando%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%20Add%20Filter(%20columns(%20%3AZ%20)%2C%20Where(%20is%20missing(%3AZ)%20)%20)%2C%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3ELa%20ventana%20de%20registro%20dice%20que%3A%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3ERange%20value%20cannot%20be%20missing.%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%C2%BFC%C3%B3mo%20necesito%20modificar%20la%20l%C3%ADnea%20Agregar%20filtro%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-11455%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3ECombinaci%C3%B3n%20y%20limpieza%20de%20datos%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIngenier%C3%ADa%20de%20Calidad%20y%20Procesos%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-11456%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Filtro%20de%20datos%20para%20seleccionar%20faltante%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-11456%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELa%20mejor%20manera%20de%20resolver%20cosas%20como%20esta%20es%20dejar%20que%20JMP%20lo%20escriba%20por%20usted.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEn%20el%20Filtro%20de%20datos%20hay%20una%20opci%C3%B3n%20Seleccionar%20Falta%20en%20el%20tri%C3%A1ngulo%20rojo%20sobre%20una%20columna.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%228387_JMPScreenSnapz001.png%22%20style%3D%22width%3A%20356px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%228387_JMPScreenSnapz001.png%22%20style%3D%22width%3A%20356px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%228387_JMPScreenSnapz001.png%22%20style%3D%22width%3A%20356px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F1361i64AF5CB4DC2A0EC0%2Fimage-dimensions%2F356x295%3Fv%3Dv2%22%20width%3D%22356%22%20height%3D%22295%22%20role%3D%22button%22%20title%3D%228387_JMPScreenSnapz001.png%22%20alt%3D%228387_JMPScreenSnapz001.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEnci%C3%A9ndalo%20y%20luego%20guarde%20el%20script%20de%20filtro%20en%20una%20ventana%20de%20script%20para%20ver%20c%C3%B3mo%20hacerlo.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%228388_JMPScreenSnapz002.png%22%20style%3D%22width%3A%20310px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%228388_JMPScreenSnapz002.png%22%20style%3D%22width%3A%20310px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%228388_JMPScreenSnapz002.png%22%20style%3D%22width%3A%20310px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F1362iAFB31AB62B90869F%2Fimage-dimensions%2F310x187%3Fv%3Dv2%22%20width%3D%22310%22%20height%3D%22187%22%20role%3D%22button%22%20title%3D%228388_JMPScreenSnapz002.png%22%20alt%3D%228388_JMPScreenSnapz002.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ECurrent%20Data%20Table()%20%26lt%3B%26lt%3B%20Data%20Filter(%0A%26nbsp%3B%20Location(%20%7B838%2C%20-4%7D%20)%2C%0A%26nbsp%3B%20Add%20Filter(%20columns(%20%3Aweight%20)%2C%20Display(%20%3Aweight%20)%2C%20Select%20Missing(%20%3Aweight%20)%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20style%3D%22font-size%3A%2012px%3B%20font-family%3A%20Courier%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22font-size%3A%2012px%3B%20font-family%3A%20Courier%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-Jeff%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Hegedus
Level IV

Data Filter to select missing

Hi,

 

I am attempting script a plot Y by X plot and constrain the rows to those missing in column Z.  I am modifying some existing code and the local filter is defined

as

 

  Add Filter( columns( :Fid_data_check ), Where( :Fid_data_check == "not found" ) )

but this depended on the creation of a column externally in Excel that was either "OK" or "Not Found".  I am moving the entire workflow to eliminate the need of Excel and would like to take advantage of the is missing values handling.

 

I am trying:

 Add Filter( columns( :Z ), Where( is missing(:Z) ) ),

The Log window says that:

Range value cannot be missing.

How do I need to modify the Add Filter line?

1 REPLY 1
Jeff_Perkinson
Community Manager Community Manager

Re: Data Filter to select missing

The best way to figure stuff like this out is to let JMP write it for you.

 

In the Data Filter there's a Select Missing option in the red triangle above a column.

 

8387_JMPScreenSnapz001.png

 

Turn that on and then save the filter script to a script window to see how to script it.

 

8388_JMPScreenSnapz002.png

 

 

Current Data Table() << Data Filter(
  Location( {838, -4} ),
  Add Filter( columns( :weight ), Display( :weight ), Select Missing( :weight ) )
);

 

 

 

-Jeff

-Jeff

Recommended Articles