Creating a DWMQY DIMENSION using Analytic Workspace Manager

Hi everyone,
I need some help creating a "time aware" (DAY, WEEK, MONTH, QUARTER, and YEAR) dimension using Analytic Workspace Manager.
Let me give you some background. I'm coming from a traditional "Oracle Express" OLAP background where all our data is stored in cubes and these are defined, populated and operated on using OLAP DML, there is no SQL or traditional relational tables involved.
I now want to pull data from relational tables into some OLAP cubes and am using Analytic Workspace Manager to do this (maybe this is not the best way?)
Let me explain what I'm trying to achieve. In OLAP worksheet I can type the following DML commands:
DEFINE MY_DAY DIMENSION DAY
MAINTAIN MY_DAY ADD TODAY '01JAN2011'
What this will do is create a "day dimension" and will populate it with values for each and every day between 1st Jan 2011 and today. It will be fully "time aware" and thus you can use date functions such as DAYOF to limit the MY_DAY dimension to all the Fridays etc. Similarly if I define a "month dimension" there will be an automatic implicit relationship between these two dimensions, this relationship and time aware cleverness is built into Oracle.
However, a dimension defined using DML commands (and indeed all objects created using DML language) is not visible in Analytic Workspace Manager (as there is no metadata for them?) and for the life of me I cannot work out how to create such a dimension using AWM. If I create a "Time Dimension" then, as far as I can tell, this is not a proper time dimension but merely a text dimension and I, presume, I have to teach it time awareness.
Can anyone help me? I have no issues creating, and populating cubes from relational tables using Analytic Workspace Manager, the only issue I have is creating a "proper" time aware dimension.
Many thanks in anticipation.
Ian.

