Start Free Trial

Alteryx Designer Desktop Discussions

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

Iterative Macro - part of data not to loop back in next iteration

Badeagabriela97
6 - Meteoroid

Hi,

 

I want to build an Iterative macro so I can repeat a filtering process.

 

At each iteration I group data by each column of file and where sum of Amount is null I map with Yes/No on a Net-off column.

Badeagabriela97_0-1752563754126.png

 

 

My problem is I want part of data with flag of "Yes" on Net-off column to filter out at each iteration and not to loop back at the next iteration. 

 

What I want:

 

Columns in data: 

Badeagabriela97_1-1752563792334.png

 

 

1st iteration:

Badeagabriela97_2-1752563792561.png

 

 

2nd iteration:

Badeagabriela97_3-1752563792656.png

 

 

Now the output of macro gives doubled entries:

 

Is it a way that I can achieve this, please? Maybe combine a match macro with an iterative one?

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@Badeagabriela97 
You mean Batch Macro?
0715-Badeagabriela97.png

Badeagabriela97
6 - Meteoroid

Yes, I know, but I want a solution, please, maybe a combination of another batch macro and this transformed in a real iterative macro.

Gaurav_Dhama_
12 - Quasar

Here you go, I changed the approach completely.

Removed the batch macro and just used Iterative macro. I tested it with few scenarios, and it worked. Check it out.

 

Mark it as solution if this solved your problem.

Labels
Top Solution Authors