Dimension tables versus dimension Objects

Hi,
We are trying to model a Data Warehouse and I am a little confused about the way the word dimension is used to describe a table and also an object in Oracle.
Our situation is that we will be pulling data from the source system into a staging area made up of materialised views. We thought we would then build dimension tables and fact tables as per Ralph Kimball's definition, but we stumbled across the 'CREATE DIMENSION' command in Oracle that seems to contain so much more than just columns.
Could someone clarify this for me?
Thanks,
Mike

You create dimensions in Oracle just like in any other rdbms using create table statement.
The create dimension statement is optional and is used to optimize certain queries (query rewrite, star transform etc - you can find more about it in oracle warehouse docs).
If you create a dimension using the OEM wizard then create dimension statements are executed as well. In addition, if OLAP option is installed then statements from an OLAP PL/SQL package are executed as well. These statements are only of importance if you plan to use the OLAP feature. Unfortunately, you have only one shot to capture these statements - there is no way to re-create them after the dimension is created. There is no equivalent of 'Show DDL' option available for 'regular' tables. For this reason, OEM is problematic as a tool in designing dimensions: You can tweak them to your heart's content but then when the time comes to deploy them somewhere else - you are stuck. OWB is a little better: it has 'Show DDL' option but that displays only the CREATE DIMENSION statements and not the OLAP package statements. You can get the latter by exporting OWB model to an OLAP bridge however the OWB model does not contain all that is required for OLAP so you end-up with generated defaults.

