Several Sources of the logical Table in MDB under 1 logic Table in OBIEE 11 g

I have a question, and even after doing a lot of research on google I couldn't find any article by asking you: -.

I want to create a logical Dimension table
This logical dimension has columns from 2 different physical tables, TableA and TableB. The relationship between TableA to TableB is 1 to zero.

There are 2 ways to create the logical dimension:--
1) go to the properties of logical TableA table-> then source it + sign click and then add the right outer join TableB, tableA with.
We see here a tableA table in the logical table source.
(2) so that we have 2 logical table source, drag the column tableB.

Please try to explain without using the concept of fragmentation and without taking into account the fact tables. I have a question for the simple logical dimension only tables.

I wanted to know which is the right path and what requirement/factor decides what to do?

See this post
Business Model - Table logic Source

Let me know for Qs.

If brand as helping correct :)

Tags: Business Intelligence

Similar Questions

  • Source of the logical table incorrectly defined

    Hello

    I have the following physical layer joins:

    Projects_dim is linked to Budget_Versions_dim
    Awards_dim is linked to Budget_Versions_dim
    Budget_Vesions_dim is linked to Budget_lines_fact

    Projects, grants have Budget Version are dimension tables while the budget lines is the fact table.
    Projects and scholarships are also linked to other tables of facts.

    I've implemented a fact table in my BBM with all my tables of facts, between them as sources, there is the table of budget lines, and I also did mapping suitable for each of them does.

    The problem is, let's say the user, no matter what, wants to have a report that has fields of Project_dim, Awards_dim and Budget_version_dim, without going through any column is in there. In this case, I get the error: incorrectly defined source logical table.

    How can I solve this problem and get the report to return the budget versions by project and by the price?

    Thanks adavance...

    Hi Patrick,

    I have not recived you send, but in the meantime I have another solution for you problem, I modified the SPR, there is a fictitious table doing the join with all that a TI is used as column made implicit.

    See if it can help you!

    Kind regards
    Gianluca

  • Query metadata ODI to find the source and the target table for Interface

    Hi Experts,

    Customer heading there source of EBS 11.5.10 in R12. They are BIApps ODI. 7952 version. Since then, all mappings there are customized they may not disturb on support of Oracle BIApps is concerned.
    Now, we need to know how many ODI mappings there source EBS is the 11.5.10 in R12 migration and we can only target mappings accordingly.

    So, please give me with entries below:

    (1) any request for metadata that will give me the information of the source tables table and target them in against an if-same interface that the source of the main interface is another interface.
    (2) what are the other stuffs that I need to look at from the point of view of the mapping changes when the source is upgrading.e.g. only change the source table is enough or I need to focus on other animals. I feel she's boiling down to create a separate source for R12 adapter.

    Kind regards
    Snehotosh

    First open the designer-> models and check which model has got the mapping of the eBS. Get this code with this TERRIBLE application

    SELECT count (distinct i_pop) of SNP_POP_COL
    where I_POP_COL in
    (
    Select i_pop_col in the SNP_POP_MAPPING where i_source_tab
    in
    (
    Select i_source_tab in the SNP_SOURCE_TAB where i_table in)
    Select i_table in the SNP_TABLE where I_MOD in
    (select i_mod in the SNP_MODEL where mod_name = "PUT_HERE_YOUR_NAME")
    )
    )
    );

    Will not consider some other influence (i.e. the procedure), it will be an indicator of average first level.

  • How to delete several lines in the details Table with PRIMARY KEY = ("VID", "LINEITEM")?

    Mr President

    My worm Jdev is 12.2.1.

    I have master tables / details.

    I have 2 lines for each PRIMARY KEY = ("VID", "LINEITEM") as below in the Details table.

    delete.png

    Please help how to get a button on a jsf page to remove these two lines at a time.

    Concerning

    So, in your app (data model) module, you have a master relationship / typical retail:

    And the relationship between them is based on some ViewLink

    Now go to the ViewLink, relationship, accessor.

    Take a look at the Destination accessor.

    Generate accessor object to check and give a name Acessor

    Then go to the master VO, Java and Include accessor, the class generate a display line:

    Go to the class view Java generated line, you'll find a method with the name of the accessor of the previous step, in the form of:

    public RowIterator getYourDetails...or_whaterever_IsAccessorName..() {
    }
    

    Now, in the same Java class, write the following Java method:

    public void removeDetails(){
      RowIterator details = getYourDetails...or_whaterever_IsAccessorName..(); // it is RowIterator over all details
      Row r = details.first();
      while (r != null) {
          r.remove();
          r = details.next();
      }
    }
    

    This method on the Cilent export line Interface:

    Finally, pass the data controls and drop this operation on the form as a button...

  • Update of several rows of the same table using trigger

    Hello

    I have the following table

    ---------------------------------------------------------------------------------------------------------

    CREATE TABLE ATT_PERMISSIONS
    (
    DATE OF PRMONTHYR,
    EMPIDNUMBER (10)DEFAULT VALUE 0,
    FROMDATETIMEDATE,
    TODMTFDATETIMEDATE,
    NUMBER OF PERMMINS (3),

    SSLINASTRETCH NUMBER (3).

    PERMATTINELIGIBLENUMBER (1)DEFAULT VALUE 0
    );

    ------------------------------------------------------------------------------------------------------

    I want to update the column PERMATTINELIGIBLE in the same table when each line is inserted.

    I created following trigger for that

    CREATE OR REPLACE TRIGGER SSL_AFTER_UPDATE AFTER UPDATE ON ATT_PERMISSIONS

    FOR EACH LINE

    BEGIN

    Update ATT_PERMISSIONS set PERMATTINELIGIBLE =

    (

    SELECT THE CHECK BOX

    WHEN PERMMINS < = 60

    or

    (

    PERMMINS < = SSLINASTRETCH

    AND

    COUNT (CASE WHEN PERMMINS = 0 THEN NULL OTHERWISE 1 END)

    COURSES (PARTITION BY empid, prmonthyr) < = 1

    )

    THEN 1

    0 OTHERWISE

    END

    FROM ATT_PERMISSIONS where prmonthyr =:new.prmonthyr, empid =:new.empid

    ) where prmonthyr =:new.prmonthyr, empid =:new.empid;

    END;

    ---------------------------------------------------------------------------------------------------

    That is to say.

    When a row is inserted the PERMATTINELIGIBLE of all records for this employee for the month is recalculated.

    There would be only two or three records for an employee for a month.

    PERMMINS is the number of minutes to use as short leave.

    If it is less than 60 is eligible for the bonus to attendance for this employee.

    If this isn't normally the date is not eligible for the attendance for this employee premium.

    but an exception is that if a short leaves of DISP employee allowed a month (IE. ( SSLINASTRETCH ) in a straight line, IE. one day, that day is eligible for the bonus of presence.

    That is to say. Why the number of short leaves in a month is taken. If it's one and done minutes use is lower to SSLINASTRETCH, then the day is eligible for the attendance bonus.

    But when I try to create the trigger I get error, PL/SQL: ORA-00907: missing a right parenthesis.

    Help, please

    I use oracle 10g

    I want to update the column PERMATTINELIGIBLE in the same table, when each row is inserted.

    No - you do NOT want to do in a trigger.

    You cannot query the same table that the trigger is activated on. -C' is a MUTANT and you will get an exception.

    When a row is inserted is recalculated to the PERMATTINELIGIBLE of all the records for that employee for that month.

    There would be only two or three records for an employee for a month.

    PERMMINS is the number of minutes to use as short leave.

    If it is less than 60 is eligible for the bonus to attendance for this employee.

    If is not normally the day is not eligible for the premium of attendance for this employee.

    but an exception is that if a short leaves of DISP employee allowed a month (IE. SSLINASTRETCH) in a straight line, IE. one day, that day is eligible for the bonus of presence.

    That is to say. Why the number of short leaves in a month is taken. If it's one and done minutes use is less than SSLINASTRETCH, then the day is eligible for the bonus of presence.

    But when I try to create the trigger I get error, PL/SQL: ORA-00907: missing a right parenthesis.

    You can not do in a trigger. Even if correct you this error of syntax, you will get the exception that I mentioned above.

    Oracle is a multi-user system. Other users can modify the same table that you use.

    So even if you could try to interview "all the records for this employee" some of them may be locked if other users access them. Also, an insert statement could try to insert two rows for an employee and the trigger could not have seen the other lines still.

    If you want to work with data SETS (all records for an employee), you must write the PL/SQL code that LOCKS all lines updated to prevent others to interfere.

    Then you make your operations but NOT in a trigger. Perform inserts and then use an UPDATE query to set this value.

    Then VALIDATE to unlock the lines.

  • Several updates on the same Table

    Hello

    I need to update the same Table (T1) but to filter for different conditions as below.
    and I have a set of filter conditions 50 and update the same table.

    Is it possible to get in the single update statement?

    BEGIN
    UPDATE T1
    SET PTA_CLM_CNT = v_PTA_CLM_CNT__77,
    PTB_CLM_CNT = v_PTB_CLM_CNT__77
    WHERE run_dt = v_in_parm_dt
    AND state_code = '77';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    WHILE OTHERS THEN
    v_error_cd: = SQLCODE;
    v_error_msg: = SUBSTR (SQLERRM, 1, 200);
    v_curr_record: = 'sum_bene_state_updt_77 ' | v_in_parm_dt;
    create_error_log ('_sum_cnts', v_error_cd, v_error_msg, v_curr_record);
    END;

    BEGIN
    UPDATE T1
    SET PTA_CLM_CNT_ = v_PTA_CLM_CNT__78,
    PTB_CLM_CNT_ = v_PTB_CLM_CNT__78
    WHERE run_dt = v_in_parm_dt
    AND state_code = '78';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    WHILE OTHERS THEN
    v_error_cd: = SQLCODE;
    v_error_msg: = SUBSTR (SQLERRM, 1, 200);
    v_curr_record: = 'sum_bene_state_updt_78 ' | v_in_parm_dt;
    create_error_log ('sum_cnts', v_error_cd, v_error_msg, v_curr_record);
    END;

    Thanks in advance

    May be trying to use DECODE

    UPDATE T1
       SET PTA_CLM_CNT = DECODE(state_code,77,v_PTA_CLM_CNT_77,78,v_PTA_CLM_CNT_78)
           PTB_CLM_CNT = DECODE(state_code,77,v_PTB_CLM_CNT_77,78,v_PTB_CLM_CNT_78)
     WHERE run_dt = v_in_parm_dt;
    
  • Source of the logical table for a measure in OBIEE 11 g!

    Hi all

    Can you help me with the following scenario please.

    For example, we have a metric of revenue that has 2 LTS - an annual level and the other at the quarterly level.

    We sometimes use the measure of income in the analysis. How the BI server will know what LTS to hit for data?

    Thank you very much in advance!

    -Ajay.

    It will take the LTS with the priority level set low. If the LTSS is the same level of priority that you want to create and define a hierarchy of dimension (year, quarter, month, date on your time Dim) and set your LTSS on appropriate levels. If you count the rank is defined by level in your SUN, the repository will choose most appropriate source (less records) for the request.

  • Clip of MultiCam, but with audio from SEVERAL sources at the same time?

    I recorded a seminar using several audio and video sources. Audio sources include a wire tie, room microphone and read directly from a computer.

    I got all the raw materials imported into FCPX and created a multicam clip, and everything is synchronized perfectly.

    For the video, I know how to make the cut between my different cameras.

    But for audio, I would be able to play several audio channels at once - namely, lapel mic and the mic to the audience. How can I do this?

    I know I could put the multicam audio clip: setback (for example) then also drag the microphone to the audience for the game. But that means every time I make an edit, I have to make it through two sources and must be absolutely sure that they fall never out of sync.

    I guess I could drag the multicam clip in the timeline twice (one above the other, so two are playing simultaneously), with a video source set to none. But the same problem - I always have to be very careful with the changes, two parallel versions never move out of sync.

    Is there a better way to do it?

    There are also sometimes I can do some automation of the volume of the different channels... so everything what you are proposing, please keep this in mind.

    Thank you!

    In fact with a multicam clip you need not "stuff" to work with multiple audio. It has excellent support directly in the application.

    See Steve Martin explain this: https://www.youtube.com/watch?v=HE4FRDMJBS0

  • Several flat_files through the external table with only the common columns of loading

    Hi, I have 50 flat files and each of them have some columns (fields) common and I need to load only the fields that are common to an external Table. Is any chance to do it with education unique external table. Or I need to load all flat_files at separate tables and then with the ETG and UNION load them only one table.

    If the page size for all the files are different, I think that your only option would be to define different external tables and create a view that joins all the.

    HTH
    Srini

  • Insert several rows in the data table table

    Hi all

    I have a requirement as to insert multiple rows in the table for this table data only (I need to replicate the data).
    In this table, the primary key is a composite primary key with all the keys.primary foreign key and the foreign key to the Date. I need to change that date to the insertion.


    INSERT
    IN myschema. Fact_page_performance
    (
    time_sk,
    Batch_ID,
    delta_msec,
    delta_user_msec,
    error_code_sk,
    content_errs,
    element_count,
    page_bytes,
    Available,.
    date_sk

    )
    VALUES
    (SELECT time_sk,
    Batch_ID,
    delta_msec,
    delta_user_msec,
    error_code_sk,
    content_errs,
    element_count,
    page_bytes,
    Available
    OF myschema. FACT_PAGE_PERFORMANCE_BACKUP
    WHERE date_sk = 20090509, 20090510
    );

    But it gives error like missing expression.
    Could someone please help me.

    Thanks and greetings
    Swetha.

    You can have either the VALUES or not SELECT the two

    INSERT
    INTO myschema.Fact_page_performance
    (
    time_sk ,
    batch_id ,
    delta_msec ,
    delta_user_msec,
    error_code_sk ,
    content_errs ,
    element_count ,
    page_bytes ,
    Available ,
    date_sk
    
    )
    SELECT time_sk ,
    batch_id ,
    delta_msec ,
    delta_user_msec,
    error_code_sk ,
    content_errs ,
    element_count ,
    page_bytes ,
    Available
    FROM myschema.FACT_PAGE_PERFORMANCE_BACKUP
    WHERE date_sk=20090509,20090510;
    
  • Compare several records in the same table

    Hello, I m writing a bat file so I can export information that I question.

    I have an automatic integration which checks from time to time if there is no new client´s and generates a trigger.
    If an error levonorgestrol I the process is repeated until the client is located in the database.
    I can't create tables or change the structure.


    My problem is that I need to compare the record more updated with the CLIENT_ID field
    Let me give you an example:


    Table A

    ERROR_MESSAGE CREATEDUSERID CLIENT_ID
    0 success 01/01/2009
    1 error 01/01/2009
    2 success 01/01/2009
    1 success 01/02/2009
    3 success 01/02/2009
    4 error 01/02/2009

    I need to compare "1" client created on 01/01/2009 this error gived with new records to see if there's success and my
    query should only return the client_ID '4' and export with sqlplus

    Could you please help me?

    Hello

    It works very well with my data.
    What data do you use? After a few lines of sample data (CREATE TABLE AS executable... or INSERT... statements are best) that give you wrong results.

    Make sure that everything is spelled correctly.
    For example, roughly halfway through the query, you say

    and io.status = 'Erro' 
    

    and at the end you say

    having max(decode(io.status, 'Error', 1, 2))  ...
    

    That is the same ("Error" or "Error") in both places?

  • How do delet several columns in the 2D table 0

    Dear Sir.

    Please tell me how delet 0 multiple column besuace zero of one by a column of delet take too much time. Here, I have attached the program with this message and the main file.

    Julian_prince wrote:

    Please tell me how delet 0 multiple column besuace zero of one by a column of delet take too much time. Here, I have attached the program with this message and the main file.

    How big are your real matrices? How do you measure the speed? How fast is now and how fast should it be?

    In all cases, you can do it with a single loop, for example as an attachment.

  • Cloned card scheme star in the same layer of MDB.

    I have an ID of a group of companies and SCHEMES in STAR billing with 8 dimensions-related. The STAR SCHEMA is responsible exclusively for incoming data EBS.


    But, due to the acquisition of another company, today I need to load data from a legacy system.

    To not create any impact on the existing and ETLs conflict of a code, we decided to clone all the star schema tables and load the data from legacy.

    To not generate inconvenience to users, we want these facts and dimensions (which have identical structures) arranged so that they appear unique.

    Example:

    fact_billing_holding

    -dimension_day

    -dimension_organization

    -dimension_vendor

    -dimension_consumer

    -dimension_transaction_type

    fact_billing_legacy

    -dimension_day_legacy

    -dimension_organization_legacy

    -dimension_vendor_legacy

    -dimension_consumer_legacy

    -dimension_transaction_type_legacy

    But you should see the structure like this:

    fact_billing_holding

    -dimension_day

    -dimension_organization

    -dimension_vendor

    -dimension_consumer

    -dimension_transaction_type

    How can I implement this solution / problem?

    Ferrara,

    When you want to combine several sources at the query level allow fragmentation for the dimension tables

    http://108obiee.blogspot.com/2009/01/fragmentation-in-OBIEE.html

    Thank you

    Angelique

  • What is the logical application of diff b/w and the physical query?

    Thank you in advance

    OBIEE logical query is how you query the BI server, presentation services sends logical SQL to the BI server, you can also write your own using JDBC, pull BI server using ODI etc.

    The BI Server engine takes this logical query and querie (s) phyiscal wrote (several) to satisfy the logical request, depeninding on how your layer MDB and physics is configured. There are a number of rules the BI server evaluates before deciding on the physical request more appropriate to generate rules include joins physical, tales of the aggregates / hierarchy levels and so on.

    Hope this helps,
    Good luck with the interview :-)

    Alastair

  • How to jump a line to insert in the staging table

    Hello world

    I'm actually transform data from a source table in the staging table and staged, and then at the final table. I generated a primary key using the sequence. As I put the insert method of the staging table as truncate/insert. So whenever the mapping is loaded, intermediate table is truncated and new data are inserted but as I am with sequence of intermediate table, it will give the new numbering of old data from the source table and it will be duplicated data in the target table. So for this reason I use key look up on top of some attributes of entry and that the use of expression that I try to avoid duplication. At each exit of the attributes in the expression, I'm trying the case statement

    "BOLD" CASE WHEN INGRP1. ROW_ID IS NULL
    THEN
    INGRP1.ID
    END * bold *.

    Because of this condition, I get the error message

    "BOLD"
    Warning
    ORA-01400: cannot insert NULL into ('SCOTT'. "" "" STG_TARGET_TABLE '. "" ROW_ID")
    "BOLD"

    But I'm stuck when the row_id value is zero, that that condition or statement should I write to jump the insertion of data. I want to insert data only when ROW_ID IS NULL.




    Kindly help me.

    Thank you

    Concerning
    Suhail Dayer

    You do not need identical tables to use LESS, only the 'select list' must match. Assuming you have the key of the enterprise (one or more columns that uniquely identifies a row of your data source) in the source and the final table, you can do the following:

    -Use a Set operation where the result is the key to the business of staging table LESS the key to the business of the final table
    -The output of the set operation is then joined to the staging table to get the rest of the attributes for these lines
    -The output of the join is inserted into the final table

    This will ensure that the lines with the new keys to the company are responsible.

    Hope this helps,
    Roald

Maybe you are looking for