Hi Michael,
It's not clear what the relationship of "Productid" to the granularity
attribute (ProductgroupID) is. SQL Server 2005 BOL calls for some
(direct or indirect) relationship:
http://msdn2.microsoft.com/en-us/library/ms175669.aspx
However, sometimes you may want to set the granularity of a particular
cube dimension in a particular measure group to a different grain. For
example, you may want to set the granularity attribute for the Time
dimension to the Month attribute instead of to the Day attribute, if you
are using a Sales Quotas or a Budget measure group. When you specify the
granularity attribute to be an attribute other than the key attribute,
you must guarantee that all other attributes in the dimension are
directly or indirectly linked to this other attribute through attribute
relationships. If not, Analysis Services will be unable to aggregate
data correctly.
...
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***