format_string 在 icCube 中不格式化空值
format_string in icCube does not format null values
我试图使用 format_string 将空值显示为 0。
我目前有:
WITH
MEMBER [test] AS null, FORMAT_STRING = '0.#;Neg (0.#);0.00;0.00'
SELECT
[test] ON COLUMNS
FROM [Sales]
第四个值 (;0.00) 应将空值格式化为零。我在这里读到:https://msdn.microsoft.com/en-us/library/ms146084.aspx
目前没有任何显示。它应该显示 0.00.
您可以在这里尝试:http://www.iccube.com/run-mdx
这是一个错误 (ic3pub_159) that is going to be fixed in the next version. As a workaround you can use the coalesceEmpty MDX function.
CoalesceEmpty( [MyValue] , 0.0 )
我试图使用 format_string 将空值显示为 0。
我目前有:
WITH
MEMBER [test] AS null, FORMAT_STRING = '0.#;Neg (0.#);0.00;0.00'
SELECT
[test] ON COLUMNS
FROM [Sales]
第四个值 (;0.00) 应将空值格式化为零。我在这里读到:https://msdn.microsoft.com/en-us/library/ms146084.aspx
目前没有任何显示。它应该显示 0.00.
您可以在这里尝试:http://www.iccube.com/run-mdx
这是一个错误 (ic3pub_159) that is going to be fixed in the next version. As a workaround you can use the coalesceEmpty MDX function.
CoalesceEmpty( [MyValue] , 0.0 )