Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
Normal standard, when i create a quarter selection it, goes Q1-Q4.
thats what i want. but, due to diff financial year. i need to have a Q1 (Jul-Sep), Q2(Oct-Dec), Q3(Jan-Mar), Q4(Apr-Jun).
How can i do that???
Rite now. without doing anything. i got my quarter arrangement as such Q3,q4,q2,q1
Rgds,
Jim
i got this.. but is this the only solution?
No, there are hundreds of ways to do this. Here's another: 'Q' & Ceil(Month(MonthStart(MyDate,-6)) /3) as Quarter.
thanks Gysbert, i will try it out.
No, there are many ways. see this simple
if(match(month(Date),'Jul','Aug','Sep'),'Q1',
if(match(month(Date),'Oct','Nov','Dec'),'Q2',
if(match(month(Date),'Jan','Feb','Mar'),'Q3',
if(match(month(Date),'Apr','May','Jun'),'Q4')))) as Quarter,
try this also
'Q'&Ceil(num(Month(Addmonths(Date,-6)))/3)