Calculations using Physical Tables Tables vs logical

It is easy to find an example of when you do not use logical Tables instead physical Tables to create columns of fact in the repository. Any measure like the profit margin (i.e. profit / turnover) must be calculated in the logical Tables, so that the division operation occurs after dimensional aggregations are passed to the physical layer. In the example of (profit / turnover), using physical columns returns an incorrect result, because there first, the division operation, then all these results together in a nonsense value.

Yes, is there some kind of formula in which the opposite is true, as that would be the logical Tables use return an incorrect result, while the physical tables returns the correct result?

If this isn't the case, then under what circumstances we want to use the physical Tables instead of the logical Tables? Is there some type of formula that works better with physical Tables?

Hello

The physical vs. logical has an impact that you have already described:
Logic will be first group and then calculate.
This is the case with many measures just like your example sales/profit.

Physical will be first place calculate and then aggregate
For example, you have 2 measures: price per Article and the quantity sold. If you would now like to know how much money you made, you cannot combine these two measures and then multiply:
Price * quantity = sales
10 * 10 = 100
20 * 10 = 200
30 * 10 = 300
-------------------------------
60 * 30 = 1800

1800 is incorrect and should be 600. If you first do the calculations on a record level and aggregated then it will appear while 600.

Hope that it made it more clear.

Concerning

Tags: Business Intelligence

