Can I create other visualization components using OLAPResult from the OLAPQuery on a OLAPCube?

Hi,
I have a OLAPCube/ schema defined. I am executing a OLAPQuery on the Cube. With the result from the query execution, I can create OLAP Data Grid. But I want to know if I can draw any chart from the same result. If yes, then please let me know the way we can do so.
Thank you...

/** Date:30-05-2012
                     * function decodes the OLAPResult object into arrayCollection and retruns
                     * the arrayCollection instance...
                    public static function decodeOLAPResult(result:OLAPResult):ArrayCollection
                              var colAxis:ArrayCollection = result.getAxis(OLAPQuery.COLUMN_AXIS).positions as ArrayCollection;
                              var columnLength:Number = colAxis.length;
                              var rowAxis:ArrayCollection = result.getAxis(OLAPQuery.ROW_AXIS).positions as ArrayCollection;
                              var rowLength:Number = rowAxis.length;
                              var newChartData:ArrayCollection = new ArrayCollection();
                              var dataObject:Object;
                              for(var j:int = 0; j < rowLength; j++)
                                        var row:OLAPAxisPosition = rowAxis[j];
                                        var product:String = row.members.toArray().join(",");
                                        if (product.indexOf("(All)") > -1) continue;
                                        for (var i:int=0;i<columnLength;i++)
                                                  dataObject = new Object();
                                                  var tuple:OLAPAxisPosition = colAxis[i];
                                                  var period:String = tuple.members.toArray().join(",");
                                                  if (period.indexOf("(All)") > -1) continue;
                                                  for(var rowCount:int=0; rowCount < row.members.length; rowCount++)
                                                            var fieldName:String = String(getFieldName(row.members[rowCount]).toLocaleLowerCase());
                                                            dataObject[fieldName] = row.members[rowCount].name;
                                                  for(var colCount:int=0; colCount < tuple.members.length; colCount++)
                                                            var field:String = String(getFieldName(tuple.members[colCount]).toLocaleLowerCase());
                                                            dataObject[field] = tuple.members[colCount].name;
                                                  dataObject.revenue = result.getCell(j, i).value;
                                                  newChartData.addItem(dataObject);
                                                  //newChartData.push({dim1:dim1, dim2:dim2, dim3:dim3, dim4:dim4, revenue:result.getCell(j, i).value});
                              return newChartData;

Similar Messages

  • Can not create a new portal using Oracle and the Administration tools.

    Using the Personalization Server admin tool. My database is Oracle 8.0.5
    (NT). I used the db/oracle/create* scripts to the create the necessary
    database tables. I was able to successfully create users, groups, and
    portlets, but when I try to create a Portal I'm getting the following
    exception.
    Any help would be very appreciated.
    Thank you.
    Marko.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Set scope/description in propertySetBean MyPortal
    propertySetBean creating property set...
    java.lang.NullPointerException:
    at
    com.beasys.commerce.user.jsp.beans.PropertySetBean.copyPropertySet(Pr
    opertySetBean.java:218)
    at
    com.beasys.commerce.user.jsp.beans.PropertySetBean.initializeProperty
    Set(PropertySetBean.java:181)
    at
    jsp._tools._portal._portal_95_new._jspService(_portal_95_new.java:431
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:105)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:143)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceMan
    ager.java:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:105)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:742)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:686)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
    ContextManager.java:247)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
    a:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    result of propertySetBean.createPropertySet(): Error: Property set
    DEFAULTPORT
    AL_SCHEMA copy could not be completed.

    Marko,
    I know I answered you through support, but for the benefit of the newsgroups
    When using Oracle, you must run the sql scripts provided. The
    insert-pzsamples-oracle.sql script is included in the create-p13n-oracle.sql
    scripts. This script includes inserting information into the tables that are
    required for creating new portlets. In particular, inserts to the
    WLCS_SCHEMA table and inserts to the Meta Data tables (*MD*) are required.
    Cindy Eldenburg
    Marko Milicevic wrote:
    Using the Personalization Server admin tool. My database is Oracle 8.0.5
    (NT). I used the db/oracle/create* scripts to the create the necessary
    database tables. I was able to successfully create users, groups, and
    portlets, but when I try to create a Portal I'm getting the following
    exception.
    Any help would be very appreciated.
    Thank you.
    Marko.
    >Set scope/description in propertySetBean MyPortal
    propertySetBean creating property set...
    java.lang.NullPointerException:
    at
    com.beasys.commerce.user.jsp.beans.PropertySetBean.copyPropertySet(Pr
    opertySetBean.java:218)
    at
    com.beasys.commerce.user.jsp.beans.PropertySetBean.initializeProperty
    Set(PropertySetBean.java:181)
    at
    jsp._tools._portal._portal_95_new._jspService(_portal_95_new.java:431
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:105)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
    cherImpl.java:143)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceMan
    ager.java:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:105)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:742)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:686)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
    ContextManager.java:247)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
    a:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    result of propertySetBean.createPropertySet(): Error: Property set
    DEFAULTPORT
    AL_SCHEMA copy could not be completed.

  • Can I create a shared calendar on iCal from the New iPad?

    My company just gave out iPads for use to all field employees. My coworkers and I currently have an Outlook shared calendar that we utilize for scheduling our work. We can not access the shared calendars on our iPads, therefore I would like to create a shared calendar in iCal that we can all access for sharing our schedule as we were doing on Outlook. Is this possible?
    NOTE: The idea is that I would like to use the iPad as the sole resource, instead of carrying our laptops around just to access the shared outlook calendar/schedule. The laptops are outdated junk that requires roughly 20 mins of time just to power up, connect and sign in to our servers...very inefficient.
    Thank you!

    I have a bluetooth 2 keyboard from Brookstone, will it work with the iPad?

  • How can I create a master PDX that pulls from multiple other PDXs?

    I process aviation maintenance manuals, with the individual manuals having their own PDX. How can I create a master PDX that pulls from the individual PDXs?
    I have access to myriad versions of Windows and Acrobat so there's that...

    I’ve got 100s of manuals each with their own PDX. I’ve been asked to create a master PDX that in effect combines all of the individual PDXs into a single (cross-manufacturer, cross-fleet, cross-manual-type) searchable PDX that can be easily updated.

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • Can you creat an Apple ID using the iTunes gift cards?

    Can you creat an Apple ID using the iTunes gift cards?

    Jack, are you trying to make a new account on a computer or and iOS device, you need to click the links and follow the instruction to make the account without a credit card.  After you make your account then redeem your iTunes card. http://support.apple.com/kb/ht2534

  • How can I create a new label using Pages and Avery Labels products?

    How can I create a new label using Avery LAbels and PAges on an imac?

    Contacts prints to Avery labels.
    Otherwise just open the appropriate Word template from Avery's website, in Pages.
    Peter

  • Can i create a 1mx1m poster using keynote??

    Can i create a 1mx1m poster using keynote??

    I will hazard a guess that (1mx1m) means 1meter?
    Keynote is not a good application to print from, there is no control over scaling in Keynote so a 50cm object will  print much smaller than 50cm.
    Use a graphics or page layout application that can scale to print correctly; Photoshop, Indesign, Pages, there are many others.

  • Can I create books for iPhone using iBooks Author?

    Can I create books for iPhone using iBooks Author?

    There is a new $5 iBooks Creator app in iOS app store for the iPad.
    The output looked pretty good for an iPad app.
    There is a video on how to use it to give you an idea of how easy it is.
    It creates ePub 2 whihc can be read on all platforms with an ePub reader except Amazon Kindle whihc forbids such things.
    You can run the ePub through Calibre and get MOIB for Kindle which works for me.
    I have done thirty or forty conversions so far.

  • How can we create such navigation buttons using Flash CS4?

    Hi,
    How can we create such navigation buttons using Flash CS4 is in the following website? Please help me with any such tutorial to make my custom navigation bar/buttons.
    http://city.reallusion.com/join.html
    Thanks.

    While the Note 4 is a reasonably large device it still falls into the phone layout bucket. We need this layout to function on very small screens some as low as 320 pixels high and 240 pixels wide. These sorts of devices don't have the space for a full toolbar.

  • Can i create a photo stream using iPhoto 8.1.2

    Can i create a photo stream using iPhoto 8.1.2?  or is there any other way to create one besides a later version of iPhoto?

    iPhoto 9.2.2 or better is required for photo stream.

  • Can i create apple id without use the credit card?

    can i create apple id without use the credit card?

    I'm getting the same thing. I created a new Apple ID via the Internet (appleid.apple.com) When I go to my device to try to use it, I have to review it first and in that process, I'm asked for a credit card or iTunes gift card. There is NO 'none' option.
    I work in a school district and we'd like employees to use their own apple ID for free apps which will allow them the freedom to explore apps without weighing down our tech dept with myriad requests for random apps. I deal with a broad demographic and many users are suspicious of putting personal credit card info on an Internet-based account.
    However, it appears they are locked out of the store unless they have some form of payment on file. Even if they enter a gift card, what happens when it's used up? Will they get locked out of the store if they don't have a balance?
    Anyone have a work around? If not ... APPLE Please update your support materials to explain this, or fix the bug.
    Thanks!

  • HT2589 how can i create apple id without using credit card details ?

    how can i create apple id without using credit card details ?

    @Limnos - that doesn't work anymore. There is no NONE option. I've been at it for hours trying to set up my daughter's account. I've tried creating and verifying an appleID on the web, on her touch...everything. Every single time you get to the stupid Touch, it wants to walk you through the verification of the account and it demands payment (even for their suggested apple Remote method listed in the KB).

  • How can I create a Online Store using Muse? (with not Business Catalyst)

    How can I create a Online Store using Muse with not Business Catalyst for example three services
    _ttps://orders.self-pub.net/checkout.php?m=fastcheckout
    _ww.self-pub.net/services/covers.html

    Hi,
    Unfortunately there is no option stand alone in Muse to create an online store. However if any hosting plan uses CMS feature like Business Catalyst and ecommerce using modules and tags, you can use the same proceedure as for Business Catalyst and integrate that system and host the Muse site on their platform and that would work.
    There is other thing that you can try is, Insert HTML codes to link the pages and some contents in Muse to your desired CMS. What you can also do is after you create the site in Muse, you can export the Muse site and get the layout and design of your site and copy paste the codes for pages with some HTML and coding skills to integrate with your desired hosting.
    Hope this helps.
    Regards,
    Rajan

  • How can I create a Online Store using Muse?

    How can I create a Online Store using Muse?
    I have been looking around for solutions but I can't find one.
    I was just hoping that someone else might have known of a way.
    Thanks!

    Since you can access the Alpha File Manager it means the option to "Enable online content editing (incompatible with Muse)" is ticked up under your profile details. With this enabled you can create Web Forms under Site Manager. Once you create the contact form open the Alpha File Manager (AFM), select the page where you want to insert this and choose the Web Forms from the right hand column. On the pop-up window select the web form to insert and click Insert.
    Regarding the upgrade, as long as the site is in trial mode you can choose any plan for the site, see my answer #7. Create a new trial site, choose the link to the new trial site created from PP and publish your site there for testing purposes so you will have ecommerce included and available for you to try out.
    If things go well you can request an upgrade to your current site to have the ecommerce included (the only situation in which this upgrade won't be available is when the site is published on one of the 5 sites received with the CCM subscription, they are webBasics and cannot be upgraded: http://www.adobe.com/products/creativecloud/publish-anywhere.html under "Publish websites" section, and the option will be to create the site from partner portal and publish the content from Muse)
    At this moment indeed there's little documentation on how to integrate the two but this is because Muse is just not ready to take advantage of BC capabilities. It was never intended for CMS features of BC to be available in version 1 of Muse. This has already been mentioned a few times (one relevant example: http://forums.adobe.com/message/4355214#4355214#4355214)
    Regards,
    Cristian

Maybe you are looking for