Problem In Joing AWM 10G Cube

Hi David,
This is in continuation of the Thread : 'Problem In Joing AWM 10G Cube' to which you have replied. But I was unable to post my reply in the same Thread. So I am opening another Thread with almost same subject line. Below are the things that you wanted from me.
The Scenario is as below:
CREATE TABLE W_POSITION_D
ROW_WID NUMBER, PK and Refers to FACT.POSITION_WID
NAME VARCHAR2(60),
STREET VARCHAR2(60),
CITY VARCHAR2(60),
STATE VARCHAR2(60),
INTEGRATION_ID NUMBER PRIMARY KEY --> Refers FK W_POSITION_DH.LVL1_ID
CREATE TABLE W_POSITION_DH
ROW_WID NUMBER,
LVL1_ID NUMBER PRIMARY KEY REFERENCES W_POSITION_D(INTEGRATION_ID),
LVL2_ID VARCHAR2(60),
LVL3_ID VARCHAR2(60),
LVL1_NAME VARCHAR2(60),
LVL2_NAME VARCHAR2(60),
LVL3_NAME VARCHAR2(60)
CREATE TABLE FACT
POSITION_WID NUMBER REFERENCES W_POSITION_D(ROW_WID),
PRODUCT_WID NUMBER, -- REFERENCES Product Dim column
SALES_UNIT NUMBER,
CONSTRAINT fact_pk PRIMARY KEY (POSITION_WID, PRODUCT_WID)
As a result of which I need to join FAct -> W_POSITION_D and W_POSITION_D --> W_POSITION_DH to show Fact.SALES_UNIT aggregated against W_POSITION_DH.LVL3_ID.
Thanks..
ChD

Thanks for clarifying the fact join. I'm sorry to keep on at this, but table W_POSITION_D can only have one primary key. Do you mean it is a unique key?
CREATE TABLE W_POSITION_D
  ROW_WID NUMBER UNIQUE NOT NULL ,
  NAME VARCHAR2(60),
  STREET VARCHAR2(60),
  CITY VARCHAR2(60),
  STATE VARCHAR2(60),
  INTEGRATION_ID NUMBER PRIMARY KEY
)In any case I think you should define a view to join W_POSITION_D and W_POSITION_DH together. This can serve as the basis for your dimension in AWM.
CREATE OR REPLACE VIEW W_POSITION_VIEW
AS SELECT
  D.ROW_WID,
  D.NAME,
  D.STREET,
  D.CITY,
  D.STATE,
  DH.LVL1_ID,
  DH.LVL2_ID,
  DH.LVL3_ID,
  DH.LVL1_NAME,
  DH.LVL2_NAME,
  DH.LVL3_NAME
FROM W_POSITION_D D, W_POSITION_DH DH
WHERE DH.LVL1_ID = D.INTEGRATION_ID
/

