ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Splits debits and credits into two columns

JanaZ
Meteoro

Hi Everyone, 

 

I am hoping someone can help me with a workflow that splits debits and credits into separate columns

 

Thanks

Jana

5 RESPUESTAS 5
AndrewBanh
Cometa

Hi @JanaZ 

 

You can use a formula tool and create a Debit and Credit column.

 

Debit formula: 

if [Amount] >= 0

then [Amount]

else null()

endif

 

Credit formula:

if [Amount] < 0

then [Amount]

else null()

endif

 

Let me know how you go 🙂

 

Andrew

fmvizcaino
17 - Castor
17 - Castor

Hi @JanaZ ,

 

Attached is an example showing how to accomplish this.

If that is what you are looking for, please mark the answer as correct, if not, let me know what I can do to help you further.

 

Best,

Fernando V.

JanaZ
Meteoro

Thanks Andrew.

JanaZ
Meteoro

Hi,

 

How can i make the debit amount in the debit column without the minus sign?

 

do i need to do another formula?

 

thanks

Jana

fmvizcaino
17 - Castor
17 - Castor

Hi @JanaZ ,

 

What you can do is to multiply [Debit]*-1

 

Best,

Fernando V.

Etiquetas
Autores con mayor cantidad de soluciones