Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

HLOOKUP

Barclaysusercds
8 - Asteroid

1. The screen shot is my data set

2. The column "schedule 1 type" is a IIF formula IIF(IsEmpty([Stage 1 DataLens Trade ID matched]),IIF(IsEmpty([Stage 2
Business mapping]),[Stage 3 Assumption based],[Stage 2 Business mapping]),[Stage 1 DataLens Trade ID matched])

3. In column "stage" I want a formula which brings out which column did the "schedule 1 type" come from was it stage 1, stage 2 or stage 3.

In excel I had to do this manually. Is there a way in Alteryx to build this "stage" column in?

 

Barclaysusercds_0-1652873392455.png

 

11 REPLIES 11
binuacs
20 - Arcturus

@Barclaysusercds one way of doing this. You can update the stage1 value according to your requirement

 

binuacs_0-1652876551830.png

 

DataNath
17 - Castor

How do you get on with this? Workflow attached.

 

DataNath_0-1652876745855.png

 

grazitti_sapna
17 - Castor

@Barclaysusercds , another way to solve this problem.

grazitti_sapna_0-1652878566798.png

I hope this helps!

 

Thanks!

Sapna Gupta
Barclaysusercds
8 - Asteroid

Barclaysusercds_0-1652880497882.png

 

Hi - Thanks for helping. The header comes down but not the correct one when I run it. I can see it working in your workflow. Am I doing something wrong?

grazitti_sapna
17 - Castor

@Barclaysusercds, seems to work fine for me, could you please share your data file if possible so that we can take a look? Did you try other methods are you getting the same issues when using those methods?

 

grazitti_sapna_0-1652880952985.png

 

 

Thanks!

Sapna Gupta
Barclaysusercds
8 - Asteroid

I am unable to upload a workflow. I am trying the other two methods.

grazitti_sapna
17 - Castor

@Barclaysusercds, if you could share the data file it will work too.

Sapna Gupta
DataNath
17 - Castor

How is your transpose set up? Do you just have the Stage 1 ticked in the top list and everything else in the other?

 

DataNath_0-1652881165039.png

 

Barclaysusercds
8 - Asteroid

Yes I copied the filters. It's just bringing the wrong header.

Barclaysusercds_0-1653053486936.pngBarclaysusercds_1-1653053500683.png

 

Barclaysusercds_2-1653053523516.png

 

Labels