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.

Retrieving YYYY QQ from a date. For example 2022 Q3 for todays date

anayet1988
8 - Asteroid

DateTimeFormat([Date],'%Y Q') + ToString(Ceil(ToNumber(DateTimeFormat([Date],'%m'))/3))

1 REPLY 1
trsali
Alteryx Alumni (Retired)

@anayet1988 is this a new column? If so you will have to change the data type to string to see 2022 Q3.

Labels
Top Solution Authors