I’d like to be able to display a single numeric value from 1 to 4, representing quarters, based on which date range the selected date of interview falls between.
Where,
Quarter 1 would be Jan 1 to Mar 31.
Quarter 2: Apr 1 to Jun 30
Quarter 3: Jul 1 to Sep 30
Quarter 4: Oct 1 to Dec 31
So if the date of interview recorded is ‘2022-01-19’, it should display a ‘1’ representing first Quarter.
Hi @Josh
I am facing a similar question, however, the methods you proposed would only work if the year of reference is 2022. Is there a way to make the ‘calculate’ function extracts only the information about the month regardless of the year?
I would like to use this group of command also for the years to come.
Many thanks,
Lavinia