diff --git a/MDX2JSON/ResultSet.cls b/MDX2JSON/ResultSet.cls index 4fe3ba8..210c64f 100644 --- a/MDX2JSON/ResultSet.cls +++ b/MDX2JSON/ResultSet.cls @@ -130,7 +130,7 @@ Method ProcessOneAxisCell(CubeIndex, AxisKey, CubeName, QueryKey, AxisNumber, No set cell.vis = $LG(tNode,2) // visibility helper - does not help (apperently it shows if the cell is the lowest level) // now we process cell children, if any exist - if ($D($$$DeepSeeAxisGLVN(CubeIndex, AxisKey, "axes", Node, "ch")) = 10) { + if ($D($$$DeepSeeAxisGLVN(CubeIndex, AxisKey, "axes", Node, "ch")) = 10) && ($LG(tNode, 1)'="agg") { set cell.children = $$$NewDynObjList set key = $O($$$DeepSeeAxisGLVN(CubeIndex, AxisKey, "axes", Node, "ch", "")) while (key'="") {