Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Conditional Statement

Hi2023
8 - Asteroid

so I have a column named Filename and it has the email file path along imbedded with the system for that record but i need to create I think, a conditional statement to add a new column for each system. Correct? So its a V_WString with a email path embedded w system name like this: filename_FGG_system -I need to identify the FGG out of it to be able to create what I need? There is 4 different systems total.

 

thanks

20 REPLIES 20
grazitti_sapna
17 - Castor

Hey @Hi2023 , Not sure if I get your requirement completely. But here is my solution as per my understanding. You can us a formula tool and regex to extract FGG part from the path. Let me know if it was helpful.

 

grazitti_sapna_0-1668144326048.png

 

Sapna Gupta
KrishnaChithrathil
11 - Bolide

Hola @Hi2023 

Do you wanna extract system name outta it? You can also do it with Regex tool.

KrishnaChithrathil_0-1668146179647.pngKrishnaChithrathil_1-1668146313058.png

 

Hi2023
8 - Asteroid

so this is the4 dummy email paith for the filename, would it still be the same when using reglex?

 

D:\Users\123456\Downloads\JYC\Dups files\FGG\FOOOBasePhotoIngest_Upload_DTP_FGG_File1_2022-09-17 123456.xlsx

 

I need the FGG only out

 

thanks!

ShankerV
17 - Castor

@Hi2023 

 

Can you explain elaborately with sample input and output expected so that I can do the solution for you.

 

Shanker V

 

 

Hi2023
8 - Asteroid

It wont let me post the file but the filename as listed in the previous response I posted and I want a new column names system to show the FGG out of that filename only

 

the other 3 I want to be out would be in the same file format

WAL

PACER

PPL

 

 

thanks

Hi2023
8 - Asteroid

Filename (column)

D:\Users\123456\Downloads\JYC\Dups files\FGG\FOOOBasePhotoIngest_Upload_DTP_FGG_File1_2022-09-17 123456.xlsx

 

Output

System (new column)

FGG

 

KrishnaChithrathil
11 - Bolide

@Hi2023 

There would definitely be a workaround for this. But for the time being you can try this. I donno how your other file paths look like. you can have this a try. please lemme know.

KrishnaChithrathil_0-1668225741516.png

 

KrishnaChithrathil
11 - Bolide

@Hi2023 

Okay. I did a lil research and finally found this. 🙂

KrishnaChithrathil_0-1668227432483.png

 

Hi2023
8 - Asteroid

What if I need to get the Alert ID # only out of this column

 

Column name: Alert ID

 

EMM: total transactions - 1 and total amount - 8766.78; Inclearing: Total Transactions - 0 and Total Amount -0; EMM:Total Transactions -0 and Total Amount -0; FIRES: Total transactions -0 and Total Amount -0: Check Seroil #'s or Vlert ID's; 123456789; Ref Date(s) 2023-08-01 20:58:24;

 

expected outcome: new column name: AlertID POL

123456789

Labels
Top Solution Authors