public static CellSet getResultSet(String mdx, OlapConnection conn) throws OlapException { OlapStatement statement = conn.createStatement(); CellSet cellSet = statement.executeOlapQuery(mdx); return cellSet; }