Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am getting Extra value in Quarter data - Q.
Using the below formula in script.
'Q'&ceil(month(date(HireDate))/3) as Quarter.
I am using SET DateFormat='DD-MMM-YYYY'; in script.
Please help me.
Try: if(IsNum(HireDate), 'Q'&ceil(month(date(HireDate))/3)) as Quarter.
Hi,
I think the dates with Null value or Missing dates creates this problem.
try like this
dual('Q'&ceil(month(date(HireDate))/3),ceil(month(date(HireDate))/3)) as Quarter
Try: if(IsNum(HireDate), 'Q'&ceil(month(date(HireDate))/3)) as Quarter.
try this
IF(Len(HireDate)>0,'Q'&ceil(month(date(HireDate))/3)) as Quarter.
Thank you gwassenaarsunilkumarqv,arulsettu
Hi,
If you have missing dates in the field then you will get like this, check why you are getting empty values in Date column, if the date value is mandatory then this will be the issue, also those records will not be available for selection.
Cross check the missing dates, if it is not a concern then you can use
If(Len(Trim(HireDate))>0,'Q' & Ceil(Month(HireDate)/3)) as Quarter
Hope this helps you.
Regards,
Jagan.