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);

Similar Messages

  • 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
    /

  • 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 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.

  • 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.

  • 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

  • 10g Question, or issue, anyone smarter than me?

    Hi,
    We want to install 10g, we are currently running 9i. We want to do this in silent mode since we have so many databases to move to 10g. We've got a few questions & concerns about the procedures that are supposed to be done.
    If someone could kindly read over some of our concerns, we'd appreciate it.
    First, we used the -record method to create a response file. How much do we have to manually edit that file once Oracle creates it for us? Or is it ready to go after we exit the OUI.
    When we tried to do the install, it said it successfully installed 10g, but it failed on some of the configuration assistants. Do we need to run all of the configuration assistants? I mean, TNS is already configured. Does it change for the 10g install?
    Additionally, once the 10g software is complete, the environment is still set to 9i. How does that get changed for the silent install to continue with the DBUA? I mean, we do have databases that need upgrading.
    Any help with steps would be very helpful to us. We're getting error messages like this:
    The installation of Oracle Database 10g was successful, but some
    optional configuration assistants failed, were cancelled or skipped.
    Please check
    '/ora2/app/oracle/oraInventory/logs/silentInstall2006-10-26_01-26-39PM.log'
    for more details.
    UnsatisfiedLinkError exception loading native library: njni10
    java.lang.UnsatisfiedLinkError: jniGetOracleHome
    at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
    at oracle.net.ca.NetCA.main(Unknown Source)
    Oracle Net Services configuration failed. The exit code is -1
    Thank you in advance for your help.

    There's a problem reported for library libnjni10.so under AIX, it doesn't happen in the same context, but anyway you could try the given solution:
    You should have environment variable LIBPATH, which includes references to $ORACLE_HOME/lib and / or $ORACLE_HOME/lib32, libnjni10.so exists in both directories.
    The correct version for this library is in 'lib32', so lib32 must come in front of 'lib' in LIBPATH, despite of the fact it's AIX 64bit.
    Werner

  • Oracle 10g questions, please

    I looked through Oracle 10g reference documentation, but still have some questions.
    1) Could "Global Temporary" tables contain SDO-type columns now?...
    2) Could O10g AS MapViewer be used not only in browser pages, but in JAVA applications, wrote in Swing etc.?
    3) Where MapViewer's itself and its JAVA-API's documentation locates?.. I haven't found it :(((

    1) Could "Global Temporary" tables contain SDO-type columns now?...Yes, they can. But you cannot create any spatial index on temporary tables:
    ORA-29918: cannot create domain indexes on temporary tables
    2) Could O10g AS MapViewer be used not only in browser pages, but in JAVA applications, wrote in Swing etc.?
    Sure. However, your application will still need to interact with the mapviewer server.
    3) Where MapViewer's itself and its JAVA-API's documentation locates?.. I haven't found it :(((
    Check out: http://www.oracle.com/technology/software/products/mapviewer/index.html
    Albert

  • 10g Questions - Folder structure, Files, Post-migration Scripts

    Hi, Oracle Pros
    I have a few questions that I have encountered in my 10g installation process. I hope I could get some help from you.
    1- After I have installed 10g (release 2) software AND Enterprise Manager (release 1), I have noticed the installation has arranged the folders under 'Oracle' differently in my Windows 2003 Server. For example, I have two 'oradata' folders; one (EM) is right under the root 'oracle'; the other one (10g) under 'product > 10g'.
    We'd like to re-arrange those folders to make it consistent and make more sense. Would this re-arrangement of folders affect applying patches later? I assume the way the install arranges the folders is following the OFA. That's why I am afraid to re-arrange folders after the install.
    2- Does one use p-file or sp-file to start a database? I understand one can create one from the other. Does using either make any difference? If so, how?
    3- I was told that after the software is said and done, not only do we need to import our 8i datafiles, but also write some script for the user, grant, tablesspace to be migrated as well. Is writing script for those objects really necessary? Why can't the OUI take care of all that?
    I'd appreciate any of your help.
    Have a good day.
    CJ

    2- Does one use p-file or sp-file to start a
    database? I understand one can create one from the
    other. Does using either make any difference? If so,
    how?Either one.
    The issue with PFILE is that it must be available to the DBA running the STARTUP command - on that DBA's platform. If you have multiple DBAs and possibly permit remote administration, there is a danger that you will have several PFILEs that are not in sync.
    Because of this, Oracle created the SPFILE concep. It ensures there is only one natural initialization file, and that file is under the control of the server. It can be backed up by RMAN, it can be used by RAC instances, etc.
    After kicking and screamiung at the change, I have become quite happy using SPFILE only - except for those increasingly rare non-dynamic parameter changes.

  • AWM Newbie Question: How to filter data loaded into cubes/dimensions?

    Hi,
    I am trying to filter the amount of data loaded into my dimensions in AWM (e.g., I only want to load like 1-2 years worth of data for development purposes). I can't seem to find a place in AWM where you can specify a WHERE clause...is there something else I must do to filter data?
    Thanks

    Hi there,
    Which release of Oracle OLAP are you using? 10g? 11g?
    You can use database views to filter your dimension and cube data and then map these in AWM
    Thanks,
    Stuart Bunby
    OLAP Blog: http://oracleOLAP.blogspot.com
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • OCP 10g question: Policy-based database configuration framework

    Hi Oracle Gurus out there,
    I am preparing for Oracle 10g certification. I was able to find answers to most of my questions from the documentation. But this particular topic is somehow missing everywhere, or I am not understanding it correctly.
    There are some questions on this topic according to the people who gave their beta exam 1z1-040
    Does anybody has any idea what does Oracle mean by 'Policy-based database configuration framework'
    Any help will be appreciated
    Thanks
    Yogesh

    Ofonime,
    the link to the document is
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=11740.1
    But you need a MetaLink account in order to access it.

  • Oracle Forms Builder 10g Questions

    Good day everyone,
    I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
    I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
    * Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
    * Populate a field[s] after pressing a search button based on a SQL query
    * Populate a field[s] on launch based on a SQL query
    * Throw a warning message if an SQL query returns with a specific result
    * Populate a drop down menu based on a SQL query (ie only show valid options to user)
    * Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)

    I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
    FRM-18108: Failed to load the following objects.
    Source Module:utlf_gui
    Source Object: TOOLBAR_MDI
    +... (many more of the one above)+
    I press ok and get the following error:
    FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
    +... (many more of the one above)+
    From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
    Forms_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    Forms90_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
    Also if I try to attack a PL/SQL library I get the following error:
    Attached library name <name> contains a non-portable directory specification. Remove path?
    I press yes or no and get the following error:
    PDE-PLI038 Cannot open file for use as a PL/SQL library.
    Any help is much appreciated.
    Edited by: ThomasBoxall on 12-Dec-2011 12:18

  • Solaris 10,oracle 10g question- can't connect with non-dba user

    Hi
    I've installed the Oracle10g suite, enterprise edition ( 10.2.0.1). I've created a database called qa10g, which I can connect to as user 'oracle' once I export the ORACLE_SID and the ORACLE_HOME
    export ORACLE_HOME=/oracle/10g2
    export ORACLE_SID=qa10g
    then I type in the following at it puts me into sqlplus:
    $ORACLE_HOME/bin/sqlplus system/system
    so that works fine..now whan I try to log in as another user that isn't a member of the dba group, and I export the ORACLE_HOME and ORACLE_SID variables, I can't get in to the database using $ORACLE_HOME/bin/sqlplus system/system, I get the following errors:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Enter user-name:
    BUT, when I put the connector string at the end, I can get in:
    $ORACLE_HOME/bin/sqlplus system/system@qa10g
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engin
    e options
    SQL>
    so obviously, it is an enviromnet variable that isn't getting set properly, perhaps even ORACLE_SID=qa10g isn't working properly for the non-dba user ( in this case, the user is called ctronsys)
    for the work I need to do on this databse, I need to have the user I select to be able to log into the database with sqlplus commands like the ones listed above, without the connector string added at the end..the SID gets exported first..
    any help would be greatly appreciated, I'm a newbie to Oracle!
    thanks!
    Rob

    There is a possibility that you could be hitting bug 4516865....
    Bug 4516865 "WRONG PERMISSIONS AFTER INSTALLATION IN OH AND SUBSEQUENT DIRECTORIES".
    Described in <Note.4516865.8> Bug 4516865 - Wrong permissions after install of 10gR2 (10.2.0.1)
    -Ramesh

  • Reports 10g Question

    Hello All,
    I am in the process of converting reports from 6i ti 10g.
    When I run my report in Web Layout nothing shows up. Is it an environment setup issue ? How do fix this issue ?
    Pls help...
    Thanks,
    Anna

    In Reports 6i, there was no web layout, so if you convert a report from 6i to 10i, only the paper layout is converted (which can still be used in html or pdf mode).
    If you need an additional web layout, you have to create it after the convertion took place.