When a dimension is of type "TIME" in AWM, then for each member of that dimension, you need END_DATE and TIMESPAN attributes in addition to the key column and description column.
So in your case, if there are 5 levels: DAY->WEEK->MONTH->QTR->YEAR
then you will need atleast 15 columns in your source sql table/view
or 20 columns if you have separate column for description.
For example the columns in your source table/view could be:
DAY_ID,
DAY_DESC,
DAY_END_DATE, (which will be that day's date)
DAY_TIMESPAN, (which will be 1)
WEEK_ID,
WEEK_DESC,
WEEK_END_DATE,
WEEK_TIMESPAN,
MONTH_ID,
MONTH_DESC,
MONTH_END_DATE,
MONTH_TIMESPAN,
QTR_ID,
QTR_DESC,
QTR_END_DATE,
QTR_TIMESPAN,
YEAR_ID,
YEAR_DESC,
YEAR_END_DATE,
YEAR_TIMESPAN
Just "map" this table/view to the 5-level time dimension in AWM.
NOTE that behind-the-scenes lot of useful structures are automatically defined to support time-series measures,
and there are lot of calculation templates available also.
Since you came from Express background, I have to say that try to use new OLAP Expression Syntax when creating calculated measures instead of OLAP DML.
Its very rare these days that we need OLAP DML.
Edited by: Nasar on Nov 22, 2012 12:11 PM

Similar Messages

  • Unable to create dimension in Analytic Workspace manager

    Hi all,
    I am trying to create dimension using Analytic Workspace Manager(AWM) and it throws the following error.
    *"The transaction is not committable: "java.lang.RuntimeException: org.xml.sax.SAXException: Missing XML attribute: Attribute for tag: <Metadata><StandardDimension><Organization><AWPrimaryDimensionOrganization><AttributeOrganization>"*
    Kindly share your comments.
    I am using Oracle 11g r1 client to connect with oracle 11g R2 database.
    Please let me know the steps to create a OLAP cube using AWM
    Regards
    Mukhil

    It sounds like a mismatch between an old version of AWM and a new version of the server. Please try a more recent version of AWM.
    http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html

  • Invisible structure in Analytic Workspace Manager after importing from EIF

    Hello,
    I got problem with migration OFA structure (6.3.4) to Oracle OLAP. My Oracle Database is 11.2 Enterprise Edition
    1. I've exported OFA database do eif file.
    2. I've created user in Oracle database, grant olap_user and created directory
    3. I installed Analytic Workspace Manager 11.2.0.3.0A
    4. After connection on Analytic Workspaces I run 'Create Analytic Workspace from EIF file ...' -> The import was succeeded
    Here is the problem - there is no visible imported structure in the tree under Analytic Workspaces. I think that structures were properly imported. That Analytic Workspace is in the sql results:
    select dbal.owner||'.'||substr(dbal.table_name,4) awname, sum(dbas.bytes)/1024/1024 as mb, dbas.tablespace_name from dba_lobs dbal, dba_segments dbas where dbal.column_name = 'AWLOB' and dbal.segment_name = dbas.segment_name group by dbal.owner, dbal.table_name, dbas.tablespace_name order by dbal.owner, dbal.table_name
    I've also tried using Analytic Workspace Manager Worksheet.
    AW CREATE OFA_TEST
    IMPORT ALL FROM EIF FILE 'c/baza.eif' DATA DFNS
    UPDATE
    COMMIT
    The results are the same :(
    What else should be done ? can anyone pls help me on this??
    Grzegorz

    Grzegorz,
    OFA to OLAP is not an easy thing if you are trying to do it by hand. That is why we built an OFA conversion utility into our product. Example time for Full OFA to OLAP/Escendo conversion is about three days for an OFA system of 300-400Gb, including data, processes (Solves) reports, saved selections etc.)
    Part of the problem is that OFA is an application which uses a ton of back end catalogs which drive everything. It also makes very heavy use of saved selections internally which makes straight export and import tough.
    The overall process is that all of the visible structures need to be created within OLAP so that they are visible. We support both 'public' (ergo visible, metadata based) objects as well as 'back end' structures which are not visible to the front end. If you need business logic translated over it can get complicated to do by hand as well, since things don't map directly into the way Oracle does things in AWM now, due to some differences between the architectures.
    One of the great things about putting your OFA into OLAP is that everything becomes available to any standard SQL reporting application.
    Our IDE is a full mulit-developer environment which allows multiple developers to work even within the same AW, for any operation, including creation of dimensions, measures etc. as well as the editing of code in programs & models.
    Are you just trying to get the data in? or are you wanting to use the system like you would use OFA?
    Karl

  • Analytic Workspace Manager vs Warehouse Builder

    When is it best to use Analytic Workspace Manager over Warehouse Builder to create the OLAP? Please advise.

    We are using OWB to create OLAP because you have your metadata properly defined in the design repository of OWB from where you can deploy to different databases and schemas. We are also using OWB to create tables and other relational objects instead of using SQL Developer or Toad to do so.
    Nevertheless there are some restrictions when using OWB: You cannot create programs with OWB (e.g. for limiting access to certain objects), not all aggregation operators are supported (e.g. the weighted aggregation operators like WSUM are not supported by OWB), you cannot create models, ...
    If you come to these restrictions you could write "after-deployment scripts", i.e. you deploy your dimensions and cubes from OWB and let the scripts do what you could not model with OWB.
    Hope this helps!

  • Analytic Workspace Manager

    Hi
    I am completely new to Oracle OLAP.
    I have installed Oracle 10g(10.1.0.2) with OLAP option enabled.
    I would like to create some cubes using Analytic Workspace manager. When I look into Oracle HomeIntegrated Management Tools, I wouldn’t find Analytic Workspace manager.
    Do I need to install Analytic Workspace manager separately? If it comes along with the oracle suite, what did I want to do to have analytic workspace manager in my machine?
    Please help me.
    Thanks,
    Deepa

    Hi
    Thanks for the info.
    I like to get more information regarding the same in version 10.1.0.2
    Thanks,
    Deepa

  • Install Analytic Workspace Manager

    Hi
    I have installed Oracle 10g(10.1.0.2) with OLAP option enabled.
    I would like to create some cubes using Analytic Workspace manager. When I look into Oracle HomeàIntegrated Management Tools, I wouldn’t find Analytic Workspace manager.
    Do I need to install Analytic Workspace manager separately? If it comes along with the oracle suite, what did I want to do to have analytic workspace manager in my machine?
    Please help me.
    Thanks,
    Deepa

    AWM does need to be installed separately. Download it from OTN and install (really just unzip!). http://www.oracle.com/technology/software/htdocs/devlic.html?=http://download.oracle.com/otn/java/olap/AWM102030_Win.zip

  • How to user Analytic workspace manager  in Oracel 9

    Hi All,
    I am new to OLAP, I want to know how to configure/use Analytic workspace manager in my database for creating OLAP. I am using oracle 9.2.0.1.0.
    Regards
    Ananth

    The first version of Analytic Workspace Manager came with Oracle 10.2, it does not support Oracle 9.2. If you are new to Oracle OLAP, you really want to be using Oracle 11.1 or 11.2 (11.2 if possible). If your organization uses 9.2 for your apps, consider using an 11.2 instance of OLAP and accessing the 9.2 version as the data source to your cubes. The advantages to 11.x are too numerous to cover here. I can send you some papers that describe 10.2 and 11.x if you send me ([email protected]) your email adress.

  • Analytic workspace manager not found

    hello, I have installed oracle 11g R1 but I found a problem. I want to use Analytic Workspace Manager to create
    dimentional object such as data cube and dimention, but I didn't found from where I can lunch it or configure
    it.there is no shortcut or folder in my oracle home in the start menu although I have installed all components and
    products of the oracle EE.if some one know how to configure it or how to solve this problem, please send me detail
    as soon as possible of the solution and detail because I need it do much.thanks
    Edited by: boulebtina on 6 mars 2011 00:12

    Hi,
    This is not the forum for Analytic Workspace Manager. I would suggest to try the oracle olap forum for your questions.
    OLAP
    Regards,
    Ben

  • Analytic Workspace Manager - Hierarchies within hierarchies

    Hi,
    We have six levels of Sales Groups (SG) and two levels of Sales Personnel (SP).
    - SG1
    SP1- Sales Manager
    SP2- Sales Rep
    - SG2
    SP1
    SP2
    - SG3 ... so on and so forth
    We want to have drill down capability on SG1 so that we see SP levels underneath followed by the next level Sales Group i.e. SG2.
    My question is can we have hierarchies within hierarchies using Analytic Workspace Manager and can this be queried using Discoverer Plus for OLAP. If there is another way to do it, can someone please explain?
    Thanks again,
    -Esther

    I am not totally sure what you are trying to achieve as I think you might be confusing members with levels. From an OLAP perspective we support two basic types of hierarchies
    - Level based
    - Value based (Parent-Child)
    Within level based we additionally support:
    - normal
    - ragged
    - skip level
    Normal implies that you have a hierarchy where the each member for each level always has a parent at a the next level up in the hierarchy. Ragged hierarchies are where data is loaded at different levels within the hierarchy and skip level is where parents within a specific level are themselves defined at multiple levels.
    I am not sure if this answers your question, but you can find more information on how to manage hierarchies in the
    Oracle® OLAP Application Developer's Guide
    Section 3 Creating an Analytic Workspace
    Creating Hierarchies
    http://www.oracle.com/technology/products/bi/olap/OLAP_App_Dev_Guide_10.2.zip
    Hope this helps
    Keith
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Beans http://www.oracle.com/technology/products/bib/index.html
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • How to install analytic workspace manager?

    I have Oracle 9.2.0.1 running on Windows. I have installed 9.2.0.3 database patch. I couldn’t see analytic workspace manager tool? How to get the tool?
    I will greatly appreciate if you can guide me with some links or steps.

    Few days back I went to a Oracle Demo and there I used Analytic Workspace Manager, which is running on Windows 2000 (both database and the tool on same machine).
    It was located in
    Start menu --> Oracle home --> Integrated Management Tolls Folder.
    I couldn't see that on my 9.2.0.1 installation. So I installed the new patch 9.2.0.3, still I am not able to see that tool.
    Am I missing anything? Any other patch?

  • Analytic Workspace Manager Tutorial

    Greetings
    I haven't had any luck getting anyone to address this (posted in oracle by example and in Business Intelligence).... the "new" tutorial "Populating Your OLAP Analytic Workspace Using Analytic Workspace Manager" <http://www.oracle.com/technology/obe/obe10gdb/bidw/awm/awm.htm> has a bug on the javascript that loads all images (i.e., "eyeglass"). All other Oracle By Example tutorials pass in a "static" list of images to be loaded into the "MM__swapImage()" function (ref http://www.oracle.com/technology/obe/obe10gdb/bidw/odm/odm.htm) . This "new" tutorial however uses a function called "preLoadImages() in which an array is attempted to be built from the contents of "document.images" this property appears to be empty (perhaps some path issue getting all the images?) .... regardless there is nothing in this property and so subsequently nothing to "preload"... the end result of activating the "onmouseover" event is an "error on page" due to the "newImg.src" array being empty. Can anyone address this?
    After no action on my previous efforts I attempted to open a service request on Metalink and of course they sent me back to the forums here.... (suggesting "downloads" and "feedback" forums)

    Yes.... that "eyeglass" javascript is the issue....(you will have to do a "view source" on the page to see the javascript functions I'm talking about)....
    The "onmouseover" for this eyeglass icon works fine on all the other tutorials, but on this one I get no images, (did you try to download all the images via that javascript?) I get an "error on page" in which the javascript indicates that newImg.src is null..... "newImg.src" is the array where all of the images should be read into....via the function "preLoadImages()", combined with showAllImages(), and hideAllImages(), I'm suspecting that there is an issue with the relative directory on the website or some other path issue realated to the javascript "document" object....
    BTW the other tutorials (e.g., http://www.oracle.com/technology/obe/obe10gdb/bidw/odm/odm.htm) seem to use a different method.... instead of the "preLoadImages()" function they all seem to staticly pass all images into MM__swapImage() for this same "onmouseover" event

  • Creating Dimension using template in Analytical workspace manager

    Hi,
    I am rajan, I am working with Oracle's Analytical workspace manager Release 2.
    I am trying to create the dimension using the templates from the file. it throws the following error,
    The following errors have occurred when loading contents:
    Closed Connection
    Note :     I am referring the tutorial in the following URL,
    http://st-curriculum.oracle.com/obe/db/10g/r2/prod/bidw/awm/awm_otn.htm and also i have downloaded the awm.zip file from the same URL and imported into my desktop.
    Right now, I am working based on this tutorial only.
    Kindly,help me to resolve this issue.
    Thanks
    Rajan

    Francisco,
    Query DBA_REGISTRY to verify the status of "OLAP Analytic Workspace" component.
    Also, wait for the script to finish and check the status of the objects then.
    Thanks,
    Hussein

  • Which "Analytic Workspace Manager I have to use with Oracle 10g 10.1.0.4?

    I have Oracle 10g 10.1.0.2 and I pallyied patchset OLAP to upgrade to 10.1.0.4, so which version of "Analytic Workspace Manager" I have to install?
    Thanks

    Hi,
    You can find the latest patchset on Metalink. The latest version of workspace manager for your database is 10.1.0.6.0, which is patch 4870951.
    Regards,
    Ben

  • ETL with OWB and Workspace Manager with Analytic Workspace Manager?

    I already created my dimensions and cubes with "warehouse builder", as a tables, so can I map them in the dimensions and cubes defined with "analytic workspace manager?
    please somone help, becasue I can't found this information on a manual "OLAP application's developers guide".
    also, whichis the manual that I have to follow to create things in AWM? i think is this that I use "OLAP application's developers guide"
    Someone can tell me something?
    Thanks.

    Hi,
    I.m using OWB 10.1.0.4.0 and choosing "Project" then "Metadata Export" and finally "Bridge" I can lanch a wizard that allow me to choose between 3 kind of export.
    If you choose OLAP the wizard will ask you which collection of metadata to export and other options, after succesfully running this wizard (which is not so easy) you can open the AWM and see the export of your dimesion and cube iside an AW.
    I'm finding lots of problems using this feature due to the limited options I can set to the cube and the dimension (type of aggregations, calculated measures, limit on the number of measures in the cube, etc.).
    Waiting for the new OWB Paris if you can post your experience it will be very appreciated.
    Good luck,
    Franco

  • Analytic Workspace Manager 10.2.0.3.0A posted

    A new version of Analytic Workspace Manager has been posted to the Oracle OLAP site on OTN and MetaLink.
    AWM 10.2.0.3.0A addresses the following bugs found in AWM 10.2.0.3.0:
    5949796<< Period To Date calculation incorrect when using non-Gregorian time dimension
    5889531<< Retrieval of schema list is slow upon connection
    5687603<< Stale data may be displayed while switching between Model and Object Views
    5653421<< Error using even numbers for Median Smoothing Window forecast
    5887261<< Right-click menu does not appear for non-English localesNote: the MS Windows 32-bit standalone version is found both on OTN and MetaLink (PS # 6032088) whereas the Linux x86 patch version is found only on MetaLink (PS # 6032088).
    OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    MetaLink: https://metalink.oracle.com

    hello bart,
    try with oracle client 12C Oracle Database 12c Release 1 for Microsoft Windows (x64)
    Oracle client 12C contains awm 12C
    regards
    jean marc

Maybe you are looking for

  • Why does iTunes say my iPad is "over capacity" when it isn't?

    Hi. I saw someone posted about there iPhone last night and added my question there, but since I've not had a response I will create a new question. I went to sync my iPad yesterday and I got an error saying it was "over capacity." I checked online an

  • P&l and CM

    hi, may i know what is the difference of deriving profit (sales-expenses) from p&l statement and contribution margin. thanks

  • HT4208 is there iphone5 with gsm network to use it in egypt

    i want to buy iphone5 to use it in egypt,the network in egypt is gsm .i want to find iphone 5 containing gsm network ,can i find it in ll apple company in america.thank you ,please help me

  • Anyone seen error 4010 in the itunes store?

    After I copy a CD to my itunes and it attempts the match with the store, I get an error 4010 saying there was some sort of error at the store and my task could not be completed.  I am not sure what was not completed since the cd is copied and then it

  • How does java implements runtime polymorphism.?

    Hi all. we know how does runtime polymorphism take place in java. But my quesions is , how does java implement it internally. in C++, with the use of keyword virtual , complier decides to make a call at runtime using virtual table and Vptr. like in c