對於在hierarchies裏出現過attributes,不能讓它再單獨出現。

 首先,對每個attributes都要設置屬性關係。然後,對於在hierarchies裏出現過attributes,將它們的AttributeHierarchyVisible設成false。這是爲了:

 

Avoid visible attribute hierarchies for attributes used as levels in user-defined hierarchies

 

To increase usability, you should typically hide attribute hierarchies that are also used as levels in user hierarchies. Users might become confused if attribute members are visible in different ways. To hide an attribute hierarchy, change its AttributeHierarchyVisible property to False.

An attribute usually does not need to be exposed in its own single-level hierarchy when that attribute is also included in a user-defined hierarchy. This duplication only complicates the end-user experience, without providing additional value. You should consider renaming either the level in the user hierarchy or the attribute hierarchy.

One common case where it is appropriate to present two views of an attribute is in time dimensions. The ability to browse by [Month] and the ability to browse by [Month-Quarter-Year] are both valuable. However, these two month attributes are actually separate attributes. The first contains only the month value such as “January,” whereas the second contains the month and the year such as “January 1998”.

 

MSDN的中文翻譯實在太爛了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章