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

Multiple Match Find Replace

Dennisklad1
8 - Asteroid

Hi,

 

I attached an example workflow below.

I would as an output to have next to a worker, all managers that contain the unit.

For example a worker at department 1.1 should have manager for department 1 and manager for department 1.1.

However the find and replace tool only outputs the most exact match.

Is there another solution?

 

Thanks

8 REPLIES 8
PhilipMannering
16 - Nebula
16 - Nebula

You could try doing an append and filtering where the work unit contains the manager unit,

PhilipMannering_0-1606468293245.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @Dennisklad1 

 

can you provide an expected output

Dennisklad1
8 - Asteroid

I think this will do.

Thanks

atcodedog05
22 - Nova
22 - Nova

Hi @Dennisklad1 

 

Adding to @PhilipMannering solution. I would add a suggestion/ variation to the solution, use Startwith inplace of contains function.

So that Manager 2.1 is not tagged to Worker 1.2.1 and only to Worker 2.1.1

 

So Worker ID should start with Manger ID

atcodedog05_0-1606470939525.png

Output:

atcodedog05_1-1606471163635.png

Hope this helps 🙂

Dennisklad1
8 - Asteroid

Ow true! Thanks alot

Dennisklad1
8 - Asteroid

A new problem accured.

I am working on a relativly big database and after running the workflow I get following error:

"Append Fields (14) There were more than 16 records in the source."

 

What can I do?

atcodedog05
22 - Nova
22 - Nova

Hi @Dennisklad1 

 

In append tool Set it to allow all records like below

atcodedog05_0-1606471540018.png

Hope this helps 🙂

Dennisklad1
8 - Asteroid

Haha okay had to scroll to see that option, 

Thanks and have a nice day

Labels