datachile / datachile-mondrian

Schema de Mondrian para DataChile. Server API.
https://chilecube.datachile.io/cubes
1 stars 2 forks source link

Can't cut tax_data cube by ISIC : Level 2 #33

Closed palamago closed 6 years ago

palamago commented 6 years ago

URL: https://chilecube.datawheel.us//cubes/tax_data/aggregate.jsonrecords?drilldown%5B%5D=%5BTax+Geography%5D.%5BGeography%5D.%5BComuna%5D&drilldown%5B%5D=%5BDate%5D.%5BYear%5D&drilldown%5B%5D=%5BISICrev4%5D.%5BLevel+2%5D&cut%5B%5D=%5BISICrev4%5D.%5BISICrev4%5D.%5BLevel+2%5D.%26%5B42%5D&measures%5B%5D=Output&nonempty=true&distinct=false&parents=true&debug=false

Log:

Java::MondrianOlap::MondrianException: Mondrian Error:Internal error: Wrong number of values in member key; &[42] has 1 values, whereas level's key has 2 columns [dim_isic.level2, dim_isic.level1].
     mondrian.resource.MondrianResource$_Def0.ex(mondrian/resource/MondrianResource.java:984)
     mondrian.olap.Util.newInternal(mondrian/olap/Util.java:2403)
     mondrian.olap.Util.newError(mondrian/olap/Util.java:2418)
     mondrian.rolap.RolapLevel.lookupChild(mondrian/rolap/RolapLevel.java:535)
     mondrian.rolap.RolapSchemaReader.getElementChild(mondrian/rolap/RolapSchemaReader.java:381)
     mondrian.rolap.RolapSchemaReader.lookupChild(mondrian/rolap/RolapSchemaReader.java:463)
     mondrian.rolap.RolapSchemaReader.lookupChild(mondrian/rolap/RolapSchemaReader.java:455)
     mondrian.olap.NameResolver.resolveExact(mondrian/olap/NameResolver.java:125)
     mondrian.olap.NameResolver.resolve(mondrian/olap/NameResolver.java:52)
     mondrian.rolap.RolapSchemaReader.lookupCompound(mondrian/rolap/RolapSchemaReader.java:420)
     mondrian.rolap.RolapCube$RolapCubeSchemaReader.getMemberByUniqueName(mondrian/rolap/RolapCube.java:2946)
     mondrian.rolap.RolapSchemaReader.getMemberByUniqueName(mondrian/rolap/RolapSchemaReader.java:388)
     java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)
     mondrian.rolap.RolapUtil$2.invoke(mondrian/rolap/RolapUtil.java:111)
     com.sun.proxy.$Proxy32.getMemberByUniqueName(com/sun/proxy/$Proxy32)
     mondrian.olap4j.MondrianOlap4jCube.lookupMember(mondrian/olap4j/MondrianOlap4jCube.java:209)
     mondrian.olap4j.MondrianOlap4jCube.lookupMember(mondrian/olap4j/MondrianOlap4jCube.java:196)
     mondrian.olap4j.MondrianOlap4jCube.lookupMember(mondrian/olap4j/MondrianOlap4jCube.java:34)