MDX:如何替换空值

时间:2016-03-29 09:05:51

标签: ssas mdx msbi

enter image description here

如何替换mdx中的空值。

1 个答案:

答案 0 :(得分:1)

也许是这样的:

WITH
  MEMBER [Measures].ComputerSalesNew AS
    iif(
       isempty([Measures].ComputerSales),
       0,
       [Measures].ComputerSales
    )