Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
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
21 - Polaris

@DataPirate26 One way of doing this

image.png

grazitti_sapna
17 - Castor

Hi DataPirate26, You can try in following way:



 

 

Sapna Gupta
Labels
Top Solution Authors