惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
N
News and Events Feed by Topic
Recent Announcements
Recent Announcements
D
Docker
M
MIT News - Artificial intelligence
L
LangChain Blog
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
博客园_首页
MongoDB | Blog
MongoDB | Blog
美团技术团队
S
Schneier on Security
G
GRAHAM CLULEY
月光博客
月光博客
有赞技术团队
有赞技术团队
Vercel News
Vercel News
Scott Helme
Scott Helme
P
Privacy International News Feed
Last Week in AI
Last Week in AI
Recorded Future
Recorded Future
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
Attack and Defense Labs
Attack and Defense Labs
Google Online Security Blog
Google Online Security Blog
Simon Willison's Weblog
Simon Willison's Weblog
量子位
S
Security @ Cisco Blogs
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
V
Visual Studio Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
NISL@THU
NISL@THU
N
Netflix TechBlog - Medium
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Spread Privacy
Spread Privacy
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
罗磊的独立博客
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Threatpost
L
Lohrmann on Cybersecurity
www.infosecurity-magazine.com
www.infosecurity-magazine.com
S
Security Affairs
Cloudbric
Cloudbric
爱范儿
爱范儿
H
Heimdal Security Blog
PCI Perspectives
PCI Perspectives

博客园 - Love Fendi

性能优化系列---查询高cup的sql State模式学习 8.17--8.24积累 sql server 2005 analysis service step by step(二):创建时间维度 sql serve 2005 analysis service step by step(一):创建标准维度 算法练习五:求数组中第k大的数 算法练习四:求N!不溢出 算法练习三:奇偶分割 算法练习二:二分查找 数据库锁 算法练习一:最大公约数与最小公倍数 索引优化 生成验证码,同时异步获取加密后的验证码 自定义控件中与脚本资源集成的若干处理方式 一条语句删除表中某字段重复的数据 动态按需异步加载js文件 在Nhibernate中使用Json.net中出现Self referencing loop的错误的处理 JQuery学习笔记 c#委托事件 入门
sql server 2005 analysis service step by step(三):创建父子维度
Love Fendi · 2009-04-27 · via 博客园 - Love Fendi

1.什么是父子维度。

the parent-child relationship in the table that the wizard detected by the self-referencing join
on the table.
例如在Dim.Employee表中有个外键是ParentEmployeeKey,她关联的主键就是.Employee表的EmployKey建。

2. 创建父子维度

1. Open SSAS Step by Step DW.dsv.
2. Right-click the background of the Data Source View Diagram pane, and then click Add/
Remove Tables.
3. In the Add/Remove Tables dialog box, double-click dbo.DimEmployee in the Available
Objects list to move this table to the Included Objects list, and then click OK.
Notice the self-referencing relationship for the DimEmployee table in the DSV. This relationship
is indicated by the arrow leading from the DimEmployee table back to itself.
4. In Solution Explorer, right-click the Dimensions folder, click New Dimension, click
Next, clear the Auto Build check box, click Next, click the SSAS Step by Step DW DSV,
and then click Next twice.
5. Click dbo.DimEmployee in the Main Table drop-down list, click EmployeeKey in the
Key Columns list, click LastName in the Column Containing The Member Name dropdown
list, and then click Next.
6. On the Select Dimension Attributes page of the wizard, select the check box next to
ParentEmployeeKey.
You must include the attribute that defines the foreign key column of a record in a parentchild
dimension.
7. Click Next twice.

Click Next, change the name of the dimension from Dim Employee to Employee, and
then click Finish.
The Employee parent-child dimension is now added to your project.
9. In the Attributes pane of the Dimension Structure tab, right-click Dim Employee, click
Rename, and then type Employee.
10. Repeat the previous step to rename Parent Employee Key as Employees.
11. Keeping Employees selected in the Attributes pane, open the Properties window and
locate the Usage property.

3.父子维度的数据聚合。

4.管理父子维度的级别。