【发布时间】:2016-12-04 11:41:36
【问题描述】:
我想在 MDX Query 中显示两个不同的维度,并进行向下钻取
暗淡 1:
Country, CountryId
Italy,1
Mexico,2
England,3
暗 2:
Product, ProductId
Shoes,1
Shirts,2
Bags,3
事实数据:
Country,Product,Amount
1,2,33
3,1,50
2,3,64
1,1,100
3,1,70
2,2,44
当我在 MDX 查询中加入维度时:
在 0 上选择 [Measures].[SaleAmount], crossjoin([Country].[Country].[Country].[Italy],[Product].[Product].[Product].[Product]) on 1 来自[立方体]
提供的数据将是:
italy Shoes 100
Shirts 33
Bags 0
Mexico Shoes 0
Shirts 44
Bags 64
...
我想通过从国家到产品的向下钻取选项来呈现数据
+italy 133
+Mexico 108
+England 120
我正在使用 icCube
【问题讨论】:
-
抱歉,听不懂。您能否创建一个包含内存数据的示例并将其添加为示例?
-
我已经编辑了问题
标签: mdx hierarchy dimensions iccube