Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

reshuffle the column

Maheshp
8 - Asteroid

Hi Team,

 

I want to reshuffle the column.

 

For Example: - i have a data with me like below.

 

Maheshp_0-1674022773560.png

But i need the data like below. Mean in same like account number then debit then amount then text. one by one and in last column i dont need zero only required amount.

Maheshp_1-1674022884307.png

 

Regards,

 

Mahesh

 

 

 

8 REPLIES 8
ShankerV
17 - Castor

Hi @Maheshp 

 

Can you please copy and paste the data's instead of screenshot.

Will be easy to use as the input in workflow.

 

 

Maheshp
8 - Asteroid
Account Dr.DebitAmount Dr.TextProfit CenterAssignmentAccount Cr.CreditAmount Cr.Text2Profit Center2TPAssignment2Account Cr. TaxCredit2Sum_Sum_GST Amount Cr.Text3Profit Center3Assignment3
14809000S677.94CSS Inv 3946444900002022120613019999H677.94CSS Inv 394644490000TP10012022120624508225H0CSS Inv 39464449000020221206
14809000S1400CSS Inv 4107377900002022121313019999H1400CSS Inv 410737790000TP10012022121324508225H0CSS Inv 41073779000020221213
14809000S300CSS Inv 4048785900002022120713019999H300CSS Inv 404878590000TP10012022120724508225H0CSS Inv 40487859000020221207
14809000S2800CSS Inv 4092334900002022121013019999H2800CSS Inv 409233490000TP10012022121024508225H0CSS Inv 40923349000020221210
14809000S2828.38CSS Inv 4149854900002022121713019999H2571.25CSS Inv 414985490000TP10012022121724508225H257.13CSS Inv 41498549000020221217
14809000S550CSS Inv 4179539900002022122213019999H550CSS Inv 417953990000TP10012022122224508225H0CSS Inv 41795399000020221222
14809000S163CSS Inv 4235157900002022122913019999H163CSS Inv 423515790000TP10012022122924508225H0CSS Inv 42351579000020221229
ShankerV
17 - Castor

Hi @Maheshp 

 

One way of achieving this.

 

ShankerV_0-1674023651194.png

 

Expected output:

 

ShankerV_1-1674023678509.png

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

Hi @Maheshp 

 

Step 1: Input data

ShankerV_0-1674023722978.png

 

Step 2: Select tool

 

ShankerV_1-1674023744820.png

ShankerV_2-1674023754960.png

 

Step 3:

 

ShankerV_3-1674023767798.png

ShankerV_4-1674023776028.png

 

Many thanks

Shanker V

 

 

 

ShankerV
17 - Castor

Hi @Maheshp 

 

Step 4: Select tool

ShankerV_0-1674023828787.png

ShankerV_1-1674023841443.png

 

Step 5:

ShankerV_2-1674023860965.png

ShankerV_3-1674023897867.png

 

Expected output after run:

 

ShankerV_4-1674023922483.png

 

Feel free to mark the solution of the post which helped to resolve the issue, so similar issues faced by other community members in future can be helpful to refer the solution.

 

Many thanks

Shanker V

 

 

 

Maheshp
8 - Asteroid

Hi Shanker,

 

Thanks for your help!

 

It is working fine, but one more thing, i dont want the data with Zero value for account 24508225, i need only value for this account.

 

For this Account,Out of 50 line we do have only 4 line fo which i have an amount, rest i dont need.

 

Maheshp_0-1674025120113.png

 

Regards,

 

Mahesh

ShankerV
17 - Castor

Hi @Maheshp 

 

Yes, that is possible.

 

Please find the amended workflow where 0 are removed for the account.

 

ShankerV_0-1674027237072.png

 

 

 

ShankerV
17 - Castor

Hi @Maheshp 

 

Add this Filter tool.

 

ShankerV_0-1674027291245.png

 

ShankerV_1-1674027313644.png

 

Post run, the result is 

 

ShankerV_2-1674027360626.png

 

Feel free to mark the solution of the post which helped to resolve the issue, so similar issues faced by other community members in future can be helpful to refer the solution.

 

Many thanks

Shanker V

 

Labels
Top Solution Authors