多维数据集测量组,度量和维度可视化

时间:2017-03-17 09:28:18

标签: mdx dmv

以下查询(在Excel VBA中使用)从多维数据集中获取度量值组和维度,但不获取度量。我想将维度与他们的衡量标准联系起来,而不仅仅是衡量标准组。这可能吗?

SQLstr = "SELECT  [DIMENSION_UNIQUE_NAME] AS [Dimension]" & _
                " ,[MEASUREGROUP_NAME] AS [MeasureGroup]" & _
                " FROM $system.MDSCHEMA_MEASUREGROUP_DIMENSIONS" & _
                " WHERE [CUBE_NAME] ='" & CubeName & "'" & _
                " AND NOT [DIMENSION_IS_FACT_DIMENSION]" & _
                " ORDER BY [DIMENSION_UNIQUE_NAME]"

0 个答案:

没有答案