Similar Messages

  • Can I create a DIMENSION object mappign without a Dimension table?

    I understand how I can create a dimension object and it's associated table. However, can I map my enterprise data directly to the dimension object itself and skip the loading of the dimension table? The enterprise data for most of my reporting warehouse for the greater part is fairly simple and requires only joins to some reference data.

    Matthew,
    Like you stated, the dimension object in OWB will generate scripts for two object types. The first is a dimension object and the second is a table. In the dimension object the hierarchical structure(s) (meta data) is stored and the table stores the data. So you always have to load your enterprise data into the table.
    Hope this helps.
    With kind regards,
    Bas Roelands

  • Are there seeded tables/views of DBI dimension objects in Oracle EBS?

    Hi!
    I wish to create custom Existing Source dimension objects but wish first to see exactly what is the table's structure (columns, width, data type). Are there seeded tables/views available in Oracle EBS?
    Thanks.

    Try https://etrm.oracle.com - search for "DBI"

  • Dimension object

    I've read about the dimension object and learned that it is good to have the levels built in a dimension object to let Oracle know that it can use other materialized views on top of the fact table. Is this essentially a simplified version of query rewrite? What other benefits does it bring other than query rewrite?
    Is it even possible to create a dimension without the levels?
    (Oracle 11.2)

    Hello oscar,
    Thanks for the response. 
    Report Level:
    I run the report fine, but the column with the object is balnk(all other data is there).  I only put the filter to see if this object had any values, my result was that when I put the filter it showed (no values) listed in the selection box.
    Query Level:
    Then I went to the edit query view and put the same object that I placed in the report level in the filter pane.  In this view I am able to see a List of Values(1,2,3,4). 
    Next I try to run the query again, and I get that pop-up, I click ok and the report is now completely blank.  It is only showing the headers of the report, but no data. All I did was put that filter in.  If I take that filter out, the report looks like it did when i initially ran the report.
    ...if theres the message theres no data for query 1 means that theres no data a...nothing..
    Why is there data in the query when I initially run the report?  This report only has one query.
    Hope this is more clear.
    Thanks,
    Niraj

  • "Show List of values"  showing different values than "Preview List of values for the same dimension Object

    Hi All, 
    I have a dimension object in Business Layer which is showing a different values than the original database values. When I right click on the object and select "Show List of Values its showing values which are not related to the original values in the database but if I right click on the same object and select "Preview List of Values" it shows the right values present in the database. Any suggestions on how to rectify. It was working good and many reports have been built using that particular dimension.
    Is there any way to fix the problem without the deleting the object or recreating another similar object as the object has been used in several reports, so by deleting or recreating the object may break the reports.
    Please help!

    Hi
    A  list of values is a list that contains the data values associated with an object, Lists of values inserted in the data foundation are inherited by any business layer based on the data foundation.
    Right click on the object and select  “Show Values”… Display all the DB values including null
    Preview List of Values – also display same values...getting differnece meens...Check weather using any Static List of Values.
    If you uncheck the Associated list of values check box "Preview List of Values" options is disabled.
    For best practice …LOV is disabled for un-necessary dimension objects
    Also If you have Db access check the correct data by
    SELECT
    Distinct Schema name. Table/View name. Object name
    FROM
    Schema.name. Table/View name

  • How to create a dimension object in SAP BW Unv with Null value

    Hello,
    for query syncronisation task, I need a dimension object in my BW universe with NULL value. Does someone know, how to do it or if its possible?
    Regards,
    Thilo

    Hi Thilo,
    so the only common item is Material then - correct ?
    Query 1                                                                                Query 2
    Formulation (grouping of materials)                                                  (No counterpart)
    Material                                                                                Material
    dummy key figure (why?)                                                                Company Code
                                                                                    10 Keyfigure
    Is this something you regular have to do ? what about a MultiProvider ?
    did you try "merged dimensions" in the Web Intelligence Report ?
    Ingo

  • Error while running Webi report that uses Custom Dimension object(SAP BW)

    Hi,
    I have a universe that is based on SAP BW.I have created a custom dimension object that displays the maximum date.
    The object syntax is
    <expression>Max(@Select(CPS Online\Calendar day))</expression>
    The object parses successfully.
    The object 'Calendar Day ' is a defaultobject created during universe creation from the BW query.It is defined as [0CALDAY].[LEVEL01]
    I tried  to create a Webi report using this object and a measure .On running the query it throws the following error:
    A database error occured. The database error text is: The MDX query WITH MEMBER [Measures].[EBC10672-C0DA-4998-93,80,D3,FF,C3,E8,A2,22] AS ' Max{[0CALDAY].[LEVEL01]} '  SELECT  { [Measures].[EBC10672-C0DA-4998-93,80,D3,FF,C3,E8,A2,22], [Measures].[4JCOSFOKKCUR3RMBPNROFKQQD] }  ON COLUMNS , NON EMPTY [0CALDAY].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0CALDAY].[20CALDAY] ON ROWS FROM [ZCCPSONL/ZCPSONLINE]  failed to execute with the error Invalid MDX command with (. (WIS 10901)
    I have tried every possible syntax I could think of but I keep getting this error each time.I have set the object type to Number (even though it is actually a Date), I have tried writing the MDX inside the Max instead of the @select , but nothing seems to work.Could anyone please let me know why this error is occuring?Is there anything wrong with the syntax or is there any setting in Webi needed before a custom dimension object can be used on it.

    Can you see data for Custom object @ BEx level??
    YES, then just try to re-create the same variable and Save the BW query.
    Now do View - refresh Strusture @ Universe. And you can see Filter for the same, just Parse it, just whether it is OK or not.
    OK -- then Export the Universe and create WebI reports, this will come as Prompt.
    Hope it will helps you.
    Thank You!!
    Sent from iPhone

  • Creating a new Dimension Object in BW MDX Universe

    Hi,
    I am trying to concatenate 2 string elements in a Dimension Object within an MDX BW Universe.
    Based on some research I have done, it seems like concatenation of strings can be accomplished with the + (plus) operator.
    When I concatenate the strings, I get no parsing errors, but I get errors when using the universe in a webi report.
    In the universe, the dimensions are defined as follows: [0FISCYEAR].[LEVEL01] and [ZPD_PRD].[LEVEL01]
    I have tried many things: 
    [0FISCYEAR].[LEVEL01] + [ZPD_PRD].[LEVEL01]
    <EXPRESSION>[0FISCYEAR].[LEVEL01] + [ZPD_PRD].[LEVEL01]</EXPRESSION>
    @Select(Time\Fiscal Year) + @Select(Time\Period)
    <EXPRESSION>@Select(Time\Fiscal Year) + @Select(Time\Period)</EXPRESSION>
    If I don't put the <EXPRESSION> xml tags around the concatenation I get an XML parsing error in the webi report, but when I put them in, I believe it is trying to interpret the dimension as a MEASURE.
    I secondary need I have is to concatenate some static text (eg. "TEXT XYZ") to a single dimension, but am having the same challenges.
    Can anyone help?  I suspect there is a different XML delimiter I need other than <EXPRESSION> to make this work.
    ANy help is appreciated.  Thank you!

    Hello,
    You have two options to fullfill your requirement...
    1. Use Concat(e) function in universe while creating Dimension Object.
    2. In WebI if you use Concate([Obj1],[Obj2])
    If you need space then..
    Concate([obj1],Concate('  ' ,[Obj2]))
    Thank You!!

  • Charts - more than one dimension object on the x axis of the chart

    Is it possible to add more than one dimension object on X axis of the chart ? I have two reports - one for bookings revenue for rolling 12 months period and other for forecast revenue for forward going 12 months. I have been asked by my manager to produce one chart showing 12 months rolling bookings plus revenue forcast going forward 12 months in one chart. Is it possible? and if so then how to go about to accomplish it.
    Thanks for the help in advance.
    - Fizza

    hi
    i think it is posible. for exaple  on x axis can include year, months.  on y axis may include sales revenue.
    or
    what dimensions are you going to put on the x axis and y axis?

  • SCD's type 2 conflict with Oracle Dimension Object

    Hi everybody.
    I have a little problem understanding Oracle Dimension Objects and how to use it with SCD type 2.
    Oracle's documentation says: There must be a 1:n relationship between a parent and children. A parent can have one or more children, but a child can have only one parent.
    This makes me think that if i have, for example, a department 1 and zone 'A', this department ALWAYS have to map the same zone, the zone 'A' can have more than one department but one department have to map every time to the same zone.
    This is a correct example: department 1 maps to zone 'A' everytime
    Employee Department Zone
    1 1 A
    2 1 A
    This is an incorrect example: department 1 DOES NOT MAP to zone 'A' everytime
    Employee Department Zone
    1 1 A
    2 1 B
    Oracle's documentation says: You must not create dimensions in any schema that does not fully satisfy the dimensional relationships. Incorrect results can be returned from queries otherwise.
    OK, but what can we do if the department's zone actually change???
    In SCD type 2 we use the following technique:
    ID Employee Department Zone Start End
    1 1 1 A 2010-01-01 2010-01-02
    2 1 1 B 2010-01-03 null
    Now we can see that SCD type 2 does not follow the requirements that ORACLE recommends for the creation of Dimension Objects, I mean department 1 now maps to the older zone A and the newer zone B.
    Is it correct?
    Can somebody clarify this? I think is a conflict.
    Thanks.

    Hi,
    Is it correct?No, you are wrong. You mixed dimension attribute historization and hierarchy relationship.
    Behaviour of mapping for loading SCD2 dimension depends on how did you implement Department and Zone entities in your dimension -
    as a general attributes of lowest dimension level (EMPLOYEE) or as a higher levels in dimension hierarchy.
    If you define Department and Zone as attributes of EMPLOYEE level than behaviour of loading algorithm will be as you described -
    it is because OWB doesn't know that Department and Zone attributes compose hierarchy.
    But when you define additional levels Department and Zone - OWB tries to resolve conflicts over hierarchy in very simple way -
    for each child dimension value it choose single parent with minimal business key value.
    In your case loaded data will be:
    ID Employee Department Zone Start End
    1 1 1 A 2010-01-01 2010-01-02
    2 1 1 A 2010-01-03 null
    Since 10.2.0.4 patchset there is also Hierarchy Versioning feature (so configured for versioning level also contains EFFECTIVE_DATE, EXPIRATION_DATE columns).
    Regards,
    Oleg

  • What is the logical use of defining Dimension Object Relationships in DBI?

    Hi!
    I am reading the Oracle Daily Business Intelligence Implementation Guide and as I am following the guide on how to extend DBI, I saw a section which discusses how to create dimension object relationships. Until now, I could not fully realize what is the logical use of defining this relationship among dimension objects. I hope someone can enlighten me on this matter...
    Thanks.

    It LIVES ON FOREVER, and starts to take on its own personality, hungrily chasing down other objects in memory and ATTACKING THEM AT WILL. Also it grows over time, in its evil attempt to CONSUME YOUR ENTIRE MACHINE, and comes out and EATS YOU UP TOO! MWAHHHAAAHHHAAAA
    No wait, that was a sci-fi. It just lives until no more references to it exist and thus becomes eligible for garbage collection, and is only a "JAVA" feature not JDBC.

  • Difference between Dimension Objects L00 and L01

    Dear SDNers,
    While I was creating a universe data source as SAP BW Cube(OLAP) in the business layer of the universe Designer creates a class containing the characteristic as two dimension objects: Level 00 and Level 01. Ex: Material is Class-->Material Number is Sub Class->L00 material number,L01 Material Number as dimension objects and L00 Material Number Key,L01 Material Number Key as Detail object.
    Please tell me What is the difference between L00 and L01 ? I have read the help but I could nt get it.

    Hi swathi,
    From an OLAP point of view a characteristic is like a dimension, that means that it contains all the members (level L01) and the All member that aggregates the characteristic members (level L00);
    These metadata are provied by SAP BW when using OLAP drivers.
    For a characteristic, the level L00 is not necessary unless you want to use the All member.
    On the other hand, the level L00 is significant for hierarchies, hierarchy varaibles and structures because it contains members.
    We provide an option for the universe generation and the universe update that allows to generate or not the level L00.
    This option is available since BOE XI3.1 SP2.
    In SP3, we improved the L00 generataion to only impacts the characteristics and not hierarchies and structures.
    So the recommendation for characteristics is to not use L00.
    All the best
    Praveen

  • Is it possible to  add multiples dimension objects in Webi Ranking ?

    As per the project requirement we need to convert custom sqls to reporting sql in webi 3.1 sp5 .
    Is it possible to  add multiple dimension objects while applying ranking (Webi query panel ).
    Or is there any other way to achieve this feature in BO ?
    Regards,
    Pranay

    Hi ,
    There is a way if you want to apply ranking within a ranking . Below are the steps:
    First on the outer side we can use the Rank feature which is available directly
    Then use the Rank Function (=rank ()) and reset your dimension accordingly .
    This kind of Ranking is possible.
    Regards,
    Rahul

  • New custom dimension objects with MDX

    Hi all,
    on my OLAP universe is possible to create a new custom dimension objects with MDX sintax?
    For example I need a dimesnion with this descriptions: "ACTIVE"; "INACTIVE", "NULL"
    I need thi description in universe because would like to use this inreport prompt
    then in report I use a variable: if "ACTIVE" then [import1] else if "INACTIVE" then [import2] else [import3]

    BEx: No.
    MSAS: Maybe, but I don't know how.
    Hope that helps!

  • How to delete duplicate entries in table for the object DNL_CUST_BASIS2

    Hi All,
    I am trying to download the object DNL_CUST_BASIS2.
    In the SMQ2 the status is SYSFAIL.
    I checked in the ST22 for dumps.It says about the error while accessing the table T006.
    While analysing this,i found some duplicate entries in the related tables of this object.
    Can somebody help me how to delete these duplicate entries?
    Thanks,
    Senthil.

    Delete them directly from the table using se16:
    select the entries in the classic view (not ALV or grid view).
    activate the debugger.
    press the view button. --> you'll enter in the debugger
    press F7
    locate the sy-ucomm variable & change it to "DELE".
    press F8
    delete the entries.
    Trick-shots
    but it works!
    Michael.

  • Error in creating a simple table with JSON object in SAPUI5

    The error is :  SCRIPT1006: Expected ')' 
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
    <TITLE>Your Title Here</TITLE>
    <META http-equiv="X-UA-Compatible" content="IE=edge">
    <META http-equiv='cache-control' content='no-cache'>
    <META http-equiv='expires' content='0'>
    <META http-equiv='pragma' content='no-cache'>
    <script src="resources/sap-ui-core.js"
    id="sap-ui-bootstrap"
    data-sap-ui-libs="sap.ui.commons,sap.ui.table "
    data-sap-ui-theme="sap_goldreflection">
    //themes : sap_platinum, sap_goldreflection
    </script>
    <script>
    // create some local data using JSON
    var aData = [
    {Applications: "WVL BOD 9212", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/23/2014" },
    {Applications: "WVL BOD 9211", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/24/2014" },
    {Applications: "WVL BOD 3303", PercentComplete: "75", Date_Due: "6/16/2016", Testing_Due: "6/25/2014" },
    {Applications: "ETW BOD 3304", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/26/2014" },
    {Applications: "CLE BOD 1902", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/27/2014" },
    {Applications: "ISO HAZ", PercentComplete: "80", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
    {Applications: "ISO CWO", PercentComplete: "80", Date_Due: "6/01/2014", Testing_Due: "6/8/2014" },
    {Applications: "WVL 3 Stream ", PercentComplete: "60", Date_Due: "6/29/2014", Testing_Due: "" },
    {Applications: "ISO Integration", PercentComplete: "10", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
    {Applications: "WVL 7 QM Charts", PercentComplete: "15", Date_Due: "6/15/2014", Testing_Due: "" },
    {Applications: "SCB PCO", PercentComplete: "100", Date_Due: "?", Testing_Due: "" },
    {Applications: "SCB Top Chart ", PercentComplete: "10", Date_Due: "5/20/2014", Testing_Due: "" },
    {Applications: "Project Status", PercentComplete: "25", Date_Due: "7/25/2014", Testing_Due: "" },
    {Applications: "WVL LOI", PercentComplete: "100", Date_Due: "4/20/2014", Testing_Due: ""},
    {Applications: "DSS (HTML5)", PercentComplete: "100", Date_Due: "3/31/2013", Testing_Due: ""},
    {Applications: "ETW 3304 BOD Pilot",PercentComplete: "100", Date_Due: "11/16/2013", Testing_Due: ""},
    {Applications: "HTMl 5 Table Tools",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
    {Applications: "ISO JAX",PercentComplete: "100", Date_Due: "7/31/2013", Testing_Due: ""},
    {Applications: "ISO FEN",PercentComplete: "100", Date_Due: "1/10/2014", Testing_Due: ""},
    {Applications: "WVL QM Display",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
    // Define a table [Note: you must include the table library to make the Table class work]
    var oTable = new sap.ui.table.Table({
        title: "Projects Status", // Displayed as the heading of the table
        visibleRowCount: 4, // How much rows you want to display in the table
        selectionMode: sap.ui.table.SelectionMode.Single, //Use Singe or Multi
        navigationMode: sap.ui.table.NavigationMode.Paginator, //Paginator or Scrollbar
        fixedColumnCount: 4, // Freezes the number of columns
    enableColumnReordering:true,       // Allows you to drag and drop the column and reorder the position of the column
    width:"1024px" // width of the table
    // Use the Object defined for table to add new column into the table
        oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "Applications"}), // Creates an Header with value defined for the text attribute   <<<<<<<SCRIPT1006: Expected ')'
        template: new sap.ui.commons.TextField().bindProperty("value", "Applications"), // binds the value into the text field defined using JSON
        sortProperty: "Applications",        // enables sorting on the column
        filterProperty: "Applications", // enables set filter on the column
        width: "125px" // width of the column
        oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "PercentComplete"}),
        template: new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"),
        sortProperty: "PercentComplete",
        filterProperty: "PercentComplete",
        width: "125px"
    oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "Date_Due"}),
        template: new sap.ui.commons.TextField().bindProperty("value", "Date_Due"),
        sortProperty: "Date_Due",
        filterProperty: "Date_Due",
        width: "125px"
    oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "Testing_Due"}),
        template: new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"),
        sortProperty: "Testing_Due",
        filterProperty: "Testing_Due",
        width: "125px"
    //Create a model and bind the table rows to this model
    var oModel = new sap.ui.model.json.JSONModel();  // created a JSON model     
    oModel.setData({modelData: aData});      // Set the data to the model using the JSON object defined already
    oTable.setModel(oModel);
    oTable.bindRows("/modelData");    // binding all the rows into the model
    //Initially sort the table
    oTable.sort(oTable.getColumns()[0]);   
    // finally place the Table into the UI
    oTable.placeAt("content1");
      </script>
    </HEAD>
    <BODY>
    <div id='content1'></div>
    </BODY>
    </HTML>

    Hi Amr
    Here is an example on how to addColumn
    Example
    -D

Maybe you are looking for

  • Leopard on 887 Mhz Quicksilver w/Giga Designs 2 GHz 7447A?

    Has anyone out there successfully installed Leopard on an 887 Mhz G4 Quicksilver with a Giga Designs 2 GHz 7447A CPU upgrade? As an experiment I tried using a Leopard CPU Drop-in DVD from an Intel iMac (duped to a USB flash drive, because the G4 does

  • CBO vs RBO

    Might seem very silly Qs. 1) Can u still be using CBO when the execution plan does not show the COST? 2) Without analyzing or collecting statistics by the DBA/developer, will oracle on its own generate information to be utilized by CBO. I feel confus

  • Script for MS Excel?

    Does anyone know how I can make a script replace an entire batch of hyperlinks in MS Excel? Using the "Replace" command doesn't find them (although it would if I could figure out how to have my hyperlinks in a formula in the cell itself). I need hype

  • Oracle Tools Download and Price

    Please I need to know where do I get the following software (For example, OWB comes with DS (Developer Suilte)), and what's the price of each one: OMS (Oracle Management Server) - (Solaris) Oracle Enterprise Manager Console - (Windows) OWF (Oracle Wo

  • Missing serial number for Photoshop CS2 to complete installation.

    I just downloaded a free copy of Photoshop CS2 and I now need the serial number to be able to complete the installation. Where can I find it?