We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

General Ledger

Vapour02
8 - Asteroid

Hello, I have multiple G/L numbers with multiple posting dates for each. I want to assign zero to the first posting date as the opening balance for each G/L and further calculate the idle balance left.

How should I add zero to each G/L identifying the first posting date.

I have attached an sample.

Thanks

 

2 REPLIES 2
binuacs
21 - Polaris

@Vapour02 Can you provide the expected output?

davidskaife
14 - Magnetar

Hi @Vapour02 

 

If you just want to assign a value of zero to a new column called 'Opening Balance' per GL numbers, you can use the Multi-Row Formula tool to generate it

 

Use this formula

 

IF [Row-1:GL] = [GL]
THEN null()
ELSE 0
ENDIF

and you end up with the output like this

 

Capture.PNG

I've attached the workflow for you to look at as well

Labels
Top Solution Authors