Alteryx Designer Desktop Discussions

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

Data mapping

praneshsapmm
8 - Asteroid

Hi,

 

Can someone help me for this requirement . 

 

Sheet1 Input : 
Coder # Invoices 
A2
B3
C

5

 

Sheet2 Input :
Line1 Invoice1
Line2Invoice2
Line3Invoice3
Line4Invoice4
Line5Invoice5
Line6Invoice6
Line7Invoice7
Line8Invoice8
Line9Invoice9
Line10Invoice10

 

And the output need to be : 

 

Sheet3 Output  
Line1 Invoice1A
Line2Invoice2A
Line3Invoice3B
Line4Invoice4B
Line5Invoice5B
Line6Invoice6C
Line7Invoice7C
Line8Invoice8C
Line9Invoice9C
Line10Invoice10C

 

Any help is appreciated .

 

8 REPLIES 8
Felipe_Ribeir0
16 - Nebula

Hi @praneshsapmm 

 

 

Please take a look at the attached workflow.

 

Felipe_Ribeir0_0-1663606454040.png

 

This solution is a worth try because it does not rely on the order of the rows of the inputs.

 

If the provided answer helped you to solve the problem/was correct, please accept it as a solution :)

 

Thanks.

binuacs
21 - Polaris

@praneshsapmm One way of doing this with the help of generate row tool

 

binuacs_0-1663621997994.png

 

praneshsapmm
8 - Asteroid

Hi @binuacs ,

 

This worked perfectly . But there is slight change in requirement : 

 

Currently the solution is working like this :

 

Invoice1A
Invoice2A
Invoice3A
Invoice4B
Invoice5B
Invoice6B
Invoice7C
Invoice8C
Invoice9C

 

In it possible to make it : 

Invoice1A
Invoice2B
Invoice3C
Invoice4A
Invoice5B
Invoice6C
Invoice7A
Invoice8B
Invoice9C

 

Thanks.

 

binuacs
21 - Polaris

@praneshsapmm I created a workflow based on your input data. You should update this workflow according to your real data. let me know if you need any assistance 

 

binuacs_0-1664201071745.png

 

praneshsapmm
8 - Asteroid

hi @binuacs ,

 

It is working for me . But the outcome need to be for unique invoice as show below : 

 

Invoice1A
Invoice2B
Invoice3C
Invoice4A
Invoice5B
Invoice6C
Invoice7A
Invoice8B
Invoice9C
Invoice10A
Invoice11B

 

Thanks for the help.

 

Regards,

Nandakishore

praneshsapmm
8 - Asteroid

hi @binuacs ,

 

Not sure of the problem .. for 224 records with 4 (A,B,C,D) handlers .. i get 16 records mapped. Not sure why the filter is not working even after changing to this : 

[RecordID] = IIF(Mod([RecordID],4) = 0 ,4,Mod([RecordID], 4)) .

 

Thanks

binuacs
21 - Polaris

@praneshsapmm Sorry, I did not notice that, attaching the updated workfow

binuacs_0-1664267017725.png

 

binuacs
21 - Polaris

@praneshsapmm I tried with 4 handlers and it is working

 

binuacs_1-1664267406951.png

 

Labels