Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Date formula

Prajwal19
6 - Meteoroid

Hi,

 

I have dates in column A, I want know a formual wherein if the dates are in 2019 then the output should be 2019. If the dates are in 2020 then the output should be their respective month. 

 

Prajwal19_0-1600774484202.png

 

2 REPLIES 2
BrianR
Alteryx
Alteryx

Hi @Prajwal19, you can place a Formula tool right after your data, and then you can transform it with this Formula:

 

BrianR_0-1600775373047.png

 

vizAlter
12 - Quasar

Hi @Prajwal19 —  Try this solution too... you can achieve the result without using a Formula tool as well:

 

vizAlter_0-1600779026047.png

 

Please mark it "Solved" or "Solved" with a Like if it resolved your query. This will help other users find the same answer/resolution.  Thank you.

Labels
Top Solution Authors