I actually have a problem to get cube data using the method getDataArray(). I've seen the example in to get data, but it's just using one dimension for rows and one dimension for columns. Has anyone an example how to get the cube data with more than two dimensions?

      Regards, Andre
      thx for your answer!
      Let's have look at the definition of a dataArray.

      Object cubedata[] = cube.getDataArray(new Element[][]{
      new Element[] {cube.getDimensionAt(2).getElementAt(0)},
      new Element[] { cube.getDimensionAt(3).getElementAt(0) },
      new Element[] { cube.getDimensionAt(4).getElementAt(0) },
      new Element[] { cube.getDimensionAt(5).getElementAt(0) },

      How can I tell a program which dimension shows my rowElements and which dimension shows my columnElements? The definition of my dataArray remains the same in both cases.

      Post was edited 1 time, last by “django79” ().

      Hi Andre,

      I think you misunderstood something.
      Palo cubes consist of dimensions and not of rows and columns (like a table). The dimension order is defined during cube creation and cannot change.
      If you want to display a cube within a table (like the jPalo-Client does) you have to store the relationship between columns/rows and cube dimensions, i.e. it is the responsibility of the view to known which cube dimensions correspond to (e.g.) rows and columns.