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 Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to increment number based on the previous value

akanchar
5 - Atom

Hi Team, 

 

I am looking for a solution in Alteryx designer. I want to increment the value in ID column based on the available number. can someone please advise?

 

Input 

CustomerID
C128
C2 
C3 
C4 
C5 

 

Required Output

CustomerID
C128
C229
C330
C431
C532
2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @akanchar 

 

You could use a multi-row formula tool. See below, if the ID field is blank it looks to the previous row's value and adds 1. 

Luke_C_0-1641512003483.png

 

akanchar
5 - Atom

This worked. Thank you

Labels
Top Solution Authors