Thank you so much Mr.Fredrike.. Finally, 'case when' statement is very helpful. I just forgot that the record is case sensitive. The real record is 'Quarterly' not 'quarterly' so that I got the error. So, I change the first alphabets to upper case, then it works 😄