对于在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的中文翻译实在太烂了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值