1

我想知道当定义的多维数据集中没有任何成员时,是否有可能避免蒙德里安的致命错误。例如我有这个 MDX 查询

选择 {[Measures].[Unit_Sales], [Measures].[Quantity], [Measures].[Total]} ON COLUMNS, Hierarchize({([Country.CountryHeirarchy].[All countries].[USA], [Products] .ProductHierarchy].[All Products])}) ON ROWS from [SALES]

假设数据库没有美国成员,我想获得零(0)或空值。有没有可能在蒙德里安做到这一点。

我一直在尝试使用mondrian.property文件中的这个属性

mondrian.rolap.ignoreInvalidMembersDuringQuery=true

但现在还不走运。

提前致谢。

4

2 回答 2

0

您应该尝试在 mondrian.properties 文件中进行设置,并确保在服务器启动期间加载此文件。

mondrian.rolap.ignoreInvalidMembers=true

上述设置的说明: “布尔属性,指示在模式加载期间是否应忽略与不存在的成员相关的错误。如果是,则将不存在的成员视为空成员。”

于 2013-07-03T06:02:30.157 回答
-1

将“galleria.classic.css”中的“.galleria-stage”类替换为

.galleria-stage {
    position: absolute;
    top: 10px;
    bottom: 60px;
    left: 10px;
    right: 10px;
    overflow:hidden;
    width:100%;
    height:100%;
}

你会在 IE 和其他浏览器中看到正确的输出。

于 2011-04-13T13:45:52.520 回答