Similar Questions

  • OBIEE 11G - how to find automatically physical table using a report

    Hi all

    Is it possible to take a catalog of reports and retrieve the complete list of database tables that use these reports. Suppose I have a
    great list of reports may be 200 or more and I need to know what are the tables of these reports (analysis) are dependent on. Clearly, I could open an andextract the XML definition but I want to automate this process

    Best regards

    Benoit

    The XML definition does not have the physical database table - it doesn't even SQL logic.

    SQL logic is generated when executing of referral Services, which sends it to the BI server, which then decides what physical tables, it will hit. Even in this case, according to things like global navigation your report even likely face different DB tables depending on the State of the hierarchical columns etc.

    SampleApp includes some features that may be interesting for you - take a look at the dashboard page 10.21 physics of the Clause and see details on 10.11 (physical SQL Generator / physics of the Analyzer of the Clause).

  • Oracle 11 SPR: create 2 logical Tables based on 1 physical Table

    Hello

    I have a dimension table date in the physical layer. Since I need to create 2 dimension tables date in the MDB layer. One for the date of the order, and the other is for the shipping date. There is a ship_date_key and an order_date_key in my fact table that I try to use my foreign key.  Seems I can create a table of logic date arrived at the ship or a logical table of date joint command, but not both.

    Very new to the OBI administration tool.  Any help would be greatly appreciated.

    If you don't create an alias of the Date dimension in the physical layer, then you can get the data that one or the other Date of delivery or date order Details.

    The Date dimension data are retrieved based on the join is to tell which button it was joined to the fact.

    To resolve the ambiguity above, you must create two separate alias tables in the physical layer, so you will have two logical tables in MDB layer

    Create Dim_Ship_Date and Dim_Order_Date of the Date dimension.

    And now you can join the fact with these two aliases on different tones. This practice is usually followed.

    If deemed useful response

    -----

    Srikanth

  • Wharton are logical, physical table Logical data Source

    Hello
    Can someone explain me in details what Wharton are logical table, given logical physical Source table.
    Any help of qucik will be graetly appreciated

    In OBI, there are three layers - physical, Business Model and mapping (MDB) and presentation.
    As the name of the physical layer contain mainly the physical appearance of the application as what connection to use, what schema (also the catalogue in the case of SQL server) for you connect and also which table to use. This layer confirms joins PK_FK for related tables. This layer represents mainly how the data was stored in the database layer.

    On top of this layer, you will have layer MDB. The place where all the work a developer begins. You will structure the accourding of tables for the needs of the company. The structure must be a STAR schema. All the entities in this layer are called logical because they are not directly to a database object that they provides a logical mapping to database entities. This becomes obvious when you use more than a logic Table Source (LTS) for your logical tables. A logical column may map to the number N of physical columns according to the context. You can also create unusable columns in this layer, which are quite logical in nature.

    I do not write anything on the presentation layer as it is not in your question. :)

    Hope this will help.

    Kind regards
    Somnath

  • Help! Logical physical Table table - imported as fact table

    I am trying to create a logical table. When I drag the alias of the physical layer in the MDB, logic is created with the sign #. I think that it indicates as a fact table. I can't create a logical dimension of this table. How can I make the table come in a logic instead of a fact?

    Thank you for your help.

    1 > drag the physical Table in MDB. It will create a logical fact table in MDB Test for example.

    2 > duplicate this logical fact table. Another fact logical Test #1 table will be created.

    3 > select Test / Test No. 1 logical tables, and then right-click and select model for Business diagram.

    4 > create a new logical join between the Test and the Test #1 in MDB. Make sure that this Test: Test #1 cardinality is 1:M.

    5 > This will make the Test as a logical dimension table. Double-click the logical size Test table, go to the tab key and create a primary key.

  • Table repository - Business model - 10g OBIEE logical to physical table, column mapping is empty

    Hi, I'm really new to OBIEE 10 g.

    I've already implemented a database SQL Server 2005 in physics and import a vw_Dim_retail_branch view.

    The view has 3 columns: branch_id, branch_code, branch_desc.

    Now, I want to set up the business model to map this physical table (view).

    I created a new business model

    Adding new logic table Dim_retail_branch

    In sources, added the vw_Dim_retail_branch as a table source.

    But in the logical table source column mapping tab window, it is empty. I thought he should be able to identify all of the columns in vw_Dim_retail_branch, but no. The spectacle of the mapped column is checked.

    What should I do here? Each column type manually?

    Hello

    You can drag and drop the columns from the physical layer to layer MDB.

    Select 3 columns and drag and drop it to the logical column created in the MDB layer.

    For more reference: http://mkashu.blogspot.com

    Kind regards

    VG

  • Using the variable of physical table of type "select".

    Hello!

    I have to use the query as the physical table (in the Administration tool - http://file.qip.ru/file/120930377/8713693/1_online.html):
    SELECT ID, CODE
    FROM TABLE (pkg.output('1','2')) 
    This code works well. I need to insert instead of session variables of the ' 1 'and ' 2', parameters which will be fixed to the dashboard.
    How to set the variable in this query? As variants @{test} do not work.

    Good timing, Im bother with that now.

    use: "VALUEOF (NQ_SESSION.variable_name).

    don't forget the other single quotes as the substituted value is not quoted.

  • How to create multiple hierarchies from the same physical table

    Hi all

    I have a physical table to join with a fact table: there are 3 different hierarchies, which share the last 2 levels inside the dimension table. It's the logic diagram of hierarchies:

    Dimension services
    -Business
    -Sector
    -Type
    -Operator
    -Product
    Partner of dimension
    -Partner
    -Operator
    -Product
    Contractor of dimension
    -Contractor
    -Operator
    -Product

    All columns are in the same table physical source. I tried to create 3 table logic source from the same physical table, everyone with all the columns and create a hierarchy for each dimension table, but it gives me nQSError: 15011.

    Any suggestion? Maybe the physical table alias can help for the creation of tables of different sizes?

    Thanks in advance,
    Concerning

    Hello

    It is a basic rule that you cannot create multiple hierarchies in a single dimension table, so what you do is create three tables of alias and slip into MDB layer in 3 different sizes and on top these tables create 3 different dimension hierarchies.

    Check if useful/correct

    Thank you.

  • Its replacement by the view with a physical table... and then perhaps change its name

    Hi all

    Let's say I have a vision of "Select" as a source on the physical layer. Some time later, I decide to replace it with an ordinary table

    (1) simply changing Select for the physical Table won't be enough in table properties?

    (2) what will happen if I decide to go with a different name for this new table? (I guess that the administration tool would pick up the change and spread throughout of the MDB and presentation - but I try just to make sure)

    Well either you keep the fully qualified name of the object (i.e. change just where it points to the bottom) - in which case there is no need even to touch whatever it is above the physical layer - or otherwise you put the new table/view in place and then use the Admin Utility tool "replace column or logical Table Source Table" for let the wizard remapping for you.

    See you soon,.
    C.

  • Make error trying to 'Examining data' for some physical tables in SPR

    Hi all:

    I'm having a problem when you try to use "Show data" option for some physical tables RPD.  Note, when I use "the number of rows updated" is not question and the number of rows is updated correctly.   As I mentioned, the issue happening with little and NOT all tables in physics.

    Error I get is:

    "State SQL NQODBC: HY000 nQSError: 10058 a general error has occurred."  [nQSerror:43113] The message returned by OBIS.  [nqserror:43119] "Query failed: [nQSerror:43093] an error occurred during the processing of the statement Execute physical."

    Appreciate any comment about it.

    Thank you

    Delete the tables on what all you get and import each one separately, it will work.

    Check if helps,

    Thank you

  • As select physical table in the .rpd design

    When you create a physical table as a select statement, we can write the SQL as SELECT A, B, c... XXX etc.
    Problem is that it must then go to the COLUMNS tab and set each column... It's the kind of mistake very trendy and a lot of work...

    Is pls. possible to exploit the columns defined in the TABLE PHYSICAL alreaday somehow?

    TXS for any help.
    Antonio

    Hi Antonio,.
    You're not...
    (1) open real RPD and create a view by using the select query, do not add all columns.
    (2) create view in dev db.
    (3) create a new import file RPD view in the physical layer.
    (4) select columns in step 3 and copy
    5) stick to the real RPD on the selection of the "query" select object

    you're good to go.
    This would help you with all of the columns and their data types.

    I hope this helps.

    See you soon,.
    SVee

  • The use of tables

    Using
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - production
    PL/SQL Release 10.1.0.4.0 - Production
    "CORE 10.1.0.4.0 Production."
    AMT for 32-bit Windows: Version 10.1.0.4.0 - Production
    NLSRTL Version 10.1.0.4.0 - Production

    I'm trying to retrieve records from a database (a single table in this case) using three tables as keys. The table is unique to these three elements. The lines I want to come among a long list of more than 1000 points. I don't have the ability to create temporary tables on this server. So, I have three long lists and the first item in each list, when used in the WHERE clause in a SELECT statement returns an element. And the second points on these three lists will retrieve the next item.
    I can't just use IN clauses to find these items because they must be combined in the same order as they are on the three lists.

    I'm looking for something like this, but I'm running into syntax errors and other errors of logic.
    DECLARE
    
         TYPE Item1_List IS TABLE OF VARCHAR(5);
         TYPE Item2_List IS TABLE OF VARCHAR(3);
         TYPE Item3_List IS TABLE OF VARCHAR(1);
         myItem1 Item1_List;
         myItem2 Item2_List;
         myItem3 Item3_List;
    
    BEGIN
    --these three lists are much longer
         myItem1 := Item1_List('11011',
         '11011',
         '86842');
    
         myItem2 := Item2_List('001',
         '002',
         '001');
    
         myItem3 := Item3_List(NULL,
         'A',
         NULL,
         NULL);
    
    DECLARE
    FOR i IN myItem1.FIRST .. myItem1.LAST
    LOOP
         CURSOR c_cur IS
         SELECT 
         Item1,
         Item2,
         Item3,
         Item4
         FROM myTable
         WHERE
         Item1=myItem1(i) AND
         Item2=myItem2(i) AND
         Item3=myItem3(i);
    END LOOP;
    END;
    /
    Here I use samples to help, but so far I was not able to make it work:
    http://download.Oracle.com/docs/CD/B10501_01/AppDev.920/a96624/05_colls.htm

    Some ideas that I have is, perhaps, I should not be using a slider, that instead, I should retrieve these data in another table? The only thing is, I don't know how to make a table to several column :( Other than that, I'm at a loss, and I really hope someone can help :)

    Skip

    set your cursor might work

    DECLARE
       TYPE Item1_List IS TABLE OF VARCHAR (5);
    
       TYPE Item2_List IS TABLE OF VARCHAR (3);
    
       TYPE Item3_List IS TABLE OF VARCHAR (1);
    
       myItem1   Item1_List;
       myItem2   Item2_List;
       myItem3   Item3_List;
    
       CURSOR c_cur (pItem1 VARCHAR, pItem2 VARCHAR, pItem3 VARCHAR)
       IS
          SELECT Item1,
                 Item2,
                 Item3,
                 Item4
            FROM myTable
           WHERE Item1 = pItem1 AND Item2 = pItem2 AND Item3 = pItem3;
    
       v_c_cur   c_cur%ROWTYPE;
    BEGIN
       --these three lists are much longer
       myItem1 := Item1_List ('11011', '11011', '86842');
    
       myItem2 := Item2_List ('001', '002', '001');
    
       myItem3 :=
          Item3_List (NULL,
                      'A',
                      NULL,
                      NULL);
    
       FOR i IN myItem1.FIRST .. myItem1.LAST
       LOOP
          OPEN c_cur (myItem1 (i), myItem2 (i), myItem3 (i));
    
          FETCH c_cur INTO v_c_cur;
    
          LOOP
             IF c_cur%FOUND
             THEN
                NULL;                                          -- your coding here
             ELSIF c_cur%NOTFOUND
             THEN
                EXIT;
             END IF;
          END LOOP;
    
          IF c_cur%ISOPEN
          THEN
             CLOSE c_cur;
          END IF;
       END LOOP;
    END;
    
  • How to write the suspicion on physical table

    Hi all

    That's what I read on the creation of index in the physical table

    http://download.Oracle.com/docs/CD/E12096_01/books/AdminTool/admintool_PhysicalSetup32.html#wp1054719

    The Index indicator tells the optimizer to scan a specified index, rather than a table. The following hypothetical example explains how you can use the Index indicator. You will find queries on the table ORDER_ITEMS is slow. See you the execution plan of the query optimizer and find that the FAST_INDEX index is not used. You create an indicator of Index to force the optimizer to scan the FAST_INDEX index rather than the table ORDER_ITEMS. The syntax of the indicator Index is index (table_name, index_name)...

    index (table_name, index_name)

    What is the name of the array index in the Admin? I have no clue in the admin. Index created in db name should I give? Or just column name?

    Thank you

    JEP... the name of th index that you want to use the table

    KR,
    A

  • [59053] use of follow-up was stopped because the tracking of use specified table

    Immideatly after starting the server, I'm gettting this newspaper in the NQServer.log.


    [59053] use of follow-up stopped because the specified use following table contained an incorrect number of columns or a column with a type of inappropriate data.

    No idea how I know what table needs to update?

    Thank you

    -SJ

    Here are the details of the paintings I have in the scheme of follow-up to its use:


    CREATE TABLE 'RMI. "" S_NQ_ACCT ".
    ("USER_NAME" VARCHAR2 (128 BYTE),
    VARCHAR2 (128 BYTE) "REPOSITORY_NAME."
    VARCHAR2 (128 BYTE) "SUBJECT_AREA_NAME."
    "NODE_ID" VARCHAR2 (15 BYTE),
    TIMESTAMP 'START_TS' (6).
    TIMESTAMP 'START_DT' (6).
    'START_HOUR_MIN' CHAR (5 BYTES),
    TIMESTAMP 'END_TS' (6).
    "END_DT" TIMESTAMP (6).
    'END_HOUR_MIN' CHAR (5 BYTES),
    'QUERY_TEXT' VARCHAR2 (1024 BYTE),
    NUMBER (10,0) "SUCCESS_FLG."
    "ROW_COUNT" NUMBER (10.0).
    NUMBER (10,0) "TOTAL_TIME_SEC."
    NUMBER (10,0) "COMPILE_TIME_SEC."
    NUMBER (10,0) "NUM_DB_QUERY."
    NUMBER (10,0) "CUM_DB_TIME_SEC."
    NUMBER (10,0) "CUM_NUM_DB_ROW."
    'CACHE_IND_FLG' CHAR (1 BYTE) DEFAULT ' ACTIVATE NOT NULL,.
    "QUERY_SRC_CD" VARCHAR2 (30 BYTES) BY DEFAULT ",
    "SAW_SRC_PATH" VARCHAR2 (250 BYTES) BY DEFAULT ",
    "SAW_DASHBOARD" VARCHAR2 (150 BYTES) BY DEFAULT ",
    "SAW_DASHBOARD_PG" VARCHAR2 (150 BYTES) BY DEFAULT ",
    "PRESENTATION_NAME" VARCHAR2 (128 BYTES) BY DEFAULT ",
    "TEXTE_ERREUR" VARCHAR2 (250 BYTES) BY DEFAULT ",
    "RUNAS_USER_NAME" VARCHAR2 (128 BYTES) BY DEFAULT ",
    NUMBER (10.0) 'NUM_CACHE_INSERTED' DEFAULT NULL,
    NUMBER (10.0) 'NUM_CACHE_HITS' DEFAULT NULL
    ) PCTFREE, PCTUSED, INITRANS 40 10 1 MAXTRANS 255 NOCOMPRESS SLAUGHTER
    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)
    TABLESPACE "RMI_DATA";


    CREATING INDEX 'RMI. "' S_NQ_ACCT_M1 ' ON 'RMI. "" S_NQ_ACCT "("START_DT","START_HOUR_MIN","USER_NAME")
    PCTFREE, INITRANS 10 2 MAXTRANS 255
    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)
    TABLESPACE "RMI_DATA";

    CREATING INDEX 'RMI. "' S_NQ_ACCT_M2 ' ON 'RMI. "" S_NQ_ACCT "("START_HOUR_MIN","USER_NAME")
    PCTFREE, INITRANS 10 2 MAXTRANS 255
    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)
    TABLESPACE "RMI_DATA";

    CREATING INDEX 'RMI. "' S_NQ_ACCT_M3 ' ON 'RMI. "' S_NQ_ACCT ' ('USERNAME')
    PCTFREE, INITRANS 10 2 MAXTRANS 255
    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 DEFAULT USER_TABLES)
    TABLESPACE "RMI_DATA";



    CREATE OR REPLACE FORCE VIEW "RMI". "' NQ_LOGIN_GROUP ' ('LOGIN', 'RESP') AS
    Select USER_NAME DISTINCT as "LOGIN", as S_NQ_ACCT RESP. RUNAS_USER_NAME
    ;

    Published by: SachinJ on August 3, 2009 07:54

    Compare the S_NQ_ACCT table that you created with the structure of the table defined in the RPD under the 'Oracle Analytics use' database of physical layer object.

  • GPF using the Table control

    Hello world

    We use a table control to display the log files. Each row of the table represents a log file entry. In addition to that we have put in place

    Some filter chopsticks (string tonalite) to speed up filtering. This means that only the entries corresponding to these substrings are shown. So whenever the filter options

    changed to renew the contents of the table.

    This is done by DeleteTableRows, looking for entries to display, InsertTableRows and SetTableCellRangeVals.

    It works very well.

    But if we remove all the contents of the table (caused by the filter options) and then hit a button (even if the focus is on the table) you get a GPF on ProcessSystemEvents.

    This occurs only after inserting a large number of rows in the table before deleting all the. For example, a table with 5000 x 2 (rowsxcolumns) reduced to 0x2.

    1 create a table with 5000 x 2 (rows x columns) control elements.

    2 remove all lines

    3. press tab until the control panel to get the focus.

    4. hit Enter for example

    => Crash

    Someone has an idea? We have already 'dimmed' CTRL, but this is not enough to avoid that the focus on the table by pressing the tab key. So, which leads to an accident as well.

    Thanks for the help

    Philipp

    Yes, it is a known issue (396240), although it is not actually on time last updated known issues. Unfortunately there is no good solution, other than just by waiting for a version corrected to be released, which should happen soon.

    Luis

