缺少Dimension和MeasureGroup之间的关系 [英] relationship between Dimension and MeasureGroup is missing

查看:191
本文介绍了缺少Dimension和MeasureGroup之间的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在2个模式中完美地运行了SSAS多维数据集,例如。 A和B.我将DimensionUsage选项卡中现有的dim和measure组与Regular关系链接起来。然后使用部署向导部署多维数据集 - >在提到的两个
架构中运行部署脚本。

I had perfectly running SSAS cube in 2 schemas eg. A and B. I linked already existing dim and measure group in DimensionUsage tab with Regular relationship. And then deployed the cube using deployment wizard--> run deployment script in mentioned both schemas.

架构A已更新,但架构B的行为不符合预期。

schema A got updated with changes but schema B is not behaving as expected.

I我正在浏览测量组,以测试需求。

I am browsing measure group against the dim to test the requirement.

我检查并在网上提到了很多东西以便解决但不能解决。

I checked and refered so many things online as well to resolve but couldn't.

任何人都可以请求帮助吗?

Anyone can please help?

推荐答案

为了更清楚这一点..



2模式实际上是2个SSAS数据库,具有完全相同的结构,用于单独的用户群。



首先,我在DSV中创建了一个关系,然后将符合(共享)维度sDim链接到在DimensionUsage选项卡中使用常规关系度量组dFact。使用以下方法在两个DB中以相同的方式部署多维数据集:Build - >部署向导 - >保留角色和
权限 - >完整过程 - >生成部署脚本 - >在SSAS DB上运行脚本,然后处理多维数据集。



现在还好,但是当我通过浏览SSAS DB中的多维数据集进行测试时,它可以在模式A中运行意味着我能够针对sDim的不同成员获取不同的dFact数据。但对于模式B,对于每个sDim成员dFact数据都相同,意味着这两个
没有链接。



我比较了这两个数据库之间的东西。 A中的所有维度具有< DimensionPermission>标签除了sDim。并且B中的所有维度具有< DimensionPermission>标签包括sDim(附加代码块)。这是一个奇怪的发现但不确定
如果这是原因。同样不确定为什么多维数据集/暗淡创建和部署的差异来自同一来源的完全相同。



请尽快帮助纠正。任何猜测/线索都是最受欢迎的。非常感谢




To be more clear on this ..

2 schemas are actually 2 SSAS databases with exactly same structure for separate user base.

First I created a relationship in DSV, then linked conformed (shared) dimension sDim with measure group dFact with Regular relationship in DimensionUsage tab. Deployed the cube same way in both DB using: Build --> deployment wizard--> retain roles & permissions--> full process --> generate deployment script--> run script on SSAS DB and then process the cube.

Till now its fine but when I go for testing by browsing the cube in SSAS DB, it works in schema A. means I am able to get the different dFact data against different members of sDim. But for schema B, for every sDim members dFact data is same, means these two are NOT linked.

I compared things between these 2 DBs. All dimensions in A having <DimensionPermission> tag except sDim. And All dimensions in B having <DimensionPermission> tag including sDim (attached code block). THis is something weird finding but not sure if this is the reason. Also not sure why this difference when cube/dim creation and deployment is exactly same from same source.

Please help to rectify at the earliest. Any guess/clue is most welcome. Many Thanks

<DimensionPermissions>
<DimensionPermission>
<ID>DimensionPermission</ID>
<Name>DimensionPermission</Name>
<RoleID>Role</RoleID>
<Read>Allowed</Read>
</DimensionPermission>
<DimensionPermission>
<ID>DimensionPermission 1</ID>
<Name>DimensionPermission 1</Name>
<RoleID>Role 2</RoleID>
<Read>Allowed</Read>
</DimensionPermission>
</DimensionPermissions>





这篇关于缺少Dimension和MeasureGroup之间的关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