Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Credit or Debit(Contras) ledger transactions from rows to columns

sowjanyayinti
8 - Asteroid

Hard to explain it in a single title but here it goes. I am attaching sample file with input and output tabs. I tried playing with Tile tool, cross tab and transpose tools for far too many hours but not getting what i want. I am pretty sure i am making some silly mistakes. Can anyone help?

 

It basically needs to take the credit and debit rows and make a single row of credit and debit column as shown in the output. If the amounts do not match exactly then it should split it to match as shown in the first example in the input file

13 REPLIES 13
sowjanyayinti
8 - Asteroid

Sorry. Yes. They should be the same. Bad copy paste on excel. See why I don't like excel and love alteryx ;)

sowjanyayinti
8 - Asteroid

@Qiu  and @caltang  - Thank you so much. So the way analysts are doing it manually in excel is - They see three rows - one with -2894, 2nd with -3042 and they add it in debit and comes to 5936 so they then add it like I had in the 'Output' tab manually. They basically are manually doing this... (Which I am not a fan of... but...)

 

sowjanyayinti_0-1752463201270.png

 

Let me check @caltang's solution adn will get back to you guys.

 

sowjanyayinti
8 - Asteroid

This is the solution. Thank you @caltang . This workflow will be run only on those records that tally to a 0 (Contras). Those that do not tally to a zero won't even reach this far to get this workflow run on them :).

 

Thank you so much again for your help @caltang and @Qiu.

 

Qiu
21 - Polaris
21 - Polaris

@sowjanyayinti 
If it is one to one match, I think we can manage it.

Thank you for letting know if it works somehow. 😁
0707-sowjanyayinti.png

Labels
Top Solution Authors