Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Merge 3 Columns, and Create 1 new Column

$
0
0

Hi, 

 

I'm a newbie to alteryx, and I'm trying to merge three value columns into one new value column, and create a new column to identify each type of value.  The data currently looks like the following (Fake data obviously): 

 

AccountDateDebitCreditBudget
11/1/2016 $  139.00 $  187.00 $  818.00
21/1/2016 $  937.00 $  725.00 $  482.00
31/1/2016 $  299.00 $  322.00 $  908.00
41/1/2016 $  258.00 $  673.00 $  612.00
51/1/2016 $  107.00 $  929.00 $  981.00
61/1/2016 $  434.00 $  997.00 $  172.00
71/1/2016 $  511.00 $  672.00 $  569.00
81/1/2016 $  206.00 $  811.00 $  283.00
91/1/2016 $  888.00 $  692.00 $  847.00
101/1/2016 $  325.00 $  643.00 $  515.00

 

I'd like it to look like the following (Is this possible?): 

 

AccountDateValueType
11/1/2016 $  139.00 Debit 
21/1/2016 $  937.00 Debit 
31/1/2016 $  299.00 Debit 
41/1/2016 $  258.00 Debit 
51/1/2016 $  107.00 Debit 
61/1/2016 $  434.00 Debit 
71/1/2016 $  511.00 Debit 
81/1/2016 $  206.00 Debit 
91/1/2016 $  888.00 Debit 
101/1/2016 $  325.00 Debit 
11/1/2016 $  187.00 Credit 
21/1/2016 $  725.00 Credit 
31/1/2016 $  322.00 Credit 
41/1/2016 $  673.00 Credit 
51/1/2016 $  929.00 Credit 
61/1/2016 $  997.00 Credit 
71/1/2016 $  672.00 Credit 
81/1/2016 $  811.00 Credit 
91/1/2016 $  692.00 Credit 
101/1/2016 $  643.00 Credit 
11/1/2016 $  818.00Budget
21/1/2016 $  482.00Budget
31/1/2016 $  908.00Budget
41/1/2016 $  612.00Budget
51/1/2016 $  981.00Budget
61/1/2016 $  172.00Budget
71/1/2016 $  569.00Budget
81/1/2016 $  283.00Budget
91/1/2016 $  847.00Budget
101/1/2016 $  515.00Budget

Viewing all articles
Browse latest Browse all 4999

Trending Articles