> Shri,
> The reason this is occuring is the mix of format
> types. In the source data, you have a datetime value,
> but in the year/month/day values you reference date
> formats.
>
> If you mix the two in base SAS you also get ***
> values.
>
> You can either utilize a new date variable in your
> source table
> -> which could be newdate=datepart(calendar_date);
>
> or you could change the year/month/day values to use
> other datetime formats.
> Such as dtmonyy. for Month and dtyear. for Year.
>
> Reference Material on all the Date Formats Can be
> Found at:
>
http://support.sas.com/documentation/cdl/en/lrdict/626
> 18/HTML/default/a001263753.htm
>
> ~ Angela
>
http://sas-bi.blogspot.com
Angela,
Thank you for your message. Here are a couple of things,
In the levels, I did not enter the format, those formats were listed by default and I was trying to go with the default and it did not work.
I did realize that it is a datetime variable and I did create another variable in my dataset just like you said with just the datepart, but I do not see that variable in the drop down while creating the levels. It looks like a bug to me.
I'll try and change the format like you said and will let you know if it works
Thanks
Shri