Awm 11g - sorting dimension

Hi,
I've searched in the forum and found this thread
Sorting Dimension Values in 11g AWM
but it doesn't answer my question.
I have a Dimension (that happens to be a time dimension not defined as such) defined as a time dimension with values like JAN07, FEV07, MAR07, and when listing the members they appear as FEV07, JAN07, MAR07.
I created an attribute with integers that match the desired order (assigned them to the lowest hierarchy level) and selected it for "sort attribute".
In the dimension's property window, we can define a "sort attribute". This however does not change any of the results.
Even checking the actual data in the created view, shows a view column named dim_order. This does not reflect the defined "sort attribute".
Anyone has any idea how to workaround this? The mentioned workaround in the thread works (I believe) for a time dimension. And for other dimensions?
Thank you for your time.
Best Regards,
João Pinela.
Edited by: Pinela on Sep 12, 2011 4:10 PM
Edited by: Pinela on Sep 12, 2011 8:07 PM
Edited by: Pinela on Sep 12, 2011 8:33 PM

There were a number of problems in this area.
Release 10g had the ability to order dimensions based on a custom attribute, but this feature did not make it to the rewritten 11.1 code. This missing code was added for release 11.2, but there were a few bugs. Here are some that I know about
Bug 11694245 Custom sort order doesn't work for initial dimension compile
This was an odd case where the custom order was ignored the first time a dimension was built, but was used for subsequent builds. It did not happen consistently and appears to have been fixed as of release 11.2.0.2.
Bug 11694194 OLAP API queries don't respect dimension custom order
This was a display issue in the AWM hierarchy viewer. The order had been applied, and you could see the correct values through the HIER_ORDER column in the hierarchy view, but AWM still showed dimensions listed alphabetically. I expect this is what you have hit. It has been fixed in the newly release 11.2.0.2 OLAP B Patch (patch number [url http://aru.us.oracle.com:8080/ARU/ViewCheckin/process_form?bug=12813874]12813874 )

Similar Messages

  • Is it possible to sort dimension values in order different from alphabetic?

    Is it possible to sort dimension values in order different from alphabetic. То use this sorting in BI Beans. In 10g r2 with awm 10.2.0.2. I try to add attribute like it was show in this forum, but nothing changes.

    Could be usefull if you use java AW api... here's the java code I'm using to create the sort_order attribute
    Dimension myDim = yourAW.findDimension("DIMNAME");
    Attribute myAttr = myDim.createAttribute();
    myAttr.setName("freename");
    myAttr.setClassification("DEFAULT_ORDER");
    myAttr.setIsDefaultOrder(true); // TO NOT FORGET
    myAttr.setDataType("INTEGER");
    myAttr.Create(AWConnection);
    globalAW.Commit(AWConnection);
    It creates a variable - integer - that defines the default order of the dim values. I'm viewing it with AWM and BIBeans. The order is respected with Level-based and Value-based hierarchy but my hierarchies are really simple and unique for all the dimensions.
    BUT !!!! Be carefull, if you don't have any hierarchy in your dimension, you must have at least one level - the default NONE level. Otherwise, it won't work ???

  • Sorting dimension values

    Is it possibe to sort dimension values in hierarchy in order diffirent from alphabetic?

    When you define a dimension you should notice on the first tab an option to set the type of dimension. The options are: User and Time. For a Time dimension you need to select type Time and this will automatically sort the members into calendar order for you. However, your source table does need to contain some additional metadata such as Time span (number of days for each time period; week=7, month=28 or29 or 30 or 31 Quarter=90 or 91 and Year = 365 or 366) and End Date for each time period. These two additional attributes are used for both sorting and to enable the time based calculations such as:
    Year To Date
    Prior Period
    Future Period
    Moving Total
    Moving Max
    Moving Min
    Does that help?
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • How to Sort Dimension in Pivot Table via Order Column which is changing like Factual values

    Hi,
    Recently in of our product offerings we got stuck on this following question:
    How to Sort Dimension based on the Order Value which Keeps Changing with Factual Values??
    We have a data source laid out as (example)
    In the above the “Order” columns are changing per
    Company/(DimensionA) for DimesnsionB.
    Instead what we want is: (But only if we can get the following result without putting the “Order” Column in the “Values” Section. 
    If there are any configurations that we can make to our power pivot model for the similar data set so that the
    DimesnionB in this case can be sorted by the Order column, would be greatly helpful to us. 
    Sample File:
    http://tms.managility.com.au/query_example.xlsx
    Thanks
    Amol 

    Hi Amol,
    According to your description, you need to sort dimension members in Pivot Table via order column, and you don't want the order column show on the Pivot table, right?
    Based on my research, we can sort the data on the Pivot table based on one of the columns in that table, and we cannot sort the data based on the columns that not existed on the Pivot table. So in your scenario, to achieve your requirement, you can
    add the column to pivot table and hide it.
    https://support.office.com/en-gb/article/Sort-data-in-a-PivotTable-or-a-PivotChart-report-49efc50a-c8d9-4d34-a254-632794ff1e6e
    Regards,
    Charlie Liao
    TechNet Community Support

  • Multilingual support in AWM 11g

    Is there a multilingual support in AWM 11g? I don't see Languages folder in the AW tree.

    Hey Dude,
    This looks like a syntactical issue. In your code snippet it looks like you have forgotten the comma (,) after the first argument for the lookup function DENSE
    'INDEXCOL( VALUEOF(NQ_SESSION.LAN_INT), "SCOTT"."DEPT"."DEPARTMENTNAME" , LOOKUP( DENSE "SCOTT"."LKP_TABLE"."DEPARTMENTNAME" , "SCOTT"."DEPT"."DEPATMENTNUMBER" , VALUEOF(NQ_SESSION.WEBLANGUAGE)))
    It should be
    'INDEXCOL( VALUEOF(NQ_SESSION.LAN_INT), "SCOTT"."DEPT"."DEPARTMENTNAME" , LOOKUP( DENSE, "SCOTT"."LKP_TABLE"."DEPARTMENTNAME" , "SCOTT"."DEPT"."DEPATMENTNUMBER" , VALUEOF(NQ_SESSION.WEBLANGUAGE)))
    Try that and see if it helps. I would also revisit the syntax structure for the lookup when using DENSE just to ensure you are on the safe side but that should solve your problem.
    Please award points if this was the correct answer or mark it helpful if it was.
    This also looks like a double post so I'll stick with this one for the forum thread.
    Cheers,
    Christian

  • Budgeting and Forecasting in AWM 11g

    Hi,
    We are looking at implementing the budgeting and forecasting capabilities into an Oracle OLAP 11g Cube built using AWM v11.1.0.6.0A.
    On a very high level, we have the following questions:
    1. What are the options available in AWM 11g for budgeting/forecasting.
    2. What are the limitations/pre-requisites (in terms of cube or AW design).
    3. Steps required to create a budgeting/forecasting model (like what needs to be done in the Cube Scripts) in AWM.
    Any inputs on the above are highly appreciated.
    Thanks and Regards,
    Piyush

    There is, unfortunately, no direct support for Forecasting in 11g AWM or the 11g OLAP API (which sits underneath AWM). But there is support for this in the OLAP DML and I recommend that you look at the OLAP DML Reference documentation. For forecasting, for example, see
    FCOPEN function -- Creates a forecasting context.
    FCSET command -- Specifies the forecast characteristics.
    FCEXEC command -- Executes a forecast and populates Oracle OLAP variables with forecasting data.
    FCQUERY function -- Retrieves information about the characteristics of a forecast or a trial of a forecast.
    FCCLOSE command -- Closes a forecasting context.
    These can be built into a DML PROGRAM, which can in turn be run from a Cube Build Script (as an OLAP DML command step).
    You can write directly to the variables of a cube (provided you have not enabled Materialized Views, which is unlikely in this case).
    There is support in the 11g OLAP API for MODELs in the OLAP DML sense, but this has not been exposed through AWM. You can use the API (Java or XML) to create models, custom members, and rules in models. See
    OLAP Java API Reference (Javadoc)
    In particular you may want to see classes
    oracle.olapi.metadata.mdm.MdmModel and subclass MdmDimensionCalculationModel (to represent a model)
    oracle.olapi.metadata.mdm.MdmAssignment (to represent an assignment of the form lhs = rhs in a model)
    oracle.olapi.syntax.ConsistentSolveSpecification (to associated a model with a cube)
    oracle.olapi.syntax.Expression and subclasses (to define rhs of model assignments)

  • Sorting dimension member based on two properties

    Hello,
    I am using SP BPC NW 10.0 SP04 (801).
    I have a query regarding sorting dimension member based on two properties. In Report Editor under Sorting and Grouping tab there is option for grouping based on single propery only.
    I have taken Profitcenter in Row axis. There are two properties TYPE and SEGMENT I have taken along with it as local member. A SEGMENT can have multiple TYPE(defined in TYPE property). I have sorted SEGMENT using Report Editor Sorting and Grouping. Now I want to sort TYPE of a segment also.
    Same thing is possible in MS version with SortCol1, SortCol2 etc.. How this can be possible in NW version. Can anyone help in this.
    Thanks & Regards,
    Deepak Palsaniya

    Hi Raju,
    Thanks for reply.
    I am using EPM add-in SP-18 Patch01, Although this is not possible in this patch also.
    Any help in this?
    Best Regards,
    Deepak

  • Sort Dimension descending using developer tool

    Hi,
    i have a alpha-numeric property in endeca, we need to sort it descending, can we achieve this using developer studio.
    i was able to sort it ascending order, not seeing any field in developer studio to sort descending order
    Thanks,
    Tijo

    Hi Mathew,
    If you want to sort dimension in descending order one way to do this is add following in "appname.refinement_config.xml"
    <REFINEMENTS NAME="price" SORT_TYPE="NUMERIC" SORT_ORDER="DESC">
    <STATS NUM_RECORDS="FALSE"/>
    </REFINEMENTS>
    This way we get dimension values in descending order.
    Please Note Whenever you have the pipeline in the developer studio this mapping gets removed, so you need to add it again before you run the baseline.
    HTH
    MS

  • Upgrade to AWM 11g r2

    I am considering upgrading AWM 10g r2 to AWM 11g r2 however, I am concerned about the following:
    1) Do structure/object names stay the same when upgrading?
    2) Is there writeback capability in AWM 11g r2?
    3) Is AWM 11g r2 compatible with Oracle Warehouse Builder, specifically OWB 10.2.0.5.0?
    If someone could provide some information on the above it would be very much appreciated.
    Thanks,
    Kristine

    3) Is AWM 11g r2 compatible with Oracle Warehouse Builder, specifically OWB 10.2.0.5.0?Check [this link|http://www.oracle.com/technology/products/warehouse/htdocs/OTN_Certify.html] for the certificaiton matrix.
    Thanks,
    Brijesh

  • AWM 11g ERROR

    Dear All,
    I have Oracle 11g X84_64 database installed in my server. then i install Oracle database client for Windows 32 including OLAP (AWM) 11g. i found some error when i maintain the cube, then when i click to mapping, all the mapping i had was disapear. then i must disconnect the connection and re-connect again and re-do mapping
    i dont know whats wrong with it. is it something wrong with the java or something else... seems like the errors are inconsistence. once its success to maintain the cube but then when i repeat it, i got some error...
    is there any bugs reported in AWM 11g?
    thanks for your response

    Thier is a patchset out for the 11G OLAP option that includes the database side and an update to the AWM. As of last friday the patch was only available for the Linux version. I would wait for the patch for windows before you proceed any further the unpatched 11G OLAP option is, in Oracle's words, "Unusable".

  • Randomly sorting dimension values in 11g

    Hi, I know how (for a text dimension) to easily allow users to sort in ascending or descending order. I also know how to enforce a "default" sort order in the logical layer using a numerical column, etc.
    But I have Brio users that are used to picking up and drag / drop dimension values into whatever random order they want. Is there any way to mimick this in OBIEE (without asking the to create a hidden column where they put a huge case statement to figure out the order, etc.)? I know this wasn't possible in 10g, just wanted to know if there's some way to do it in 11g (doesn't seem to be, but maybe I'm missing something)
    Thanks!
    Scott

    No, that's moving entire dimensions around on a pivot table - not sorting members within a dimension.
    Let's say I have a time dimension with values Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec. For whatever reason, a user wants a table / pivot / whatever to show the dimension members in this order: Jul, Apr, Oct, Feb. Those values aren't sorted either alphabetically or by date order. So how would a user get this to happen?
    Thanks,
    Scott

  • Error when I try to create dimension with AWM 11g

    hello, I have installed Analytic workspace manager 11g, and I have created a connection to an oracle database, but when I try to create a dimension 2 errors appears by alternate :
    1/
    La transaction ne peut pas être validée : "Erreur sur le serveur
    Classe d'erreurs : Echec dExpress
    Descriptions des erreurs du serveur :
    DPR : Création impossible du curseur de serveur, Générique à TxsOqDefinitionManager::generic<CommitRoot>
    INI : Impossible d'analyser la chaîne XML envoyée par le client au serveur, Générique à XML Parser Errors:
    Error processing subelement: <StandardDimension><Attribute><BaseAttribute><Classification>
    Error processing tag: Classification:
    Error returned by xsOqXmlParserExecute.
    2/
    Des erreurs se sont produites lors de lanalyse XML
    <Ligne 3, Colonne 15> : <Line 3, Column 15>: XML-20210: (Fatal Error) Unexpected EOF.
    help me stp.

    Hi,
    This question is missplaced in this forum.
    Please ask this question again, the appropriate forum is found here:
    OLAP
    (OLAP forum)
    thanks
    Jorge

  • AWM 11g too slow, why?

    Hello,
    I installed the Oracle client on a client machine (Windows). I work on AWM11g with the patch ID # 6368282.
    On the server side (linux), there is Oracle Database 11g Enterprise Edition with the patch ID # 6459753.
    In my OLTP system I created, to test, 2 tables (radar and city) and a table in the middle with each of these 90 recordings.
    My problem is:
    When I created my dimension, mapping, etc.. and that I update my cube that it take within a few seconds but when I want to see the cube, AWM is blocked for several hours and on the server side it work very hard.
    I do not understand why it take so long with so few records.
    Someone can explain it to me?
    Thanks in advance

    There is not enough information here to determine what is happening. I am not sure what you mean when you state
    "I update my cube that it take within a few seconds but when I want to see the cube, AWM is blocked"
    If you run the load from AWM, once the cube has updated and completed, a window will pop-up showing the log for the data load. If this window does not appear then the load is still running. If you submit the job to the job queue, you will need to exit from AWM to allow the job to complete. If you remain attached to the AW this will block the job from running since AWM attaches the AW in read-write mode but the refresh job needs read-write exclusive access.
    The other option is your dimensions have circular references within the parentage and the aggregations within your dimensions are looping endlessly. Did you assign surrogate key usage to your dimension members?
    Keith Laker
    Oracle Data Warehouse Product Management
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • AWM 11g Cube Build

    Hi,
    This may seems an extremely simple question but I can't figure out how to build just a single partition of a cube in AWM. Do I have to use the filter in the cube mapping to limit the data to the partitioning dimension value (e.g. as at date) or is there something else I'm missing?
    Thanks.

    This is not a simple question since 11.1 does not support this directly. You can add a filter to the cube map as you suggest, or you can map the cube to a view and then add/modify the WHERE clause of the view.
    See also thread CUBE_DFLT_PARTITION_LEVEL in 11g? for how to do this using DBMS_CUBE.BUILD in 11.2.0.2

  • Could not see SH schema details in AWM 11g.

    Hi all,
    I have installed oracle db 11g (11.1.0.6) and installed awm 11.1.0.7.
    I am trying to open db instance in AWM by SH Schma, but i could not see the dimensions which already in place (as this is oracle defined sample schema). What could be done to see the details of schema.
    regards
    chandra kanth.

    AWM allows you to connect to the database in two modes: 10g and 11g. In 10g mode you will see only the 10g style AWs, and in 11g mode you will see only 11g style AWs. I don't know which version of the SH AW you have, but it is worth trying both connection modes. You will see the option ("Cube Type") in the dialog where you enter the password.
    More generally you should upgrade your database instance to 11.1.0.7 at the least if you are planning to use OLAP, and there are recommended OLAP patches to be applied on top of that. See the following certification page for details.
    http://www.oracle.com/technetwork/database/options/olap/olap-certification-092987.html

Maybe you are looking for