Alteryx Designer Desktop Discussions

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

Sum raw data up using mapping file

ssophiey
5 - Atom

Hi all,

 

I am really new to Alteryx and the community and would like some ideas around the functions that I am trying to achieve.

 

My raw data set A is like below:

 

Account No.Balance
10001    100.00
10002    100.00
30001    100.00
30002    100.00
41000    100.00
42000    100.00

 

And my mapping file A from the raw data is like this: 

 

Cash10001
 10002
Property30001
 30002
Revenue41000
 42000

 

 

And the final result i want using the mapping file is like this: 

 

Cash    200.00
Property    200.00
Revenue    200.00

 

Is there any function available for the result that I want to get as described?

 

After getting this table, I also have a another mapping file B looks like this:

 

Cash85000
 85001
Property95000
 95001
Revenue75000
 75001

 

 

With another set of raw data setting up as below:

 

Account #850008500195000950017500075001
Balance      50.00    150.00      60.00    140.00      70.00    130.00

 

 

And the final final result I want to achieve from the mapping file is like this

 

AccountPer Map APer Map BDifference
Cash    200.00200= B - A
Property    200.00200= B - A
Revenue    200.00200= B - A

 

 

Any idea is welcomed and thank you all in advance for your help!

 

 

2 REPLIES 2
JosephSerpis
17 - Castor
17 - Castor

Hi @ssophiey I mocked up a workflow that produces your output. Let me know what you think?

ssophiey
5 - Atom

Hi @JS420, 

 

Thanks for the prompt reply and your very clear and easy-follow workflow!

 

This is exactly what I want to do.

 

Thanks again for your help!

Labels