Sort in date order from Essbase cube source

Hi everyone,
I have an Essbase cube which I'm displaying the data from in OBIEE. Within the cube one of the dimensions is a date ( set as a time dimension ).
It has several generations:
Gen2 - Year, 2010
Gen3 - Year/Quarter, 2010/Q1
Gen4 - Year/Month, 2010/01
Gen5 - Day/Month/Year, 26/01/2010
If I produce a report filtered on the Year, say 2009, and display the full date, it puts all twelve 1st's of the month first, then the 2nds, and so on. I can resolve this by putting the Year/Month field into the report and sort on that, then the full date, but I really only want the date in chronological order.
Can anyone advise on the best way to achieve this?
Thanks to all in advance.
Bagpuss
Edited by: Bagpuss1969 on Jan 26, 2010 12:46 PM
Generation 5 is DD/MM/YYYY

And this is one of the reasons why OBIEE/Essbase integration is still #1 on the [Dont Try This At Home Kids|http://majendi.blogspot.com/2009/06/dont-try-this-at-home-kids.html] list.
One of the most basic facts about the current integration - which is often disregarded - is that dimension levels and hence their contained members come across as pure VARCHARs. Sort order-wise this gives you a standard alpha-numeric sort order by default.
However there's a workaround which we discussed just last week: Oracle BI import Essbase cube (problem on the months)
Essbase defines the sort order. Otherwise it's alpha-numeric.
C.

