This Essbase discussion board is provided as a free service and dedicated to all the Essbase professionals out there!
Respond to this messageReturn to Index
Original Message
  • Re: IEssOpMdxQuery.setDataless()

    • Posted Aug 11, 2012 9:03 AM


      Hi Zoltan,

      On my 11.1.2.1.102 laptop, I get no data cells when setDataless() is set to true:


      String mdx = "SELECT {actual} ON COLUMNS, \n" +
      "NON EMPTY CrossJoin(Colas.CHILDREN, West.Children) DIMENSION PROPERTIES Market.GEN_NUMBER, [Product].[GEN_NUMBER], [Product].[LEVEL_NUMBER], PRODUCT.MEMBER_ALIAS, [Product].[Comments] on ROWS FROM SAMPLE.BASIC";

      IEssCubeView cv = cube.openCubeView("default");

      IEssOpMdxQuery op = cv.createIEssOpMdxQuery();

      op.setQuery(false, false, mdx, true, IEssOpMdxQuery.EEssMemberIdentifierType.NAME);

      op.setXMLAMode(false);

      op.setDataless(true);

      cv.performOperation(op);

      IEssMdDataSet mddata = cv.getMdDataSet();

      System.out.println(mddata.getCellCount()); // prints 0


      Are you seeing a version-specific thing?

      Tim

      Tim Tow
      Oracle ACE Director
      Applied OLAP, Inc
    Login Status
  • You are not logged in
    • Login
      Password
       

      Optional
      Provides additional benefits such as notifications, signatures, and user authentication.


      Create Account
    Your Name
    Your Email
    (Optional)
    Message Title
    Message Text
    Options Also send responses to my email address
          



    RSS feed for this forum - http://www.network54.com/Forum/58296?xml=rss. Please email hypess (at) gmail.com, if you have any questions/feedback/issues.