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

Extract Month and Year Dynamically from the Data

DataPirate26
10 - Fireball

Hi all,

 

Below I have attached one sample Data. Need to Extract the Month and the Year from the data. 

 

Required Output: April 2023, May 2023, June 2023

4 REPLIES 4
Yoshiro_Fujimori
15 - Aurora

Hi @DataPirate26 ,

 

How about this formula? I hope this helps.

 

Formula Tool

Year = GetWord([ team Comments], CountWords([ team Comments])-1)

Month = GetWord([ team Comments], CountWords([ team Comments])-2)

Output = [Month] + " " + [Year]

 

Output image

MonthAndYear.png

sparksun
11 - Bolide

extract.jpg

binuacs
20 - Arcturus

@DataPirate26 One way of doing this

image.png

grazitti_sapna
17 - Castor

Hi DataPirate26, You can try in following way:



 

 

Sapna Gupta
Labels