Similar Messages

  • Error extracting data from essbase cube using MDX method

    Hi,
    We have some problems extracting data from essbase cube using MDX method, we believe that the problem is the MDX query, this is the problem and query:
    ERROR:
    [DwgCmdExecutionThread]: Cannot perform cube view operation. Analytic Server Error(1260046): Unknown Member SELECTNON used in query
    com.hyperion.odi.essbase.ODIEssbaseException: Cannot perform cube view operation. Analytic Server Error(1260046): Unknown Member SELECTNON used in query
         at com.hyperion.odi.essbase.wrapper.EssbaseMdxDataIterator.init(Unknown Source)
    MDX:
    SELECT
    NON EMPTY {[YearTotal].[Jan]} ON COLUMNS,
    NON EMPTY {[Total Movimientos].[Presupuesto Base]} ON AXIS(1),
    NON EMPTY {[Año].[FY11]} ON AXIS(2),
    NON EMPTY {[Escenario].[Presupuesto_1]} ON AXIS(3),
    NON EMPTY {[Version].[Trabajo]} ON AXIS(4),
    NON EMPTY {[Moneda].[Moneda Input]} ON AXIS(5),
    NON EMPTY {[Centros de Costo].[1101]} ON AXIS(6),
    NON EMPTY {Descendants([Resultado Operacional],4)} ON AXIS(7)
    FROM [DSR02].[ROP]
    We try extract data using a sample cube and work fine, this is the mdx query:
    SELECT
    {[Actual],[Budget]} ON COLUMNS,
    {[Sales]} ON ROWS,
    NON EMPTY {[Product].levels(0).members} ON PAGES,
    NON EMPTY {[East].levels(0).members} ON AXIS(3),
    NON EMPTY {[Year].levels(0).members} ON AXIS(4)
    FROM Sample.Basic
    The model reversed ([DSR02].[ROP]) have the same structure than query need, the query and the model are fine, definitely we can´t see the problem, someone can help us?
    Regards

    You will be able to test the MDX query in EAS, it is usually best to test the query first before trying to use it in ODI.
    Is there any reason you are using MDX to extract the data, have you tried reportscript as I usually find it more efficient to extract the data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error encountered while loading data into an Essbase cube from oracle DB

    Hi All,
    I am trying to load data into an Essbase cube from Oracle db. Essbase is installed in an 64 bit HP-UX machine and oracle database on HP -UX 11.23 B server. While performing the above I am getting the below error messages:
    K/INFO - 1021013 - ODBC Layer Error: [08001] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HP-UX Error: 2: No such file or directory].
    OK/INFO - 1021014 - ODBC Layer Error: Native Error code [1034] .
    ERROR - 1021001 - Failed to Establish Connection With SQL Database Server. See log for more information.
    Can you please help me out in identifying the issue, as why it could have occured , because of network problem or is there anything related to databse?
    Regards,
    Priya

    The error is related to Oracle, I would check that it is all up and running
    ORA-01034: ORACLE not available
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Cannot Lock and Send data to an Essbase cube

    Hi all,
    One of our customer is executing a Macro script to lock and send data to the essbase cube from an excel sheet.
    They reported that in several cases where users will submit their data, and later discover that their changes are not in Essbase.
    The calls to EssVRetrieve (to lock the blocks) and EssVSendData are both returning successfully and there is no error message received while executing the above macros.
    I reviewed the application log file and found the following message:
    [Mon Nov 24 18:59:43 2008]Local/Applicn///Warning(1080014)
    Transaction [ 0xd801e0( 0x492b4bb0.0x45560 ) ] aborted due to status [1014031].
    I analysed the above message and found the user is trying to lock the database when already a lock has been applied to it and some operation is being performed on it. Because of that the transaction has been aborted. But customer says no concurrent operation is being performed at that time.
    Can anyone help me in this regard.
    Thanks,
    Raja

    The error message for error 1014031 is 'Essbase could not get a lock in the specified time.' The first thought I have is that perhaps some user/s have the 'Update Mode' option set in their Essbase Options and thus, when they are retrieving data, they are inadvertantly locking the data blocks. If that is the case, you will probably see this issue sporadically as the locks are automatically released when the user disconnects from Essbase.
    To make it stop, you will have to go to every user's desktop and make sure they have that Essbase Option turned off. Further, you will have to look at any worksheets they may use that may have an Essbase Option name stored on it. The range name is stored as a string and includes a setting for update mode. Here is a sample that I created for this post where I first turned 'on' update mode and then turned 'off' update mode:
    A1100000001121000000001100120_01-0000
    A1100000000121000000001100120_01-0000
    Note the 11th character in the first string is '1' which indicates that Update Mode is 'on'; in the second string, it is 'off'.
    This behavior, particularly with update mode, is the only one of the behaviors that I disliked in Excel and pushed me to design our Dodeca product. In Dodeca, the administrator controls all Essbase options and can either set individual options to the value they want or they can allow the user to choose their own options. Most of our customers do not allow the user to set update mode.
    Tim Tow
    Applied OLAP, Inc

  • Is it possible to include attributes from Essbase Cube in HW notifications?

    Hi All,
    I need to include few attributes from Essbase cube and few from db tables in my HW notification. Just wanted to check, is it possible to include attributes from Essbase Cube in HW notifications?

    Hi All,
    I need to include few attributes from Essbase cube and few from db tables in my HW notification. Just wanted to check, is it possible to include attributes from Essbase Cube in HW notifications?

  • Can i get the data file from the cube

    Hi All,
    Previously I created and activated one cube using one data file, by mistake lost that data file. Is there any chance to get that data file from that Cube?
    Thanks
    Bhaskar

    Hi Paul,
    yes you can..
    1) If you have loaded through  PSA , Then goto that PSA table and from settings menu> change display variants-> view tab> view as Excel> then save this file
    2) If you have not used PSA.then use LISTCUBE to view the data and change settings to excel and download..
    Don't forget to assign points,If it is useful..
    Further queries always welocme..
    Regards.
    Pradeep choudhari

  • SSRS pulls data from ESSBASE cube, data not showing

    Dear Experts,
    We are connecting SSRS 2012 to Essbase 11.1.3 to pull data from the cube, and having some issues with some members data not showing in the query designer and report, while some have no problem. And we couldn't find a pattern on which members won't show. We are wondering if this is a known issue and if there is a way to solve the problem.
    Thanks very much.
    Grace

    Hi ,
    Check the following:-
    1 Check whether you have made the joins properly.
    2 Check data at multiprovider level .
    3 is data available for reporting in both the cubes
    Regards
    Rahul

  • Short Dump while Complete deletion of data Contents from a Cube.

    Hello Experts,
    I am facing a runtime Short dump whenever i attempt to delete data from a Cube. Shown Below:-
    Runtime Errors         MESSAGE_TYPE_X
    Error analysis
        Short text of error message:
    Data request to the OLTP
        Long text of error message:
        Technical information about t
        Message class....... "RSM"
        Number.............. 000
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLRSM1" or "LRSM1U43"
        "RSSM_UPDATE_RSBKREQUEST"
    Information on where terminated
        Termination occurred in the ABAP program "SAPLRSM1" - in
         "RSSM_UPDATE_RSBKREQUEST".
        The main program was "RSAWBN_START ".
        In the source code you have the termination point in line 117
        of the (Include) program "LRSM1U43".
    Line  SourceCde
       87   call function 'RSSTATMAN_GET_TYPE_FOR_DTA'
       88     exporting
       89       i_dta  = l_dta
       90     importing
       91       e_type = l_dta_type
       92     exceptions
       93       error  = 1
       94       others = 2.
       95   if sy-subrc <> 0.
       96     message id sy-msgid type sy-msgty number sy-msgno
       97             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       98   endif.
       99   call function 'RSSTATMAN_DELETE_STATUS'
      100     exporting
      101       i_dta      = l_dta
      102       i_dta_type = l_dta_type
      103       i_process  = 'ALL'.
      104
      105   sort l_t_iccont by rnsidlast ascending.
      106   loop at l_t_iccont.
      107     data: l_s_reqdone like rsreqdone.
      108     select single * from rsreqdone into l_s_reqdone where
      109            rnr = l_t_iccont-rnr.
      110     if sy-subrc <> 0.
      111       read table l_h_dtpreq with key
      112            requid = l_t_iccont-rnsidlast.
      113       if sy-subrc = 0 and
      114          ( l_h_dtpreq-ustate = '0' or l_h_dtpreq-tstate = '0' ).
      115         clear l_s_reqdone-archived.
      116       else.
    >>>>>         message x000.
       118       endif.
      119     endif.
      120     if l_s_reqdone-archived <> rs_c_false.
      121       call function 'RSREQARCH_RELOAD_REQUEST'
      122         exporting
      123           i_rnr         = l_t_iccont-rnr.
      124     endif.
      125     select single * from rsbkrequest into l_s_req where
      126            requid = l_t_iccont-rnsidlast.
      127     if sy-subrc <> 0.
      128       continue.
      129     endif.
      130
      131     read table l_h_rsbkdtp with table key
      132          dtp = l_s_req-dtp.
      133     if sy-subrc <> 0.
      134       l_h_rsbkdtp-dtp = l_s_req-dtp.
      135       insert table l_h_rsbkdtp.
      136     endif.
    This issue only exists in Production system not QTY or development thr Cube deletion is working fine.
    So far I have tried Deleting Index's and then deleting the Cube Contents & Run Elementary Checks from RSRV but not find any lead yet.Also unable to find appropriate notes for this issue aswell I am using SAP_Bw comp 700 with SP26.
    Any suggestion  would be of great help .
    Thanks & Regards
    Aman

    Hi Ap_SAP & Arvind,
    Any recent upgrades or system refresh done?
    In recent update just from SP24 to SP26 was updated and a DB stats Referesh was carried on.But this proublem existed before these activities.
    Except deleting can you able to perform all other operations like loading data..etc?
    Other than deletion I am able to do load data into cube extract from R3 and also i can delete data from PSA.Only deletion giving dump.
    You are trying to delete transactional or master data.
    I am tring for transaction data.
    WHen I try to delete request by request it also lead to the same short dump.
    @ arvind : I checked Sm12 there i see not table which has been locked.
    Thanks
    Aman

  • E-mail Alerts from Essbase Cubes

    Hi,
    I have Essbase 7.1.3 windows server and We do lots of Cube processing through Batch Files.
    I would like to have an option to send email alerts to the business users once we are done with the processing.
    Say for example , I have a Deposits Essbase cube and once i am done with the calculation and Enable connects to the users i would like to send a mail notification " The Deposit Cube now available....."
    Essbase have some thing called " Triggers..." But i am not sure how far will it help me.
    Looking forward for your inputs.
    Thnx,
    MS

    Okay, yes, I still use esscmd, so this example is for an esscmd script (some day I will convert them, I promise...).
    The shell (batch) script that I use calls esscmd to do the job, and then scans the script (using the for command) for tokens. These tokens determine who gets an email depending on the outcome of the script. By encoding the messaging into the script, I can control the business logic at an appropriate level. The TITLE token is also used during the notification, but I left the logic out that builds the SUBJECT variable (for brevity)...
    :TITLE Load Budget data to Daily Trends
    :Job Notifications:
    :ONERR [email protected]
    :ONERR [email protected]
    :ONSUCCESS [email protected]
    :ONSUCCESS [email protected]
    :ONSUCCESS [email protected]
    :ONSUCCESS [email protected]
    LOGIN "LocalHost" "<superuser>" "<superpassword>";
    ... etc.Here is the relevant part of the shell job that scans for tokens (the RESULT environment variable is set to either "ERR" or "SUCCESS" based on the output, with other variables set as needed):
    TYPE %SCRFILE% | FIND ":ON%RESULT%" >Notify.tmp
    FOR /f "tokens=2" %%a in (Notify.tmp) DO SendEmail -f %FROM% -t %%a -u "%SUBJECT%" -m "%MESSAGE%" -s %RELAY% -a %ATTACH%
    ERASE /Q Notify.tmp

  • Data Extract from Essbase

    We are trying to extract data from one Essbase cube and load into another. But couple of dimensions have spaces in the name (Ex. Time Dimension, Business Unit).
    Because of this ODI is failing at time of creating C$ temp tables. Any one knows how to handle this issue.
    -app

    What method are you using to extract, what version are you on including patch
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data extraction from between cubes

    Hi gurus,
    I have an Infocube1 in BW System1, and Infocube2 in BW system2.I want to extract the data from Infocube1 to Infocube2.Can anybody say the steps to do
    Thanks
    Pradeep

    Hi Pradeep,
    You need to set the connections between two BW systems the way we connect R/3 systems to BW.
    Then to extract data from a infocube from BW system1:
    1. right click on the infocube
    2. Select "Additional Functions"
    3. Slelect "Generate Export DataSource" option
    This will create the export data source for this cube. You can use this datasource to extract data from this cube in BW system2.
    In BW system2:
    1. Go to list of SAP source systems
    2. Search for your source system (BW system2)
    3. Right click on this source system and select "Replicate DataSources"
    4. After replication is complete right click on the source system and select "go to datasource tree"
    5. Here search for the export datasource created in BW system1
    6. Create transformations between this datasource and your cube from BW system2.
    Regards,
    Geetanjali

  • Drill into data in an essbase cube.

    Hey all, I have a problem I need some help/advice with.
    I have an Essbase cube which has a date style hierachy of year, year & quarter, year and month, year month and day.
    I have a chart showing the current values, monthly, over the last 12 months. When you select one of the monthsit drills into the data to show the daily values for the month selected. All works OK.
    The only problem I have, and it os only cosmetic, is that the time access along the bottom changes to show values for every level in the hierachy, and I only want it to show the next level down.
    Example - desired:
    2010/08 -> 01/08/2010.........02/08/2010..... etc.....
    Example - current:
    2010/08 -> 2010, 2010/Q3, 2010/08, 01/08/2010.........2010, 2010/Q3, 2010/08, 02/08/2010........etc....
    The only solution I have at present is to change the interaction to naviagte rather than drill and the navigated report is the correct format.
    Can anyone else suggest anything?
    Thanks in advance

    11.1.1 DBAG:
    Methods for Clearing Data from Specific Regions of Aggregate Storage Databases:
    Within an aggregate storage database, you can clear data from a specific region and retain the data located in other regions. This feature is useful when you want to delete volatile data (such as data corresponding to the last month) but retain historical data. You must have Database Manager or Administrator permission to clear data.
    Methods for clearing data from a region:
    (1) Physical, in which the input cells in the region are physically removed from the database
    (2) Logical, in which the input cells in the region are written to a new data slice and negative, compensating values are used, thus resulting in a value of zero for the cells that are cleared
    To clear data from a specified region, you can use the alter database MaxL statement with the clear data in region grammar. The syntax for the statement is as follows:
    *alter database appname.dbname clear data in region {MDX set expression} [physical];*
    todd rebner
    http://www.advancedepm.com/

  • Enabling drill through from Essbase cube to drill through report

    The requirement is that I keep summary level information in the Essbase cube and detailed granular information (order level) in a relational table.I would like to enable drill through between the cube and the report.
    Please advise what would be the best approach considering the current system architecture that is outlined below.( Hyperion suite 11.1.2.1).
    Would also like to know drill thru vs hybrid analysis options.
    1) ASO/BSO cube is populated through Oracle Data Integrator
    2) The relational transactional table is also poulated through ODI.
    3) The cube would hold summary level info while thr drill through report should provide the order level details in the same context as chosen in the cube.
    Would appreciate guidance on the best way forward.
    Thanks & Regards,
    Anirban

    Incidentally we had been trying to use Essbase studio as an option.But there are 2 oints that we are trying to investigate.
    1) Can we bypass deployment of data and metadata everytime through Essbase studio after the initial outline is delpoyed? In the system architecture the relational tables are populated using ODI. We would like to load the data and metadata through ODI into the cube. Eeven then can we implement drill thru bypassing deployment through Essbase Studio?
    2) If Essbase studio is imperative for drill through then what are the batch automation options for deployment through Essbase studio? Ideally the option should be after the relational tables are populated through ODI then the Essbase deployment should be invoked and batch script should load the data and metadata through Essbase Studio.
    Please advise.
    Thanks,
    Anirban

  • Data transfer from G4 cube to MacBook Pro w/ Snow Leopard

    Hi,
    I just purchased a MacBook Pro Friday and was able to successfully transfer my data from my Cube (OS 10.4.11) via Migration Assistant after the second attempt. Unfortunately, this MacBook encountered constant Prohibitive Screen errors even after re-installing Leopard OS requiring me to exchange it. Now with the second new MBP, I can get the firewire connection established w/ Cube HD mounting but the MBP just spins as it tries to get to the next window (selecting the data to transfer over.) The first time I tried it w/ the second MBP, I got a message that there was no OS on the cube. The cube works perfectly fine. The multiple later attempts - nothing but a spinning circle. (P.S. Mac already shipped off the first MBP to be reset so that's not an option to retrieve the data from.)
    I looked into transfering via ethernet but I do not have the install DVD that is required for it (unless I'm mis-reading it.) Any suggestions? From reading the other queries, users seem to have issues getting the connection established. I am able to do so and was able to transfer the data once before, but now nothing.
    I'm completely clueless re: the other suggestions of creating networks, encasing the HD, etc.
    If all else fails, what can I do w/ my Cube? I don't want to sell it and ideally would like to use it as a separate drive.
    Thanks,
    Christina

    One of the bigger problems with migrating from PowerPC to Intel is not the operating system, but the chip. Migration Assistant has been known to fail for unknown reasons when moving between the Mac platforms. Instead, this user tip has been recommended to avoid such issues:
    http://discussions.apple.com/thread.jspa?threadID=435350&tstart=0

  • Data archiving from a cube to another cube

    Hi All,
    We need to archive huge volume of data from a cube to some other cube may be like a back up cube.
    We have come across archiving to a file but we need to archive to another cube.
    Kindly suggest steps or way to execute this.
    Thanks,
    Dinesh

    Hi Dinesh,
    As you are looking for a backup of data in other target,
    You can collect the below information first before loading the data from Main target to Back up target.
    1. Data volume present in main target in terms of Number of year.
    2. Kind of application.
    3. Also whether all the data from the lower level target has been updated to this main target or not?
    Once everything is there then you can split the data into multiple based on calyear or fiscal year period. So you can load multiple load to back up target instead of pushing all the records in one load which will take long time and also the system resources.
    So perform multiple load with different selections based on the system processors availability.
    Perform this once all the selections are done.
    Hope this helps.
    Murali

Maybe you are looking for

  • How do i move photos from one mac to another

    I just purchased a MacBook Pro, and would like to move the photos on my old iMac to it.  How do I do that?  Thanks.

  • Is there any way to recover files lost from restarting my Mac?

    I had Garage Band and Pages documents open, and all of a sudden an opaque grey screen slid down over the screen and it asked me to restart the computer by holding down the power button. I did that because it wouldn't let me do anything else, and when

  • Why are my masks out of sync in final export?

    I have been attempting to export out a final version of a project and have found that some of my masks are not lining up. When I Re-check the composition the masks are fine and line up. Here is an example: EXPORT https://www.dropbox.com/s/f9qavqspjp4

  • Incomplete download of iTunes 9

    I bought a new ipod yesterday and decised to upgrade to iTunes 9 before attaching new iPod. The upgarde would complete and I got an error message about not having sufficient privledges. When I called Apple the rep seemed very new and unsure. She had

  • Save Multiple Items to Clipboard

    I'm not sure if this has been posted but anyway, I've been getting this message recently every time I sync my iPod touch to my Mac for a while now. The message is something like "Cannot sync "Save Multiple Items to Clipboard" to this iPod because it