Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

alteryx adding number

ryanzhang487
8 - Asteroid

Hi community, I have a column like this showing in the picture, i would want a formula to add 1 to the right side of the " - " (eg, 5-9 will be 5-10, 1-2 will be 1-3),

how do I do that please?

Thank you 

 

 

 

alteryx question.png

1 REPLY 1
binuacs
21 - Polaris

@ryanzhang487 One way of doing this with the formula tool

 

 

SubString([Temp],0,FindString([Temp], '-'))+'-'+toString(toNumber(SubString([Temp],FindString([Temp], '-')+1,Length([Temp])))+1)

 

 

 

binuacs_0-1678388039466.png

 

 

Labels
Top Solution Authors