Maybe you are looking for

  • I hate to say - DISATISFIED WITH with CUSTOMER CARE RESPONSE and VERIZON in all for first time.

    I am currently on National 900 plan on Motorola Droid. I switched from AT&T primarily because I love to use data on mobile. Verizon provided me the unlimited plan. I was a very happy customer with Verizon untill now. Scenario - Today, I called up Ver

  • Some files need to be updated first .Specify --force to overwrite remote files. while vlt command co

    Hi apps\collab\commons\components\components\.content.xml: Some files need to be updated first .Specify --force to overwrite remote files. while vlt command co What has to be done?

  • Neu Installation - PS und Bridge

    ich musste CS6 neu installieren. Nun stellt sich für mich die Frage wie ich die in Bridge hinterlegten Keywörter sowie die in Photoshop erzeugten Pinselspitzen und auch Aktionen wieder in die Neuinstallierte Version bekomme?

  • Amount of days in each month

    Post Author: mike7510uk CA Forum: Formula i have a report where i have the days of the month along the top. I use this formula to get the day number ... int(day(DateAdd ("D",0,cdate({Command_1.startdate} )))) ... where the 0 is incremented along the

  • Re-Embedding Fonts

    I just tried to Help a Fellow user try to figure out a problem with clearscan created PDF's where pdf viewed in anything other than Acrobat or Reader shows unusual characters. I've hear references made to removing all fonts (un-embedding), then re-em