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

Date Grouping

DBaber
6 - Meteoroid

Reposting on the correct community board.  

 

I am very new to Alteryx so very basic question: My company fiscal year is June 1 - May 31. Looking to group dates into quarters that corresponds to the company fiscal year. Tried the below solution:

 

Quarter([Date],-5,'months') 

 

However, I get an error stating that it does not recognize the "Quarter" function.  Looking for additional solutions. 

 

Thanks!

Dbaber

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @DBaber 

 

Try this:

 

Formula Tool - New Field - Quarter:

 

CEIL(DateTimeMonth(DateTimeAdd([Date],-5,"months"))/3)

 

Cheers,

DBaber
6 - Meteoroid

Thanks! Worked like a charm.  

Labels
Top Solution Authors