Alteryx Designer Desktop Discussions

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

How to create formula from 1 column become 2 columns

Lydieatantra
7 - Meteor

Hi Alteryx Team,

 

Kindly need your help to create the workflow as attached below, since im newby in Alteryx.

 

Current

GL Amount

1000

2500
-2000
-1500

 

Expected

GL AmountIncomingOutgoing
10001000 
25002500 
-2000 -2000
-1500 -1500

 

Thank you.

Lydiea

12 REPLIES 12
grazitti_sapna
17 - Castor

Hi @Lydieatantra , I have created two approaches to get the desired output please refer to the screenshot and workflow attached.

 

grazitti_sapna_0-1596601312228.png

 

Thanks

 

Sapna Gupta
Lydieatantra
7 - Meteor

Hi @grazitti_sapna , thank you so much for your help 😉

 

Regards,

Lydiea

Lydieatantra
7 - Meteor

Hi @grazitti_sapna ,

May i raise the other question regarding my workflow ?

Actualy i need to summarize the data has been created before. I just want to show the decription for "NOT RECONCILE" items.

Please see my data below :

 

Current

DescriptionStatusNameValueSource
payment 1RECONCILEIncoming1000GL
payment 2NOT RECONCILEOutgoing-1500GL
payment 5NOT RECONCILEOutgoing-1000GL
payment 3NOT RECONCILEIncoming2000GL
payment 4RECONCILEOutgoing-3000GL

 

Expected

NameStatusDescriptionValue
IncomingRECONCILE 1000
IncomingNOT RECONCILEpayment 32000
OutgoingRECONCILE -3000
OutgoingNOT RECONCILEpayment 2-1500
OutgoingNOT RECONCILEpayment 5-1000
GL Movement  -2500

 

Hoping i can get the solution 😉

 

Thank you.

Lydiea

rahul_Kumar_koshika
7 - Meteor

Hi @Lydieatantra ,

 

I have created workflow which just show the description for "NOT RECONCILE" items (as per your requirement.

 

Please find the below alteryx workflow.

 

Thanks

 

 

 

grazitti_sapna
17 - Castor

Hi @Lydieatantra , I have tried to work on it please refer to the workflow and attachment if this looks fine to you?

Thanks.

 

grazitti_sapna_0-1596621454666.png

 

Sapna Gupta
Lydieatantra
7 - Meteor

Hi @grazitti_sapna ,

 

Thank you for your help.

And how about if i want to add a new row to create the different from 2 rows.

The additional row is for [Different] = [Bank Movement] - [GL Movement]

 

Current

SourceNameStatusValue
BankIncoming 2500
BankOutgoing 500
BankBank Movement 2000
GLIncomingRECONCILE5000
GLOutgoingRECONCILE1500
GLOutgoingNOT RECONCILE500
GLOutgoingNOT RECONCILE1000
GLGL Movement 2000

 

Expected

SourceNameStatusValue
BankIncoming 2500
BankOutgoing 500
BankBank Movement 2000
GLIncomingRECONCILE5000
GLOutgoingRECONCILE1500
GLOutgoingNOT RECONCILE500
GLOutgoingNOT RECONCILE1000
GLGL Movement 2000
DifferentMovement -

 

Thank you.

Lydiea

grazitti_sapna
17 - Castor

Hi @Lydieatantra , try this I hope this helps.

Thanks.

grazitti_sapna_0-1596689024848.png

 

Sapna Gupta
Lydieatantra
7 - Meteor

Hi @grazitti_sapna ,

From your workflow i see that you spesific put the amount of 0 in the formula.

Lydieatantra_0-1596697562002.png

 

What if the different has a different result amount, lets say 1000 or -1000.

Because to get the different amount is from [bank movement] - [GL movement].

 

Thank you.

Lydiea

grazitti_sapna
17 - Castor

@Lydieatantra , try this.

 

grazitti_sapna_0-1596698729222.png

 

 

 

Sapna Gupta
Labels