为什么没有基于时间的层次结构?

发布于 2024-11-29 23:39:27 字数 270 浏览 2 评论 0原文

为什么不需要使用日期/时间表中的日期属性来定义层次结构?

Analysis Service 项目似乎希望我在维度中创建层次结构 - 工具提示显示“在非父子维度中创建层次结构”。我真的没有想到,所以我尝试从我的时间表中添加 PK Date 属性,并用它创建一个层次结构。

当我这样做时,我收到错误“高级关系引擎中的错误。无法根据数据源视图中的关系访问联接所需的“dbo_Orders”表。”

我注意到 AdventureWorks 示例中从未在层次结构中使用日期。这是为什么呢?

Why is it not necessary to define a hierarchy using the Date attribute from a date/time table?

The Analysis Service project seems to want me to create a hierarchy within my Dimension -- the tooltip says "Create hierarchies in non-parent child dimensions". I really had none that came to mind, so I tried adding a the PK Date attribute from my Time table, and creating a hierarchy with that.

When I do this, I get the error "Errors in the high-level relational engine. The 'dbo_Orders' table that is required for a join cannot be reached based on the relationships in the data source view."

I noticed in the AdventureWorks sample never uses Date in a hierarchy. Why is this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文