Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!
Free Trial

Alteryx Designer Desktop Discussions

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

CONCATENATE Alteryx and if statement and Automation Email

julianhoetzel
8 - Asteroid

Hey guys, 

 

I need from the following table: 

NumberLetterType  
1ALetter  
2BMail  

 

the following output

NumberLetterTypeID (combo of Number and Letter)Letter existent (Yes, then show "Letter")
1ALetter1ALetter
2BMail2B 

 

So i need for "ID" a similar CONCATENATE formula like in Excel and an IF formula that says If [Type] shows "Letter" then show "Letter" in a new column. Does this make sense?

 

I also want to automatically send the output to my colleagues as an email in a suitable format. Could you also advise how this works? 🙂

 

Thank you in advance.

 

Cheers
Julian 

 

6 REPLIES 6
MarqueeCrew
20 - Arcturus
20 - Arcturus

@julianhoetzel 

 

ID:

ToString(Number) + Letter

 

Letter Existent

IIF([Type]="Letter",[Type],'')

 

Cheers,


Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
atcodedog05
22 - Nova
22 - Nova

Hi @julianhoetzel 

 

First 2 requirements are fairly easy refer below.

atcodedog05_0-1621266741929.png

1. Turn number to string & concat 2 fields

2. Use IIF statement to output the column.

 

Can you tell us more about your mail requirement.

 

Hope this helps 🙂

julianhoetzel
8 - Asteroid

Cheers 🙂

and how do I send this report automatically to my colleagues?

atcodedog05
22 - Nova
22 - Nova

Hi @julianhoetzel 

 

You need to get email tool configuration details. This would usually be mail server details.

 

Here is a video which might help you. You can skip first 4 mins. https://www.youtube.com/watch?v=_OgEvg8w4vo

Tool mastery blog : https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Email/ta-p/32129

Documentation page : https://help.alteryx.com/current/designer/email-tool

 

Hope this helps 🙂

A quick workflow demonstration using the Alteryx Email tool. 00:42 Start of Workflow Build 02:52 Add Summarize Tool 04:22 Add Table Layout 05:10 First Quality Check 06:25 Add Header 07:31 Visual Layout Tool 09:10 Second Quality Check 09:44 E-mail Tool #NPT #Alteryx #Email
julianhoetzel
8 - Asteroid

Thanks again! 🙂

One last question:
How do I show new entries when comparing two tables and highlight the new entries:

Table 1:

IDAmountName
110

Josh

230

Kyle

 

Table 2: 

IDAmountName
110

Josh

230

Kyle

210

Kyle

 

Output should be:

IDAmountName
210

Kyle

   

 

Cheers

Julian

atcodedog05
22 - Nova
22 - Nova

Hi @julianhoetzel 

 

Here is how you can do it.

atcodedog05_0-1621270636819.png

 

I am using join tool and setting all columns as keys. With this common rows comes out from J anchor, all left un-join (not joined) comes out from L anchor and all right un-join (not joined) comes out from R anchor. Where unjoined data is the new data. I am tapping into R anchor to get the new data.

 

Hope this helps 🙂

 

Labels
Top Solution Authors