从父表 olap 多维数据集继承字段

发布于 2024-09-30 11:13:50 字数 77 浏览 1 评论 0原文

我有一个 OLAP 多维数据集,其中包含一个数字度量,该度量表示针对父表的外键。我想显示父表中的“名称”字段,而不是报告中的度量。有可能吗?

I have an OLAP cube containing a numeric measure that represent a foreign key against a parent table. I would like display the 'name' field from the parent table instead of the measure in my reports. it is possible?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

戏蝶舞 2024-10-07 11:13:50

您有基于此表的尺寸吗?如果您有一个,那么它应该按设计工作(尽管不是作为度量,而是作为维度属性成员名称)
如果您没有维度,则该信息(名称属性)不会包含在多维数据集中。

还要考虑到典型的 MDX 查询不在事实表的粒度级别上,因此对于特定坐标(例如包含每月数据的事实表中的 2007 年),该度量中可能有 n 值,默认行为是使用一些可用的聚合公式来聚合该度量。
另一方面,如果它是维度键,则您可以显示 2007 年事实记录的计数,或与事实表中 2007 年交叉连接的不同维度成员。

你的问题能说得更具体一些吗?

问候,
赫尔沃耶

Do you have a dimension based on this table? If you have one than it should work by design (though not as a measure but as a dimension attribute member name)
If you do not have a dimension that that information (name attribute) is not included in the cube.

Also consider that a typical MDX query is not on the granularity level of the fact table, so for a specific coordinate, say Year 2007 in a fact table that contains monthly data there would probably be n-values in that measure and the default behavior is to aggregate that measure using some of the available aggregation formulas.
If on the other hand it was a dimension key then you could display the count of fact records in Year 2007, or different dimension members that crossjoin with Year 2007 in the fact table.

Could you be more specific in your question?

Regards,
Hrvoje

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文