Maybe you are looking for

  • Wizard hardware fault.

    When I turn on my computer a "Found New Hardware Wizard" box comes to install "display". The wizard will search online for install and after a while in install it in "NVIDIA GeForce 6100".  He then asks me to restart my computer for the installation

  • Offline files tab is not visible in the Folder Options dialog box

    I'm setting up the synchronization of files offline on my desktop PC. I am running Windows XP Home Edition SP3 (32 bit). But there is no such thing as the offline files tab in the box of dialaog from the Optrions folder. I disabled the fast user swit

  • File elements & Office view Wingdings "names."

    All my files and office went from English to Wingdings. Tabs in Windows Explorer are also in Wingdings. Even if there is a setting to change I won't be able to read it because almost everything is in wingdings. All this happened after I downloaded th

  • BlackBerry Leap smart dial

    Can someone tell me how to use the smart dial? I live in England and my local dialling code is 0151 - what are the settings that I have to make it work?

  • Multiple instances of rundll32.exe in Windows 7 Premium using all RAM - no viruses detected by MSE but PC runs slowly

    Processor: AMD Athlon (TM) 9750 Quad-Core 2.40 GHz 4,00 (3.75 usable) GB RAM System: 64 - bit OS with Genuine Microsoft Windows 7 Premium (purchased separately with distributor online PC) At startup, there are three instances of rundl32l.exe with no