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
GregP
Level III

Script sélection suppression de colonne

Bonjour,

j'ai transformé un tableau en table de données par un script.

Sur cette nouvelle table de donnée je souhaiterai  avoir un script permettant de supprimer toutes les colonnes de la dernière ligne (Chef de projet = Tout) qui sont à 0 sur cette ligne.  Pourriez vous m'aider? Un exemple de fichier est en pj.

Merci par avance

 

1 REPLY 1
SDF1
Super User

Re: Script sélection suppression de colonne

Hi @GregP ,

 

  I think I understand what you want: you want a script that will delete all the columns where "Tout" is =0, is this correct? If so, this script should do it for you.

 

Names default to Here(1);

dt = current data table();

colnames = dt<<get column names;

delcolnames={};
For (i=1, i<=Nitems(colnames), i++,
	If(Column(i)[NRows(dt)]==0,
	Insert into(delcolnames, Column(i)))
);

dt<<Select Columns(delcolnames)<<Delete Columns;

 

Hope this helps!,

DS

Recommended Articles