cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
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