我是 MDX 和分析服务的新手,所以请多多包涵。当我运行以下 MDX 查询时,结果值作为 Column AI 的双精度值返回,但是列元数据将数据类型显示为对象类型,而当它应该是双精度值时。我如何强制它识别数据类型为双重,我什至可以这样做吗?我不确定它是如何推断它是对象类型的。
WITH
MEMBER [Column (A)] AS [Measures].[ColumnA]
MEMBER [Column (B)] AS [Measures].[ColumnB]
MEMBER [Column (C)] AS [Measures].[ColumnC]
MEMBER [Column (D)] AS [Measures].[ColumnD]
MEMBER [Column (E)] AS [Measures].[ColumnE]
MEMBER [Column (F)] AS [Measures].[ColumnF]
MEMBER [Column (G)] AS [Measures].[ColumnB] - [Measures].[ColumnA]
MEMBER [Column (H)] AS [Measures].[ColumnD] - [Measures].[ColumnC]
MEMBER [Column (I)] AS [Measures].[ColumnF] - [Measures].[ColumnE]
SELECT
NON EMPTY
{
Column (A),
Column (B),
Column (C),
Column (D),
Column (E),
Column (F),
Column (G),
Column (H),
Column (I)
} ON COLUMNS,
NON EMPTY
CROSSJOIN(
CROSSJOIN([T].[TB].[TB],
[T].[TT].[TT]),
[T].[TR].[TR])
ON ROWS
FROM RePro
WHERE
(
[RS].[RS].[EOD],
[RD].[RD].[DATE],
[P].[P].[ABCD]
)
CELL PROPERTIES VALUE
提前致谢