Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Increment each row in a column based on starting value in the column

jgiacomazzi
7 - Meteor

I know I can produce the following output using the Multi-Row Formula tool.

 

1
2
3
4
5

 

I'm wondering if I could do the same with a different starting value, changing

60
60
60
60
60

 

to 

60
61
62
63
64

 

Is there a way to do this with the Multi-Row Formula tool or a different tool? I've also tried using Tile, which didn't help.

3 REPLIES 3
messi007
15 - Aurora
15 - Aurora

@jgiacomazzi,

 

what about this:

messi007_0-1611089192345.png

Let me know if this solve you're issue 🙂

 

Hope that helps,

Attached the workflow,

 

Regards

clmc9601
13 - Pulsar
13 - Pulsar

Yep, @jgiacomazzi, multi-row formula can do that! 

Choose the option to set non-existing rows to the value of closest row.

Then use this logic: [Row-1:column name] + 1

Hope this helps!

AngelosPachis
16 - Nebula

Hi @jgiacomazzi ,

 

You can use both the multi-row formula tool or the generate rows tool to get what you are after here. 

 

AngelosPachis_0-1611089272420.png

I would suggest the latter if you don't have an input, but it widely depends on your use case.

 

Regards,

 

Angelos

Labels