Hi,
I have a date dimension with the following attributes:
datekey
fulldate
weeknumber
month
quarter
semester
year
I have also created Named Calculation for Quarter, Semester and Month to make them more descriptive and associated them with the name column of each attribute.
e.g. Month: January 2005
Quarter: Q1 2005
However, I notice that the dates that were displayed are not correct. Sometimes I would have January 2017 even the records doesn't show any year 2017.
Why is this so? and how can i resolve this?
cherriesh
Take a look at the relationships between your attributes in the Date dimension. This may be the source of your problem.
To illustrate, consider the two month-related attributes in your dimension. You have both Month of Year, e.g. January, and Month, e.g. January 2007, attribute hierarchies. The Month Of Year attribute hierarchy is related to date but itself has no other relations. The Month attribute hierarchy is also related to date and has a relation to Quarter, e.g. Q1 2007, which has a relation to Year.
B.
|||hi,
sorry but how do i do the checking? i went to Dimension Structure of my Date Dimension and in Quarter attribute (this has the named calculation 'QuarterDesc' on the Name Column) I dropped the Year attribute on the <New Attribute Relationship> and reprocess the cube. It's still the same.
anything i missed?
thanks a lot.
cherriesh
|||
No problem. For a first step, let's verify the TYPE property of each of your attribute hierarchies. Right-click each of the hierarchies, select Properties, and record the TYPE property value. Here are the attribute hierarchies you identified:
datekey
fulldate
weeknumber
month
quarter
semester
year
Once we have that info, we'll look at the relationships.
Thanks,
Bryan
thanks a lot!
cherriesh
No comments:
Post a Comment