cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hcarr01
Level VI

valeurs dans les colonnes

Bonjour,

 

Dans une table de données JMP, je cherche des données dans 2 colonnes.

 

Pour vous donner un exemple :
Si dans ma colonne 2 je dispose de la valeur « S » et dans ma colonne 5 je dispose de la valeur 6 alors j’exécute des opérations, sinon je ferme la table et j’en ouvre une autre.

 

J’utilise le code suivant, mais cela ne fonctionne pas correctement, je cherche à comprendre pourquoi.

 

Names Default To Here (1);

dt = current data table();

If(Column(dt,2) == "S" & Column(dt,5) == "6",
	show(1);
	//code
	,
	show(2);
	//code
);

À partir de ma table et du script, il y a une erreur car cela me retourne la valeur 2 alors que ça devrait me retourner la valeur 1.

 

Merci pour votre aide !

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: valeurs dans les colonnes

Use << Get Rows Where and check for N Items from the returned list

<< get rows where(Column(dt, 1)[] == 3 & Column(dt, 2)[] == 2)
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: valeurs dans les colonnes

Use << Get Rows Where and check for N Items from the returned list

<< get rows where(Column(dt, 1)[] == 3 & Column(dt, 2)[] == 2)
-Jarmo
hcarr01
Level VI

Re: valeurs dans les colonnes

Super merci, cela fonctionne correctement avec ceci :

 

Names Default To Here (1);

dt = current data table();

A = dt << get rows where(Column(dt, 2)[] == 3  & Column(dt,4)[] == 6);

If( length(A) > 0,
   show(1);
,
   show(2);
);

Recommended Articles