以下查询(在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]"