Similar Messages

  • Problem in joining the 10G AWM Cubes

    Hi,
    I have created a Cube in 10G AWM. But while mapping the Cube I am not being able to find the row to drag and put joining condition between the Cube and the Dim. Also I am finding that the 'Maintain Cube' option is disabled.
    I have worked in 11G AWM but I have not faced this issue and was able to bui;d the Cubes there.
    The version I am using arre:
    AWM --> 10.2.0.3.0A
    Oracle --> Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Can you please help me in this regard.
    Thanks in advance,
    ChD

    Hi David,
    Thanks for the reply. But frankly speaking I did not understand the things that I need to do. :(:(. Can you please tell me based on the requiremnt of mine how I can map the fact in the AWM 10G and where/how tell the Cube that 'these' are my Fact --> Dim mappings.
    I found out that once I built a Cube in 10G AWM, if I needed to do away with any Dim I was not able to do so. The select and add Dim Pane in the Cube remains disabled. I need to again create a cube and experiment with lesser Dim tables. Is it the way 10G AWNM is destined to behave?
    Also, again referring to my requirements, where I have a Fact table, a Dim table and a Dim Hierarchy table, how can I map my Dim with the Dim hierarchy in 10G AWM? Suppose my higher level roll up should happen based on the Dim Hierarchy table. So I plan to join Fact --> Dim and then Dim --> Hierarchy (for rolling up measures on top Hiererachy). How am I going to do that in the 10G AWM?
    I just now faced the follwoing error for the INS_PLAN_DH (Insurance Plan Hierarchy table):
    ***Error Occured: Error Validating Measure Mappings. Measure key expression for INS_PLAN_DH.DIMENSION dimension, mapping group MARKET_SALES_CUBE.MAPGROUP2.CUBEMAPGROUP does not exist.
    Did not understand the menaing of it.
    Please advice.
    Thanks...
    ChD
    Edited by: 875976 on Aug 4, 2011 5:04 AM

  • How do I clear out the measure data in a 10g cube?

    Does anyone know of an OLAP feature that I could call to zero out the measures stored in the cube before I refresh from the source data?
    I'm new to Oracle OLAP, but I have some experience with Essbase and I have quite a bit of experience with Oracle PL/SQL. The database is 10g.
    Here's my problem. My dimensions and cube are mapped to Oracle tables. I've built an Oracle procedure, using DBMS_LOB / xml_clob functionality, to refresh my cube. The procedure worked successfully to initially load the data. It works successfully when changing the dollar amounts in source data. But it's possible that a record in my source data can be totally removed. When this happens, the dollars from the removed record are still showing up in the cube total after the procedure executes. I had assumed the CleanMeasures="true" parameter would take care of this, but it is not.
    thanks,
    Nancy
    Here's the parameters I'm passing to BuildDatabase in my Oracle procedure:
    ' <BuildDatabase Id="Action2" AWName="BUDGET.BUDGETS" BuildType="EXECUTE"
    RunSolve="true" CleanMeasures="true" CleanAttrs="true" CleanDim="true"
    TrackStatus="false" MaxJobQueues="0">';

    If you are doing a reload every time then you can issue following commands to clear data from cube.
    lmt name to all
    allstat
    clear all from <cubename>prttopvar
    You can wrap above commands in pl sql procedure using dbms_aw.execute package and execute it before cube load starts. Instead of clearing it from whole cube you can clear only from one partition also. Just take a look at clear command in olap DML 10.2 reference.
    Thanks,
    Brijesh
    Edited by: Brijesh Gaur on Aug 10, 2010 6:47 AM

  • Modifying existing 10g Cube

    Hi ,
    Once we build a 10g cube(10.2.0.2) using AWM is there any way to modify the existing logic inside as we can see lot of Cube parameters fields are disabled meaning that if there is in error during deisgn I need to build the entire cube from scratch .
    Thanks,
    DxP

    There are many limitations on what you can modify in a 10g cube after it is created. You can add and removed measures, for example, but you cannot add and remove dimensions. This feature is new in 11g (and through the stack to AWM in 11.2). So I'm afraid you will need to delete and recreate the cube to make this kind of change.

  • Pre-compute for Value based dimensions in AWM 10g

    hi,
    I created a compressed partitioned MOLAP cube in OWB 10.2.0.3 based on some value based dimensions.
    I selected the hierarchy in value based dimensions for pre-compute, but it did display the hierarchy in OWB.
    I deployed the cube into Analytical workspace AWM 10g(10.2.0.3A).It created PRECOMPUTE(NA) in the relation statement for the value based dimensions.
    Is it that value based dimensions cannot be pre-computed (at the heirarchy) in AWM 10g ?
    Regards
    Chakri

    For reference, I believe this error was due to the deletion and recreation of a standard form AW formula without full restoration of the formula's PROPERTY values. AWXML (and hence 10g OWB/AWM) will not work correctly if you remove PROPERTY values from objects.

  • AWM 10g Questions

    Hi,
    I am running AWM 10g (10.2.0.1.2A) on a 10.1.0.4 database. Here're couple of questions I have,
    1. How do I create Sub - Measure folders in AWM? Earlier, I could use CWM2 procedure to create a catalog and a sub-catalog under that, which would then look like a directory tree structure while accessing using discoverer. I do not see anything that let me create a subfolder in AWM. Can you tell me how to achieve that?
    2. Is there a way to hide a measure or calculated measure I created in a Cube?
    Thanks for your help.

    Suresh,
    Here's a quick example - slightly contrived, I don't have access to anything better at the moment. It's all java, if you need more I can probably help next week.
    Only other point to note is that if you use Discoverer to view your measure folders, then the lower levels won't appear unless you have added a measure to the lowest folder. Not sure about the other tools.
    Cheers.
    String awName = "U1";
    //Connect
    AWConnection m_awConnection = new AWConnection(id, pwd, con);
    //read the AW metadata
    AW m_aw = AW.readAWDefinitions(m_awConnection, awName, "RW");
    //add some folders
    //create a folder off of the root
    MeasureFolder folder1 = m_aw.createMeasureFolder();
    folder1.setName("FOLDER1");
    folder1.setLongName("Root folder");
    folder1.setShortName("Root folder");
    // and add measures to the folder, assumes you've defined/found the measure
    Cube l_cube = m_aw.findCube("CUBENAME");
    Measure l_meas = l_cube.findMeasure("MEAS1")
    folder1.addMeasure(l_meas);
    // Add the sub folder
    // OPtion 1: Create the meas folder directly as a child
    // MeasureFolder folder2 = folder1.createMeasureFolder();
    MeasureFolder folder2 = m_aw.createMeasureFolder();
    folder2.setName("CHILDFOLDER");
    folder2.setLongName("Child Folder");
    folder2.setShortName("Child Folder");
    Measure l_meas = l_cube.findMeasure("MEAS2")
    folder2.addMeasure(l_meas);
    // Option2 : Create meas folder in same way, and then add to existing meas folder
    folder1.addMeasureFolder(folder2);
    // Don't forget this step!
    folder1.Create(m_awConnection);
    // FInally commit
    m_aw.Commit(m_awConnection);

  • AWM 10g Required

    Hi all,
    I have installed oracle database 10g Enterprise edition. I need AWM 10g for defining Cubes and dimensions.
    I did not find AWM 10g in OTN of Oracle web site. Pls guide me where to find it.
    regards
    chandra kanth.

    http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html
    http://www.dba-oracle.com/oracle_news/2004_8_31a_rittman.htm
    Edited by: hitgon on May 4, 2012 11:42 AM

  • AWM 10g: Cannot map "Total Level"

    Hi,
    I use AWM 10g and I can't insert a literal value for total level (for example 'TOTAL CHANNEL') of my dimension in mapping section.
    How can I do? There's a workaround? Alternatively, can I insert in my dimension table two additive columns "TOTAL_ID" and "TOTAL_DESCRIPTION" and drag and drop them instead typing string 'TOTAL CHANNEL'?
    Thanks
    Giancarlo

    Consider mapping to a view, with the literal included in the view. Mapping to views is a good practice because you can change the definition of the view (where the view gets data, change filters, etc.) without changing the table to cube mappings. You will find this to be a good practice in the long run.

  • Help on OLAP 10g Cube

    Hello Experts ,
    Anybody has idea why simple SUM on measure group by dimension on my OLAP 10g cube performing so slow even a simple query taking lot of time and even not returning the result , Is it due to performance cause or due to some design issue or due to DB pramaters which restricting the cube data to be returned ?Is it known issue with database bug . I am on AWm 10g latest with 10g 64 bit DB 10.2.0.4 .
    As we are completly stuck and not being able to progress the query on simple cube build on 20K data wiith 7 dimension However we tried with 2 dimension and it works perfectly fine .
    any advice ?
    Thanks ,
    Debashis

    Hi David ,
    Even we tried to perform a query like :
    Select * from mycube_view where measure1 is not null ;
    also:
    Select distinct measure1 from mycube_view ;
    The query is running for ages without any result .
    Also I can see 10g style cube views having diff structures like for 10g all the dimensions attributes present in the cube view itself . So for my OBIEE I could use single table based reorting I believe right ? But I wonder for OBIEE I need to put aggregate on my measure attribute or not ! for 11g I had put the aggregation like SUM against the measure attrbt there.
    Many Thanks,
    DxP

  • Bug when maintaining dimension data i AWM 10g

    Hi,
    I have been playing around with AWM 10g since the release and generally I'm very impressed with it. Easy and logical to work with.
    I have found what I believe is a bug though. The second time I load data to a dimension through the maintenance wizard and if I check the "Delete all attribute values of the selected dimensions" some dimensions start to behave wrong when trying to drill up and down.
    This can be replicated with the global dataset. I create the AW from the "Global Star Mapped" template. The first time I load data to all dimensions and cubes everything works correct. When I run the maintenance wizard again for all dimensions and cubes and check "Delete all attribute values of the selected dimensions" (without actually touching the source data) the result is that the Product and Channel dimensions don't work correct anymore. If I view the data of one of these dimensions it is not possible to drill by clicking the + to the left of the values. When viewing the cube in AWM and trying to drill down in those dimensions the only thing that happens is that the drill arrows disappears.
    The Time and Customer dimension are not affected so something must be different between these and the other dimensions. When I tried with one of my own test datasets all the dimensions malfunctions after the second load.
    The only way I have found to get it to work again is deleting the affected dimensions and starting again.
    Bent

    Yep, I confirmed the behavior on my configuration too. Bizarre... I did notice you can still drill if you use the pull-down menu rather than directly clicking on the + to the left of the values.
    Typically, a user would select this option if they would like the dimensional attributes in the analytic workspace to match the relational source. For example, your relational source has changed and you do not want these previous values to persist within the analytic workspace. In this case with the GLOBAL sample schema, the data source is the same so something funky is going on.
    By the way, if I encounter sudden odd behavior with the View Data feature (random known issue we are working on), I usually disconnect from the database and reconnect. Usually the behavior disappears. However, in this case it does not.
    I'll enter this into the bug system. Thanks for all the details. Much appreciated.

  • Problems to initiate oracle 10g express edition

    Good afternoon I am speaking of Brazil with a text translator.
    But I have installed Hundreds and I am trying to install oracle 10g express edition release 2.
    I am with a problem in the Oracle 10g Express Edition in the installation part when I vo to initiate the service, it does not initiate.
    And when I give I command /etc/init.d/oracle-xe status appears the following message: Your default context is user_u: system_r: unconfined_t. Of it you want you choose different one? [n]
    I do not know more what to make to decide this.
    I thank the attention.
    Gabriel.
    Message was edited by:
    user523701

    Oracle XE has it's own forum - to register and discuss XE problems with XE experts use URL http://www.oracle.com/technology/xe/registration
    Once you have registered, you sign in to the forums and the link to the XE forum is there. But you do have to sign in as the user who registered XE.
    You will also need to provide a few more pieces of information:
    1) actual distro and version of Linux
    2) userid used to install XE (should be root)
    3) userid used to run "/etc/init.d/oracle-xe start" (should be root)

  • AWM 10g - error message

    I am having fun getting started with AWM.
    I cannot login into an oracle 10g database with AWM 10g. I get this error message:
    java.sql.SQLException: t2cCreateState
    at oracle.olap.awm.connection.ConnectionManager.connect(ConnectionManager.java:116)
    at oracle.olap.awm.connection.ConnectionDialogActionThread.doAction(ConnectionDialogActionThread.java:73)
    at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run(ThreadedDialogActionThread.java:49)
    What does this mean?
    Thanks,
    Frank.

    What are you writing in connection information? Try using full details like hostname:port:sid and then try.
    Also ensure that the correct ORACLE_HOME is set in the PATH variable.
    Thanks
    Brijesh

  • From where i can downlaod AWM for cubes creation

    Hi experts
    From where i can download AWM for cube creation.
    Thanks in advance
    Regards
    Frnds

    See the "Downloads" portlet on this page: http://www.oracle.com/technology/products/bi/olap/index.html

  • Quick question - AWM - simple cube problem

    im using AWM 10.2.0.3
    my fact table:
    1 program1 100eur
    2 program1 200eur
    3 program2 130eur
    i have only one dimension (program).
    Aggregation operator is Sum.
    when i generate the cube the sum in AWM Data Viewer is only 230eur (the second program - 200eur is not included)? why? is that a feature or bug?
    im using [http://wiki.oracle.com/page/Getting+Started+With+Oracle+OLAP+Option|http://wiki.oracle.com/page/Getting+Started+With+Oracle+OLAP+Option] tutorial, but didnt found anything there...
    thanks for any help.
    regards. Kristjan

    Kristjan,
    The fact you mentioned has program1 repeating. In AWM you should not have repeated dimension key combination otherwise the last loaded record will only loaded. So my suggestion is that you should do a sum(measure values) and group by (all dimensions - in current case it is just 1) before loading into cube.
    So you can create a view like below
    create fact_vw as select program,sum(eur) from <fact table> group by program
    Now use this fact to load the cube.
    Why do you see 230?
    =============
    200 eur is loaded against program1 and when 100eur comes again for program1, earlier loaded value is replaced by 100 and then for program 130. Total is 230 eur.
    Thanks,
    Brijesh

  • AWM 10g / Problems creating OLAP-Catalog of OEO-Database

    Hi all,
    I was creating a simple OEO-Database with one Time-Dimension with Express Administrator and exported it to an eif-File. Then I did the stuff Mark Rittman described in his article "Migrating Express Server Databases to 10g..". After this I started the Program CREATE_DB_STDFORM('aw_123'). Great! No errormessage and OLAP-Catalog Metadata was accessible over Excel-Addin or Disco Drake.
    Then I tried the same with an existing OEO-Database an then I got folling errormessages at the end of Program CREATE_DB_STDFORM('aw_bsp01') and no OLAP-Catalog Metadata was created:
    Analytic workspace AW_BSP01 successfully converted to >standard form.
    Conversion done in 0 minutes and 3 seconds.
    CREATE_DB_STDFORM
    99
    (AW$XML) AW$XML
    In SYS.AWXML!__XML_HANDLE_ERROR PROGRAM:
    aw_bsp01
    This errormessage does not say anything to me. I installed Patch 10.1.0.3C (Client and Server)
    Thanks for help
    Claus

    Claus,
    I see a report of something similar in our bug database, but it's fixed in 10.1.0.3C. Please open a TAR so that we can look at this further.
    Thanks,
    --Sharon

Maybe you are looking for

  • I have ringtones on itunes how can I put them on my iphone 4

    I have ringtones on itunes how can I put them on my iphone

  • Disk Utility no longer working correctly

    I did a search and couldn't find a similar problem, so here goes. I'm running OS 10.4.11 on a G4 PPC Dual 1.25 GHz. I've done the regular updates the last several weeks: QuickTime-7.5.5 iTunes- 8.0 Xserve RAID Driver Update- 1.0 Java for Mac OS X 10.

  • Customer field in ME22N Purchase Order Transaction

    Hi all, I have to add an additional field to Ekko and want to maintain it using the Enjoy Purchase Order Transaction. To do so, I added an append to ekko and MEPOHEADER with my z-Field and implemented the Badis: ME_PROCESS_PO_CUST  Method PROCESS_HEA

  • Font problem in import and link

    I'm using RH8 and have a problem with a Word doc I linked.In a numbered list, NumberList2, the font reverts to Times New Roman from Arial 10pt. I attach a pic. I've tried reapplying the style, linking again and again and it's very stubborn. Is there

  • Sorting Set elements

    Hi all, Can anybody please help me on this one. im reading elemets from a file, The file is structured like this, student number | last name | firstname I store this values into a TreeSet and use a Comparator to sort them, and display them sorted by