How fact links to Dimension Tables.

Hi All,
Can any one explain how the ROW_WID of the dimension table and the related column in the fact table both gets populated with same values in different mapping ?
Consider if we want to develop a new fact and dimension tables, then how should i proceed for the ROW_WID and the join between fact and dimension.
Thanks in Advance.
Regards
Vishwanath

Hi
Basically in BI Apps all dims are first populated and every dim table has a row wid column apart from the primary key combination(datasourceid+integration id) .If you open a seeded mapping and you would see this row wid column is populated using a reusable sequence generator transformation.So everytime u run this mapping the row wids change..........
Now coming to the facts............as a normal rule of thumb in ETL u run the facts after all the dimensions........If you open any seeded fact mapping you will observe that every fact has a wid associated the dims it joins to.......so if a fact is joining to 3 dims then there will be 3 wids associated to each dim .These wids are again populated using a lookup on the dimension table and extracting row wid for relavant id of the dim.So u get the value of row wid of the dimension in the wid column of the fact....Please let me know if u hv questions
With Regards
Venkatesh

Similar Messages

  • How to Create a Dimension Table in OBIEE11g

    Hello,
    Chapter 9, page 221(if pdf) of the Build Repository manual of OBIEE 11g explains following.
    Creating Dimensions in Level-Based Hierarchies
    After creating a dimension, each dimension can be associated with attributes
    (columns) from one or more logical dimension tables and level-based measures from
    logical fact tables. After you associate logical columns with a dimension level, the
    tables in which these columns exist appear in the Tables tab of the Dimension dialog.
    To create a dimension with a level-based hierarchy:
    1. In the Business Model and Mapping layer of the Administration Tool, right-click a
    business model and select New Object > Logical Dimension > Dimension with
    Level-Based Hierarchy.
    Note that this option is only available when there is at least one dimension table
    that has no dimension associated with it.I am still learning OBIEE, and I can not see the dimension menu item as per point 1 becuse i do not have dimension table associated with it. All I have done at this point is to create logical tables based on few physical tables in physical layer.
    How do I create Dimension Tables? using BI Admin tool?
    Thanks,R

    Hi Rich,
    If you are new to Oracle BI, you would better start with the Oracle Learning Library; http://apex.oracle.com/pls/apex/f?p=9830:41:0::NO:RIR:IR_PRODUCT,IR_PRODUCT_SUITE,IR_PRODUCT_COMPONENT,IR_RELEASE,IR_TYPE,IRC_ROWFILTER,IR_FUNCTIONAL_CATEGORY:,BI,,,,,
    You create dimensions based on your logical tables. In a plain star-schema you would have one logical fact table and at least one or more logical dimension tabes attached (joined) to the fact table. Just follow the documentation and you would be good to go.
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • Two fact and one dimension table

    Hi folks
    i am new to this field ( 3 months ), my TL has given me one task i have to finish it up today itself, Can anyone one give me some idea how to implement
    req. The req is
    1. there are 2 fact and one dimension table is there, i have to create reports on Quaterly and monthly basis by using one dimension table.
    Can any one tell me what all are the steps in need to follow
    2.What is standalone and integrated systems?
    Regards
    Reddy

    Hi
    If u r having mapping keys for quarter level n monthly level then create a Alias for the dimension table.Use the original dim table for quarter level mapping and the alias dim for monthly level.
    Thanks
    Don

  • Fact columns in dimension table

    In OBIEE, Can we use a fact column in related dimension table in case this column is just an description column? Yup I know that use fact columns in fact and dimension in dimension.. But what exactly will be issue if we do this? I observed it in one model.. No data connection was there to test..

    Hi Hari,
    Why can't you create two tables in BMM one is as FACt and DIM and place all description columns in dim and measures in fact?
    this way you would achieve Star Schema in BMM
    http://www.varanasisaichand.com/2012/04/fact-and-dimension-from-single-source.html  (2nd approach)
    thanks,
    Saichand

  • How to link MM & FICO Tables

    Hi,
    I have a requirement to extract the data from the transaction FBL1N ( i.e. from BSIK & BSAK) to get the details of XBLNR-Reference Document & WRBTR-Amount in Document Currency to display in the MM-Purchasing reports. In MM-Purchasing tables we are using ( EKKO, EKPO, EKBE) tables. Bothe FBL1N & the MM-Purchasing custom report runs based on Vendor & Company code.
    Please provide how to link these two.
    Regards,
    Kiran.L

    Hi,
    You can link the two tables using joins.
    Here's one simple example.
    Select matnr ersda mtart maktx into corresponding fields of table itab1 from mara as a inner join makt as b on amatnr = bmatnr.
    If you want to use outer join use outer join in place of inner join.
    Hope its helpful.
    Reward points if found helpful...
    Cheers,
    Chandra Sekhar.

  • How to link Azure database tables and fields to VS2012 C++ entry form

    We are using Visual Studio 2012 C++ and have successfully connected to the database on Azure, but do no know how to associate the database tables and fields with the C++ application data entry forms.  Can anyone help?  Thanks

    Hello Roxanne,
    You could use Entity framework to map classes to Azure tables. Please refer http://www.codeproject.com/Articles/363040/An-Introduction-to-Entity-Framework-for-Absolute-B to
    learn more. Hope this helps.
    Regards,
    Kumar Bijayanta

  • OBIEE-can we link two dimension tables belonging to different fact tables?

    Hi ,
    I have just started with OBIEE concepts....need your views on this issue:
    Fact 1 -> Dim 1, Dim2,Dim3 and so on..
    Fact 2 -> Dim a, Dim b,Dimc and so on...
    If I link Dim1 and Dim a with a valid key ,would that distort the star schemas to slowflake in BMM layer?
    Thanks in advance!
    Neha

    I don't see this that would make it snowflake more like what I think as conforming dimensions. You need to make sure the grain of the measures is at what level , the they are same grain then you should be good however if they are different then you would start seeing null values.
    Fact Measures use the same, conformed dimensions like Dim1 and Dim a if you trying to generate from multiple facts, the BI server was able to automatically stitch them together into a single result set. If they came from the same fact table that's easy as its only one single table, but if you are pulling from different fact tables, the conformed dimensions would allow them to be stitched into the same report
    Conformance means that these sources can be mapped to a common structure – the same levels – and also the same data members.
    Mark if helps.
    Thanks,
    SVS

  • Fact vs. Dimension table mappings

    What is the difference between how Dimensions and Facts behave in the Mapping Editor?
    I have no problems loading my data into a Dimension, but with the fact table the mapping gets really complex (I have about 5 dimensions and the fact table only contains one measure in addition to the foreign keys).
    I'm guessing there is an easy way to map data to a fact table when the dimensions are defined (otherwise I can't see the need to separate dimensions and facts in the mapping editor), anyone who can help me out on this?
    thanks,
    Ulf

    Ulf,
    Quite often the mapping of the fact is indeed most complex. Common models use lookups to the dimension keys and an aggregation across the keys. In OWB you can use the key lookup operator as well as the aggregator to build the dataflow you need.
    Mark.

  • How to join three dimension tables

    I have one seperate schema, which consists of only 3 tables(all three tables has dimension fields and fact fields(dim fields =textual fields,fact fields=measures))
    How to handle this type of situation in RPD.
    Ex: table A,Table b,Table c
    Table A needs to join with Table b on many to one relationship.
    Table c needs to join with table b on many to one relationship.
    Anyone suggest me what is the best way to handle this type of situation.do I require to create dimensional hierarchies for all three tables? Or can I consider only table b as dimension and remaining 2 consider as fact?

    This will not be possible. As per dimensional modelling atleast you should have one fact table.
    Dimensional tables can be joined to one another if the have flakes(sightly normalized table).
    so you have start up the things from DWH.
    Regards,
    Kishore.

  • How to link a summary table

    Post Author: strife
    CA Forum: General
    I am using Crystal 10 and trying to develop a donor percent participation report, comparing donors to total number of class members (donors per class/good addresses per class) * 100.  The number of class members comes from a summary table of good address counts that remains static throughout the year.
    1)      I can create a view for the good address counts but Iu2019m unclear as to the way to link this view to the table of donors.  I canu2019t link ID to ID since itu2019s a summary and doesnu2019t have a row per ID (I need address counts for ALL IDs not just the ones who are donors). 
    2)      If I put the view in a subreport, I get only one result not a count for each group which is class year. 
    3)      If I put the subreport in the class year group to get a result returned for each class but the subreport creates unwanted blank rows in the export to Excel.
    I am looking at the last option but wonder if there is some other way that Iu2019m overlooking.  Any help is appreciated.

    Here is the video!  and it works for 2010.  It shows you how to put the pivot wizard that you need on the ribbon.
    https://www.youtube.com/watch?v=pUXJLzqlEPk
    Excel Pivot Tables: How to flatten a cross tab table
    Note:  the above instructions for 2007 and 2003 work as well BUT you must let go of the "alt" & "d" when you press "P"!

  • How to link oracle dba_users table with SQL's sysusers and syslogin tables?

    I need to validate that the username present in the Oracle's dba_users table is the same as SQL's sysusers's isNTUSER and syslogin's name columns. How to achieve this? Someone please help me out. Thanks.

    refer these three link for information.
    http://www.oracleappshub.com/release12/r12-sla-analyzing-subledger-accounting/
    http://www.oracleappshub.com/release12/r12-sla-from-product-accounting-to-subledger-accounting/
    http://www.oracleappshub.com/release12/know-the-changes-because-of-r12-oracle-payment-module-fund-disbursement-in-ebs/

  • How to link a XMLType table to a repository?

    I follow following steps:
    1) register a schema and generate a default table
    2) insert XML documents ( specifing the schema just registered) into the table by using SQL
    But how to let those XML documents show up in the repository so that users can access to them by using HTTP/FTP so that any update done to the table will be reflected in the repository and vice versa.
    I tried many things but no luck.

    Everything looks OK to me. In the folllowing example the createResource() is the equivilant of the WebDAV copy. Do you have multiple database instances running on the server machine. It is possible that the WebDAV connection is connected to another database instance.
    What folder are you copying the data into
    Can you do
    select path from path_view where under_path(res,'/targetFolderForWebDav') = 1
    SQL>
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://localhost:8090/CMDEMO/fullname.xsd';
      3    :schemaPath := '/public/testcase.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0"?>
      5  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
      6    <xs:element name="fullName" type="xs:string" xdb:defaultTable="FULL_NAME_TABLE"/>
      7  </xs:schema>
      8  ');
      9  begin
    10    if (dbms_xdb.existsResource(:schemaPath)) then
    11      dbms_xdb.deleteResource(:schemaPath);
    12    end if;
    13    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    14  end;
    15  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> desc FULL_NAME_TABLE
    Name                                                                                Null?    Type
    TABLE of SYS.XMLTYPE(XMLSchema "http://localhost:8090/CMDEMO/fullname.xsd" Element "fullName")
    SQL> --
    SQL> set long 100000 lines 150
    SQL> --
    SQL> select *
      2   from FULL_NAME_TABLE
      3  /
    no rows selected
    Execution Plan
    Plan hash value: 3651065813
    | Id  | Operation         | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |                 |     1 |  2022 |     2   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| FULL_NAME_TABLE |     1 |  2022 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
                  xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
                  http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd">
                  <read-properties/><read-contents/></privilege>'))=1)
    Note
       - dynamic sampling used for this statement
    SQL> declare
      2    res boolean;
      3    docPath varchar2(40) := '/public/testcase.xml';
      4    xmldata xmlType := xmlType(
      5  '<fullName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      6  xsi:noNamespaceSchemaLocation="http://localhost:8090/CMDEMO/fullname.xsd">
      7  David King
      8  </fullName>');
      9  begin
    10    if (dbms_xdb.existsResource(docPath)) then
    11      dbms_xdb.deleteResource(docpath);
    12    end if;
    13    res := dbms_xdb.createResource(docPath,xmldata);
    14  end;
    15  /
    PL/SQL procedure successfully completed.
    SQL> select *
      2   from FULL_NAME_TABLE
      3  /
    SYS_NC_ROWINFO$
    <fullName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localhost:8090/CMDEMO/fullname.xsd">
    David King
    </fullName>
    Execution Plan
    Plan hash value: 3651065813
    | Id  | Operation         | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |                 |     1 |  2022 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| FULL_NAME_TABLE |     1 |  2022 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
                  xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
                  http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd">
                  <read-properties/><read-contents/></privilege>'))=1)
    Note
       - dynamic sampling used for this statement
    SQL>
    SQL>
    SQL>
    SQL>

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt
      SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
                       MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
                                 INNER JOIN STPO AS C ON ASTLNR = CSTLNR
                       WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
    using cs13 to get the bom summary
    using these table to but i got only few materials only,
    but cs13 got more materials
    how can i solve that one
    Regards
    ds

    Hi,
    Just go through this program i think it will help u out.
    TABLES: MARA, MARC.
    TYPE-POOLS : fibs,stree.
    TYPES: BEGIN OF STRUCT_BOM,
            MATNR TYPE MATNR,          " Material Number
            WERKS TYPE WERKS_D,        " Plant
            IDNRK TYPE IDNRK,          " BOM Item
            STLAL TYPE STLAL,          " Alternative BOM
            STUFE TYPE HISTU,          " BOM Level
            OJTXB TYPE OJTXB,          " Object description (assembly)
           END OF STRUCT_BOM.
    *- table types
    types: t_bom type table of struct_bom.
    *Internal Tables to hold the BOM data.
    DATA: ITAB_BOM type table of STRUCT_BOM.
    DATA: WA_BOM TYPE STRUCT_BOM,
          wa_stb type stpox,
          wa_matcat type stpox.
    DATA: IT_STB       type standard table of STPOX,
          IT_STBC      type standard table of STPOX,
          IT_MATCAT    type standard table of CSCMAT.
    *-- to enter BOM DATA
    *Selection Options
    select-options: s_matnr for V_matnr,       "BOM Material
                    s_plant for V_werks.       "BOM Plant
    *Input Parameters
    parameters:     p_alter type stko-stlal,      "Alternate BOM
                    p_usage type stzu-stlan,      "BOM usage
                    p_appli type tc04-capid,      "BOM Application
                    P_CATE  TYPE STKO-STLTY DEFAULT 'M'.      "BOM Category
    INITIALIZATION.
    REFRESH ITAB_BOM.
    CLEAR WA_BOM.
    REFRESH IT_STB.
    REFRESH IT_MATCAT.
    START-OF-SELECTION.
    SELECT matnr
           werks
           stlal
           INTO CORRESPONDING FIELDS OF TABLE itab_bom
           FROM mast
           WHERE matnr IN s_matnr
           AND werks IN s_plant
           AND stlan = p_usage
           AND stlal = p_alter.
    CLEAR V_MATNR.
    CLEAR V_WERKS.
    DATA: WA_STB TYPE STPOX,
          WA_MATCAT TYPE CSCMAT.
        v_matnr = wa_bom-matnr.
        v_werks = wa_bom-werks.
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = p_appli
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mtnrv                 = v_matnr
            stlal                 = p_alter
            stlan                 = p_usage
            werks                 = v_werks
          TABLES
            stb                   = it_stb
            matcat                = it_matcat
          EXCEPTIONS
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            conversion_error      = 8
            OTHERS                = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then just print whatever data u want it_stb, it_matcat tables.
    reward points if u find my answer helpfull.

  • Fact's and dimension tables

    Hi Friend's
    I joined institute to learn OBIEE one of my institute mate has asked me one question that is.
    What will be the Fact and Dimesion tables for Financial projects, please tell me min 6 to 7 tables..
    Regard's
    Anusha

    Hi,
    That depends on the scope and needs.
    I usually have:
    - Account dim
    - Market dim
    - Scenario
    - Year
    - Time
    Then depending on your needsyou might want to add products, etc.

  • How two link two extern tables in one in BW ?

    Hello everybody,
    I have 2 extern tables with few data (6000):
    ZETL_NEGO:
    Number/AIRPORT/DATEFROM/DATETO/AMOUNT_NF
    10;CDG;10/02/08;20/05/08;100
    ZETL_PRICE:
    AIRPORT/FARE_PUBLIC
    CDG;400
    I wanted to load these 2 tables in BW.
    And i want obtain the following result:
    10;CDG;10/02/08;20/05/08;100;400
    and not these 2 lines:
    10;CDG;10/02/08;20/05/08;100;0
       ;        ;            ;             ;     ;400
    I want join these two tables ...
    - I create an ODS specific to load ZETL_NEGO with
    KeyField=Number/AIRPORT/DATEFROM/DATETO
    - I create an other ODS specific to load ZETL_PRICE with
    KeyField=AIRPORT
    - Then, i create a third ODS which load the two precedent with
    KeyField=Number/AIRPORT/DATEFROM/DATETO
    but, yes, it doesn't work.
    These 2 tables are not join ...
    Could you give me suggestions how do this?
    Thanks in advance.
    Best Regards,
    Rod.

    Yes that way is not going to work, but when you are loading data from the first DSO, do a lookup to the second DSO with AIRPORT number. The only drawback with this is if you load the first DSO before the Second DSO, you will be losing some data and also  you might have some issue if you are doing delta load. This will work fine with full loads.
    Another option is leave the dso or create cube for each dso and create a multiprovider, and create a report off the multiprovider and when you create a report, you can use the option of 'Constant Selection' to make the report come in one line.
    And final option is to create infoset of the two DSO'es which will create one records.
    thanks.
    Wond

Maybe you are looking for

  • Acrobat v9 Pro and Standard Runtime Error!

    My company recently got in the CD's from Adobe for Acrobat 9 Professional and Acrobat 9 Standard. I installed Acrobat 9 Pro on one of our systems. The system got a runtime error every time Adobe Acrobat started citing "C:\Program Files\Adobe\Acrobat

  • Is Lightroom 1.3 commercial quality yet?

    I blindly rushed out and purchased Lightroom when it first came out (i.e., v1.0) -- bought Scott Kelby's Lightroom book and jumped in head first. It didn't take long to determine that Lightroom v1.0 wasn't a viable product, so I removed it from my co

  • PS CS6 gettin "not registered" message

    I re-installed PS CS6 from my CD, but it thinks it is the cloud version. How do I fix the problem?

  • Macbook Pro will not sync app via iCloud

    bought Tap Forms (database) apps for iphone, ipad & macbook for its simplicity. iCloud will sync between the ipad, iphone and macbook but not from the the macbook. "Documents & data" is ticked in icloud. I've tried unticking & re-starting, then ticki

  • Setting defualt value

    Hello experts I want to create a variable takes from and to weeks as the input. I have already created a interval user entry variable. Now the requirement is to set the current week as the defualt value of this week variable. Is it smthing related to