Alteryx Designer Desktop Discussions

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

column update based on various criteria.

QurrathAmeena
8 - Asteroid

 

Hi all,

I've been trying to update a column, but I've been stuck for a while and could use some advice on how to move forward to fix this.

 

Sl.noNAMETYPEPREOPREQUIRED Output
1BOTTLE  C1C1
2BOTTLE  E1E1
3BOTTLE  E2E2
4BOTTLE  E2.A1E2.A1
5BOTTLE  D1D1
6BOTTLE  E1.A1E1.A1
7BOTTLE  E1.A2E1.A2
8BOTTLEEA1 E4.A1
9BOTTLE  E3E3
10BOTTLECA1 C2.A1
11BOTTLECA1 C3.A1
12BOTTLEA E1.A1.P1E1.A1.P1
13CAR  C1C1
14CAR  C2C2
15CAR  E1E1
16CAR  E2E2
17CARC E2.b1E2.b1
18CARC E2.D1E2.D1
19CARC E1.A1E1.A1
20CAR  D1D1
21CAR  A1A1
22CAR  E3E3
23CARAq1 A2.Q1

 

For the missing fields, I want to update them by determining the highest value of the same [TYPE] in the same [NAME], incrementing it accordingly, and concatenating it with the values in [PRE].

 

EX: In row 8 , we find the type is E and the max value is E3 and hence the op column will be filled as "E4. " concatenating with corresponding PRE i.e., E4.A1

 

In row 10 &11 we see that the type is c and hence when updating it should be c2 and c3 .

 

Thanks in advance!

7 REPLIES 7
ShankerV
17 - Castor

Hi @QurrathAmeena 

 

Yes, it can be achieved with the help of Multi field Formula tool.

 

Many thanks

Shanker V

FinnCharlton
13 - Pulsar

Hi @QurrathAmeena 

 

This workflow achieves your desired output if I understand it correctly.

OllieClarke
15 - Aurora
15 - Aurora

Hi @QurrathAmeena 

 

Here's a way of doing it:

OllieClarke_0-1673431861956.png

Hope that helps,

 

Ollie

OllieClarke
15 - Aurora
15 - Aurora

Hi @ShankerV 

 

I don't think the multi-field formula tool can in fact solve this problem, but regardless I don't think your reply is really that helpful - it's incredibly vague and doesn't really answer the question. 

QurrathAmeena
8 - Asteroid

 Hi @OllieClarke 

Thank you so much for the workflow!! the logic works as per the needed requirements

 

QurrathAmeena
8 - Asteroid

Hi @FinnCharlton 

Thanks Finn !

The workflow gave the desired result . Appreciate you providing the workflow so quickly !

 

QurrathAmeena
8 - Asteroid

Hi @FinnCharlton 

Thanks Finn !

The workflow gave the desired result .

 

Labels