Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Dynamic Replace with Dynamic Input: Excel+Oracle

timewaste
8 - Asteroid

Hello Peers,

 

I have a scenario where I would like to replace existing data values into data IDs. The data values come from an excel sheet and data IDs (along with data values come from oracle). How can I use Dynamic Replace to achieve that? TIA!

 

Source 1 (Excel):

Data ValueCol 2Col 3.........
ABC2030.........
CDE1034.........
EFG2345.........
GHI2556.........

 

Source 2 (Oracle Table):

Data IDData Value
1ABC
2CDE
3EFG
4GHI

 

Now, the output should be:

Data ValueCol 2Col 3.........
12030.........
21034.........
32345.........
42556.........

 

@JoshKushner

 

What I have been using in the workflow:

 

alteryx issue.png

6 REPLIES 6
AmeliaG
Alteryx
Alteryx

Hi @timewaste

 

Thanks for your question! I believe the easiest solution would be to use the 'Find and Replace' tool which can be found in the 'Join' tool category. I've attached an example using the sample data mentioned. 

 

If you have any other questions, I'd be happy to help!

 

Amelia

JoshKushner
12 - Quasar
This is an instance where. You want to use a join tool to merge the two data sets.

Excel into Left.
Oracle into Right.

Join by Specific Records:
Left: Data Value
Right: Data Value

Then just uncheck both Data Value fields in the join tool container
timewaste
8 - Asteroid

Ya, I could do as Josh suggested. My workflow below:

 

alteryx issue.png

JoshKushner
12 - Quasar
Just make sure you use the Join tool when you can. Join Multiple is a bit different
timewaste
8 - Asteroid

@JoshKushner

 

Oh sure, will keep that in mind.

 

But, a little twist to my question leads to another question which is, how can I use this output column to append in another workflow? Is it possible?

 

Thanks! 

JoshKushner
12 - Quasar
If you want to use the output to feed another existing workflow save the results from this as a file (.yxmd for Alteryx) and read the file from the other workflow.

Otherwise if you're building off this data I'd use the same workflow
Labels