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

Designer - how to add a new column for when a value repeats?

sean959
6 - Meteoroid

I am trying to figure out how to add a column in Alteryx based on when it finds the first value of something. For example in the attached have the first value be Alabama in the new column and then after the first value is found equal Alaska and so on I have a lookup but am not sure how to get this configured in Alteryx. I have not seen anything similar to this before. 

7 REPLIES 7
cmcclellan
13 - Pulsar

A multi-row formula would solve this 🙂 but how do you know that it starts with Alabama ?

sean959
6 - Meteoroid

Its the way the report pulls I select the states and so I select AL and AK then all of then the All Tax Types Sub-Totals are for Alabama for the first one and then the second ones are Alaska and so on. I pull it every month so I know exactly which ones are 1st/2nd and then last so I could do a vlookup for that? 

sean959
6 - Meteoroid

by vlookup I mean join but I dont get how the multi-row would solution for it. 

cmcclellan
13 - Pulsar

Yeah, it's tricky when the list of states will change all the time.

sean959
6 - Meteoroid

So it is actually the same 12 states every month I pull it. I want to be able to change the state to all values before the first All tax types sub-total = Alabama and 2nd = Alaska third = x. The states organization will not change every month

AZuc
Alteryx
Alteryx

@sean959 , see if this works for you

AZuc_0-1636459092523.png

 

André Zuccatti

Sales Engineer - LATAM -
Alteryx, Inc.


sean959
6 - Meteoroid

Thank you Andre! That is exactly what I was looking for! 

Labels