Multiple source tables for Measures dimension.

Hi,
We have two different SQL source tables for the Measure dimension in our project. Both the tables have the same structure but the Measures they contain are different. Based on certain condition Essbase will have to pick up Measures from one of the two tables. So basically the source table changes based on the condition. Is it possible to design rule files to achieve this? Please help me with this.
Thanks,
Krishna

as I am sure many will say essbase and load rules are not really an ETL tools.^^^ :)
Glenn is going to counter with a "I know how to do this in three steps using create column as text, join, and a oft-overlooked but awesome command that everyone but Tom Tortolani (I think I have the spelling on that right -- he was the Arbor employee that wrote Load Rules) forgot.
I 100% agree with John -- why not do it in SQL?
Regards,
Cameron Lackpour
Edited by: CL on Jan 23, 2013 6:33 AM
Misspelt Tom's name

Similar Messages

  • A question about the multiple source table for the logical table

    Hi All,
    I am to test, having two physical sources for an logical table, but it is failing as it is always getting data from only one table rather than two tables.
    !http://picasaweb.google.com/KSivaUS/OracleForumQuestions#5433761212378087346!
    Any suggestion or inputs would be appreciated.
    Thanks
    Siva

    your 2 measure columns are in the same unique - low level??
    your connections look good.
    which is the result if you bring only the sales column at your report??is it the sum of the 2 datasources??
    try to repass again all your bussiness model.or make an other one.
    fisrt pass your fact with 2 sources and then your dimensions....
    as i can see you have customer_dim,do both of your columns have the appropriate key to this dimension??try to make a physical connection from both fact sources to this dimension as well as for time...
    if you do it in this way ,there is no possibility not to work
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • Creating time source table for time dimension?

    hi exports
    can any one helps to create time source table or view_ for time dimension for awm_ mapping ?
    thanks
    Edited by: 1008794 on May 30, 2013 12:21 AM

    No. Thank you very much for reply.I have solved my problem
    Edited by: 1008794 on Jun 3, 2013 6:30 AM

  • How to identify the source column and source table for a measure

    Does anyone have a query that I can use to positively identify the source column and source table for a cube measure in an SSAS cube?  Visual Studio shows ID, Name, and Source, but it is nearly worthless in a large cube and database.
    Also - the same for a dimension would be great.
    If no query exists for this, can someone please explain how to find the source column/table for a measure and for a dimension?
    Thanks.

    DMVs don’t expose the DataSourceView content. AMO is much better suited for object model operations like
    this than the DMVs. PowerShell is also sometimes an option, but in this case C# code would be much easier because analyzing the contents of the DataSourceView is much easier using the .Net DataSet class.
    Hope this helps.
    Reeves
    Denver, CO

  • Merge multiple source table dates and to one target table

    The requirement is to merge multiple source tables (each table has a set of start and end date) to one target table with one set of start and end date and contain the date relevant column values from each source table.  Payment source tablestart dateend datepayemnt1/1/201512/31/2015301/1/201612/31/999960Position source tablestart dateend dateposition1/1/201512/31/2016101/1/201712/31/999920Target tablestart dateend datepayemntposition1/1/201512/31/201530101/1/201612/31/201660101/1/201712/31/99996020 What transformation(s) will be best to use to handle this requirement? Thanks, Lei

    Thanks Karen,
    that was exactly what i was hoping for.
    Maybe it could be made easier/less confusing if the Mapping Workbench just made you choose a target table. But maybe this is not usefull if the table contains two foreign keys to the same table. Or maybe this should just be put somewhere in the documentation.
    Regards,
    Robert
    Hi Donald,
    fortunately i'm my own DBA so i don't have any problems ;-). However i'm certainly interested in the reasons for not having such a conditional foreign key.
    However actually the foreign key isn't conditional, the condition is that either the field (using the FK) must be filled, or a free-format field. The reasoning for this is that we have a list of known towns and if the addres is local a town from that list must be chosen. If the addres is outside the country a town can just be typed in (no list).
    Concerning the agrregate, all fields are always used. There are no neediness flags anywhere. The aggregate contains three fields which are mapping as direct (two fields) or a One-to-one (the FK). All 'parents' all contains these three fields.
    Regards,
    Robert

  • Source tables for forms and tabular forms must have a primary key.

    Why does HTML DB 2.0 return the message
    "Source tables for forms and tabular forms must have a primary key."
    when trying to generate a "Report and Form" page based on a view defined like "create view <applicationschema>.a as select * from <sourceschema>.b" ?
    It should be possible for HTML DB to "see" that the table "<sourceschema>.b" already has a primary key.
    bw - Christian

    Christian,
    In the create application wizard, when creating form or tabular form pages, you can only use tables with primary keys, and not views, because that wizard is automatically deriving the primary key from the table definition. If you want to build forms on views or tables without a primary key, you need to use one of the create form wizards while working on an existing application. Those wizards allow you to pick your own column as a primary key column.
    Regards,
    Marc

  • How to identify EBS Source tables for SC and OM modules?

    Hi,
    I need to identify EBS source tables for Supply Chain and Order Management module.
    What prefix I should check in EBS tables?
    Is there any document on this?
    Regards
    Sudipta

    Check etrm.oracle.com
    For order Management you should check with OE
    Purchasing PO and inventory INV and I guess for ASCP MSC
    Mahendra

  • What is the source table for repository browser info?

    Hi guys,
    I need to create report for everyday's data refresh, mostly like what repository browser does. So what is the source table for repository browser info? I am in OWB 10gR2. Thanks a lot.

    I believe the runtime audit browser uses the views that start with "RAB" in the control center.
    But it would probably better if you used the Audit Execution views. More information can be found in the "API and Scripting Reference" document...
    http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28225/api_2runviews.htm
    In order to get access to the Public views from SQL Plus using a schema other than the control center, I believe you need to grant the ACCESS_PUBLICVIEW_BROWSER sys privilege to each OWB user. Look at Note:434718.1 for more information.

  • Table for Measuring point Reading.

    Dear Experts,
    Please guide where can I find the database table for measuring point reading values namely READC which is a part of RIMR0 structure, for using in developemts.
    Regards
    Jogeswara Rao

    hi
    check in IMRG table, you can find the values in SI unit . convert the same using Functional module. consult with your technical team
    regards
    thyagarajan

  • SOURCE TABLE FOR GRN IN MM

    Hi,
    Please let me know how to find the source table for GRN in MM .
    Thanks  in Advance,
    Manu

    Hi,
    You can also use ST05..
    Switch on the SQL Trace..
    Execute the transaction..
    Switch off the SQL Trace..
    You can see the tables that were used in the transaction.
    Reward points if found helpful..
    Cheers,
    Chandra Sekhar.

  • Source  table for info object

    Hi,
    Can anybody tel me the  SOURCE TABLE FOR the Info Object <b>Plant</b>  technical name is " 0PLANT "..Is coming under Info Cube  "Purchasing Data "..
    Thanks in advance
    Umesh mc

    Barbara,
    Did you do the replication of the datasources ?
    Goto SourceSystem -> select your BW system -> right click replicate datasources.
    Then refresh your object tree, it should show you the datasource.
    Hope this helps,
    GSM.

  • How to join multiple source tables and do lookup?

    I have a requirement to load a target table by joining 4 source tables. Also I have to do a lookup on a domain table to transform codes and check for nulls. What will be the best approach to load the target table?
    Is it possible to do it in one interface or do I need to build multiple interfaces to achive this?
    My source and target database both are oracle and I am planing to use Oracle Incremental Update Merge.
    Thank you

    You are in the right direction by creating one interface for this transformation.
    You will need to drag drop 4 source tables + the lookup table on the Sources window of Interface and then make appropriate joins.
    Also, check for NULLS in the transformation. Depends what you want to do with the NULLS. If you want to ignore them, use a filter.
    If you want them to error out, use a constraint.
    If you want to convert them, use NVL
    Start with Oracle Incremental Update and once successful, use Oracle Incremental Update MERGE.

  • Loading to target table from multiple source table

    Hi forum,
    I have some doubts regarding selecting data by joining 2 or 3 tables and populate the target table in same schema(ora 10g).The way i need to load is first extract the data and do some some transformations(like derive new value based on existing column value ,eg: arithmetic operations) and then load data to target table in same schema...
    GIve me a suggestion to do the same in best possible way..since the entire activity to be finished in 3 hrs and volume in each table is 377 million , 122 million and 120 million.
    Thanks ,
    Aneesh A

    It is Rob who spend his freetime in answering you - not "bob".
    > Can u explain me the time-lines for the mentioned volume...?
    You mean "you" and not "u"? This is not a MXIT forum where IM SPEAK is the norm.
    As for time-lines.. it is silly to expect anyone to give you estimated run times when the hardware platform, types of disks, o/s configuration, Oracle configuration, average loads and so on are unknown.
    What Rob showed you is the most optimal way to write SQL to transform data from one or more source tables and insert these results into a destination table - using direct path inserts and parallel query. The only faster method would be a CTAS - Create Table As Select as oppose to an Insert Table with select.

  • Source tables for ST03 data - can only find structures!

    Does anyone know which tables feed the structures (e.g. STA1) for ST03?  I've searched all over the place and all I can find are structures.  I need to run a query against the source tables.  Thanks for your help.

    Hi,
    See whether ST03N will meet your needs?
    For more options see SAP and SAP notes for MONI or TCOLL or ST03(N) (e.g. SAP notes 12103, 143550 and function module SAPWL_ACCNT_GET_SYSTEM_USAGE).
    Cheers,
    Julius
    This coding also helps to understand it a bit:
    *&      Form  TRANSLATE_TCODE_REPORT
    *       Translate/repair report and tcode names of statistic records   *
    *  -->  TCODE     transaction code
    *  -->  DYNPN     dynpro number
    *  -->  ttype     task type
    *  -->  USER      user name
    *  -->  TERMNL    terminal ID
    *  <->  REPO      report
    *  <--  ENTID     entry ID
    FORM translate_tcode_report     USING
                                       tcode LIKE sapwlpfnrm-tcode
                                       dynpn LIKE sapwlpfnrm-dynpronr
                                       ttype LIKE sapwlpfnrm-tasktype
                                       user  LIKE sapwlpfnrm-account
                                       terml LIKE sapwlpfnrm-terminalid
                                       repo  LIKE sapwlpfnrm-report
                                       entid TYPE entry_id_type.
      CLEAR entid.
      entid-type = 'R'. "field TCODE_OR_REPORT contains a report name
      CASE ttype.
        WHEN tt_autoabap.
          entid-tcode_or_report = repo = 'AutoABAP'.
          EXIT.
        WHEN tt_bufref.
          entid-tcode_or_report = repo = 'Buf.Sync'.
          EXIT.
    * 5.0 bei Tasktypen ALE, RFC, CPIC wird der TCODE mitgeliefert
        WHEN tt_ale.
          IF NOT ( tcode IS INITIAL ).
            entid-type   = 'T'.
            entid-tcode_or_report = tcode.
            repo = 'ALE'.
          ELSE.
            entid-type = 'R'.
            entid-tcode_or_report = repo = 'ALE'.
          ENDIF.
          EXIT.
        WHEN tt_rfc.
          IF NOT ( tcode IS INITIAL ).
            entid-type   = 'T'.
            entid-tcode_or_report = tcode.
            repo =  'RFC'.
          ELSE.
            entid-type = 'R'.
            entid-tcode_or_report = repo = 'RFC'.
          ENDIF.
          EXIT.
        WHEN tt_cpic.
          IF NOT ( tcode IS INITIAL ).
            entid-type   = 'T'.
            entid-tcode_or_report = tcode.
            repo = 'CPI-C'.
          ELSE.
            entid-type = 'R'.
            entid-tcode_or_report = repo = 'CPI-C'.
          ENDIF.
          EXIT.
      ENDCASE.
      CASE repo.
        WHEN 'SAPMSYST'.
          CASE dynpn.
            WHEN '0011'.
              entid-tcode_or_report = repo = 'Logoff'.          "#EC NOTEXT
            WHEN '0020'.
              entid-tcode_or_report = repo = 'Login_Pw'.        "#EC NOTEXT
            WHEN '0040'.
              entid-tcode_or_report = repo = 'MainMenu'.        "#EC NOTEXT
            WHEN '0010'.                   "nicht mehr R2 Lgout !!
    *          entid-type            = 'T'.
    *          entid-tcode_or_report = '/LON'.
    *          repo                  = 'R2 Lgout'.
              entid-tcode_or_report = repo.
            WHEN '0050'.
              entid-type            = 'T'.
              entid-tcode_or_report = '/LON'.                   "#EC NOTEXT
              repo                  = 'R2 Login'.               "#EC NOTEXT
            WHEN '0200'.
              entid-tcode_or_report = repo = 'New Pswd'.        "#EC NOTEXT
            WHEN OTHERS.
              entid-tcode_or_report = repo.
          ENDCASE.
        WHEN 'SAPMSSY0'.                   "Logon and other system exits
          CASE dynpn.
            WHEN '0120'.
              IF tcode = 'SE38' OR tcode = 'SA38' OR tcode = 'SE80'.
                entid-tcode_or_report = repo = 'Rep_List'.
              ELSE.
                entid-tcode_or_report = repo = 'Login_Ok'.
              ENDIF.
            WHEN OTHERS.
              entid-tcode_or_report = repo.
          ENDCASE.
        WHEN 'SAPMSSY2'.                   "BTC Control
          CASE dynpn.
            WHEN '4004'.
              entid-tcode_or_report = repo = '(B)SCHDL'.
            WHEN '4005'.
              entid-tcode_or_report = repo = '(B)STRTR'.
            WHEN '4006'.
              entid-tcode_or_report = repo = '(B)ZOMBI'.
            WHEN '4007'.
              entid-tcode_or_report = repo = '(B)EVDRI'.
            WHEN '4008'.
              entid-tcode_or_report = repo = '(B)EXTSC'.
            WHEN '4009'.
              entid-tcode_or_report = repo = '(B)AUTOD'.
            WHEN '4010'.
              entid-tcode_or_report = repo = '(B)SWTCH'.
            WHEN OTHERS.
              entid-tcode_or_report = repo = '(B)OTHER'.
          ENDCASE.
        WHEN 'SAPMSSY3'.                   "ABAP Debugger
          entid-tcode_or_report = repo = 'Debugger'.            "#EC NOTEXT
        WHEN 'SAPMSSY4'.                   "Update control
          entid-tcode_or_report = repo = 'Upd Ctrl'.            "#EC NOTEXT
        WHEN 'SAPMSSY6' OR 'SAPMSSY8'.     "Auto ABAP (SAPMSSY8 since 4.5)
          entid-tcode_or_report = repo = 'AutoABAP'.            "#EC NOTEXT
        WHEN 'SAPMSSY7'.                                        "Scheduler
          entid-tcode_or_report = repo = 'Schedulr'.            "#EC NOTEXT
        WHEN 'SAPMSEDT'.                                        "Editor
          entid-tcode_or_report = repo = 'Rep_Edit'.            "#EC NOTEXT
        WHEN OTHERS.
          IF repo IS INITIAL.
            IF dynpn IS INITIAL.
              IF user = sapsys_user.
                IF terml IS INITIAL AND ttype NE tt_btc.
                  entid-tcode_or_report = repo = 'System'.      "#EC NOTEXT
                ELSE.
                  entid-tcode_or_report = repo = '?'.
                ENDIF.
              ELSE.
                entid-tcode_or_report = repo = 'Aborted'.       "#EC NOTEXT
              ENDIF.
            ELSE.
              entid-tcode_or_report = repo = '?'.
            ENDIF.
          ELSEIF tcode = 'SE38'   OR
                 tcode = 'SA38'   OR
                 tcode = 'SE80'   OR
                 tcode = 'SARP'   OR       "SARP ausfiltern (Berichtsbaum)
                 tcode = 'SART'   OR       "SART ausfiltern (Berichtsbaum)
                 tcode = 'GR55'   OR       "GR55 ausfiltern (Berichtsbaum)
                 ttype = tt_btc   OR
                 tcode IS INITIAL.
            entid-tcode_or_report = repo.
          ELSE.
            entid-tcode_or_report = tcode.
            entid-type            = 'T'.
    * removed in release 6.30
    *        IF entid-tcode_or_report(3) CA space OR
    *           entid-tcode_or_report    CA '!'.
    *          entid-tcode_or_report = '!XYZ'.
    *        ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.                               " TRANSLATE_TCODE_REPORT

  • Load into single target table frm multiple source table in single interfac

    Hi
    I have four source table and a single target table.
    I need to move data from either of these tables into a target table , and we have to decide the source table based on user input.
    Example :
    Lets say there are four tables A,B,C,D and one target table T.
    If user input says A
    then the data from table A will move to table T
    And again , if the user says table C then data from table C will move to table T.
    And we have to create only one interface for achieving this in oracle Data Integrator ( ODI ).
    You can take assumptions in source and target table.

    Hi ,
    In ODI 11g , there are new feature callled dataset. It allows to use UNION , MINUS etc.
    Google it , you will get many tutorials on Dataset. check the link
    http://www.rittmanmead.com/2011/06/odi-11g-new-mapping-and-interface-features-part-1/
    In your case , you can provide filter conditions on your tables i.e.
    Say My target table is EMPLOYEE , My source tables are EMPLOYEE and DEPARTMENT
    INSERT INTO EMPLOYEE(CUSTOMER_ID , CUSTOMER_NAME) SELECT CUSTOMER_ID , CUSTOMER_NAME from employee where 'EMPLOYEE' = :EMP
    UNION DEPARTMENT_ID , DEPARTMENT_NAME from departments where 'DEPARTMENT' = :EMP ;
    Just pasted the Screenshots on following page : http://oracoholic.blogspot.in/ . Have a look
    Edited by: user8427112 on Jan 8, 2013 11:04 AM

Maybe you are looking for

  • MSI GF ti 4200 - picture not sharp

    Just bought a new MSI Gf4 Ti 4200 8X / 128 MB (MS-8894) . Works fine but seems there are some problem with the graphic quality ..... The picture quality seems not as sharp as my ASUS GF 3 Ti 200. The MSI picture seems a bit blur compare to my ASUS wh

  • "CHECK_CHANGED_DATA" WITHOUT

    Hi abap gurus,   I am doing ALV grid with oops concept . I am not able to save the changes in the internl table using 'check_changed_data' using checkbox . It is giving following error : Can anyone give me any clue ? Without using check box it is fin

  • How many formats will be available in wsdl?what are they?

    Hi Have doubet that in wsdl how many formats are available please reply soon

  • Why Are Frames So Bad?

    This is one of those 'big picture' questions. Sorry for the length. The actual question is at the end. I don't claim to be much of a 'designer'. I'm a musician. I have a web site I am trying to update to make 'accessible'. And it uses frames. http://

  • Having problem with typing chinese in OS X Lion

    After installing OS X Lion, I am having problem with typing traditional chinese in my own account. Everytime I switch to traditional chinese the computer become extremely slow and the finally freezed. However, when I am using visitor account, I can t