In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Iterative help

WestonProhaska
8 - Asteroid

Hey

I'm having trouble on an iterative macro


Essentially, I have data like below:

2014

20152016Start %End %IncrementAdjustment
.4.4.4.4.2.05A

,4

.4.4.4.15.05B

 

1. Is it possible to configure my macro to get me an output similar to something like below? 

-I want to add the previously completed iteration conditions to the ones  that continue onwards after finishing the condition. 

Results of current iterative macro:                                                                                   

2014

20152016Start %End %IncrementAdjustmentScenario
.35.4.4.4.2.05

A

1

,35

.4.4.4.15.05B1

.3

.4.4.4.2.05

A

1

.3

.4.4.4.15.05B1

.25

.4.4.4.2.05

A

1

.25

.4.4.4.15.05B1

.2

.4.4.4.2.05

A

1

.2

.4.4.4.15.05B1

.15

.4.4.4.15.05B1

Results I'm looking for:

2014

20152016Start %End %IncrementAdjustmentScenario
.35.4.4.4.2.05

A

1

,35

.4.4.4.15.05B1

.3

.4.4.4.2.05

A

1

.3

.4.4.4.15.05B1

.25

.4.4.4.2.05

A

1

.25

.4.4.4.15.05B1

.2

.4.4.4.2.05

A

1

.2

.4.4.4.15.05B1

.2

.4.4.4.2.05

A

1

.15

.4.4.4.15.05B1

 

Thanks!

1 REPLY 1
ArtApa
Alteryx
Alteryx

Hi @WestonProhaska - Attached is a solution without Macro. I made it dynamic for you:

ArtApa_0-1664602430552.png

 

Labels
Top Solution Authors