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

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #359: Manipulating Dates

NathalieHP
8 - Asteroid

My solution:

 

Spoiler
NathalieHP_0-1676988082911.png

 

Luke_C
17 - Castor
17 - Castor

Don't have the quarter formula yet but still a 1-tooler:

 

Spoiler
Luke_C_0-1676988786959.png

 

ARussell34
8 - Asteroid

Here is my solution!

anthonyw
8 - Asteroid

Challenge Completed!

lanclot23
7 - Meteor
Spoiler
359.png
muradmusleh
6 - Meteoroid

 Challenge #359: Manipulating Dates
I used ParsetoDate to convert String to Date, after that I used Formula with DateTimeFormat

alacoume
9 - Comet

My solution:

CammyPhillips
8 - Asteroid
Spoiler
CammyPhillips_0-1676997327086.png

 

olga_strubbe
11 - Bolide
Spoiler
olga_strubbe_0-1676999909759.png

 

pmyers
Alteryx
Alteryx

One tool solution

 

Spoiler
pmyers_0-1677013242395.png

Formula:
IF Left([Date], 2)="1/" || Left([Date], 2)="2/" || Left([Date], 2)="3/" THEN Right([Date], 4) + "Q1"

ELSEIF Left([Date], 2)="4/" || Left([Date], 2)="5/" || Left([Date], 2)="6/" THEN Right([Date], 4) + "Q2"

ELSEIF Left([Date], 2)="7/" || Left([Date], 2)="8/" || Left([Date], 2)="9/" THEN Right([Date], 4) + "Q3"

ELSEIF Left([Date], 2)="10" || Left([Date], 2)="11" || Left([Date], 2)="12" THEN Right([Date], 4) + "Q4"

ELSE "" ENDIF