我想知道当定义的多维数据集中没有任何成员时,是否有可能避免蒙德里安的致命错误。例如我有这个 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
但现在还不走运。
提前致谢。