Create Parent-Child Dimension with SSAS

This post is about parent-child dimension in ssas.

In order to create parent-child dimension successfully, the parent's key and child's key must be save data type and the parent key should be relative to the primary key.

The step for creating the parent-child dimension describes as follows:

Step 1: define the relation in data source views.

Step 2: create dimension.

The parent-child relation will be created automatically when finished the first step 1.

Step 3: configure some relative properties.

1) modify the dimension property, right key in the dimension and modify the property UnknownMember to Hidden.

2) modify the dimension key, right key in the key and modify the property AttributeHierachyVisible to False.

3) modify the dimension parent key, right key in the parent key and modify the property MembersWithData to NonLeafDataHidden.

4) modify the dimension parent key, right key int he parent key and modity the property Usage to Parent.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值