cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

Add 2 new columns : Approved and Declined

How to add new columns which will have 2 column name as Approved and Declined and in those columns there TransactionAmount respective for each customer, and leave the row blank if in Approved column  the TransactionAmount for that Customer is declined.

 

Approved columns should only have Transaction Amount which were Approved and Declined Columns should only have TranscationAmount which were Declined

1.png

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Add 2 new columns : Approved and Declined

Create a new column and name it "Approved".  

Add a formula for the column:

If( :Status == "APPROVED", :TransactionAmount, .);

Add a second column and name it "Declined

Add the following formula to it

if( :Status == "DECLINED", :TransactionAmount, .);
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Add 2 new columns : Approved and Declined

Create a new column and name it "Approved".  

Add a formula for the column:

If( :Status == "APPROVED", :TransactionAmount, .);

Add a second column and name it "Declined

Add the following formula to it

if( :Status == "DECLINED", :TransactionAmount, .);
Jim

Recommended Articles