Two Hierarchys of Dimension based on a single logical table

Is it possible to have two dimesion hierarchys based on a single logical table? Suppose we have the following case:

Accounts table
Code
Name
Category
Subcategory
Level 1
Level 2
Level 3

I would like to have a dimension Total > category > subcategory > Code and a Total > level 1 > level 2 > level 3 > Code, so I can navigate on both tracks. Is this possible?

Thanx

Yes, the trick is to have the same key on the level low in your hierarchy.

concerning
John
http://obiee101.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • Several Sources of data in a single logical table

    I'm new to OBIEE and I encountered a problem. I apologize if this information is in the forum somewhere, but I've searched and can't find it.

    My situation is that I would have a logical table that contains multiple sources of data, which all have the same columns. I already have the configuration of session variables to differentiate the security of the user through the variable for a specific column and a session variable to another column that determines the association of the user with the data source to which they belong to. This security works well when the data sources are separated in the business model and mapping party, but the question that arises is that the user cannot share reports when data sources are separated in the BM & M.

    I slipped and fell on a table in the physical model to the BM & M, I dragged then the second source of data (with the same meta data structure) on the "Sources" folder in the first data source table into the BM & M. on the content tab or each table data source, I've defined as WHERE clause where VALUEOF (NQ_SESSION. ("" SCHOOL session variable ") is my filter in the column and VALUE (NQ_SESSION. ("" GROUP filter ') is my critical data source:

    sandbox. ». SANDBOX. OBIEE_CROSS_ENROLLMENTS. HOME_SCHOOL = VALUEOF (NQ_SESSION. ("" SCHOOL ") AND sandbox. » ». SANDBOX. OBIEE_CROSS_ENROLLMENTS. DATA_SOURCE = VALUEOF (NQ_SESSION. "" GROUP")"

    Unfortunately that returns the values in the BI responses for the first drag and drop material table in the BM & M layer and not the second drug physical table in the folder 'Sources '. I also tried to create a new logical table and drag two tables in the "Sources" folder without success. I have experimented with the Fragmentation in the tab "Content" of the separate logical tables, checking the "this source must be combined with other sources at this level", which gives me an error in the responses of BI that there is no such thing as a column which has really.

    What might be missing? Thank you in advance to those who respond.

    Thank you

    Kyle

    Do not check the box "this source must be combined with other sources at this level", otherwise, it will always take the first logical table source. If you need to get rid of the error message. Are you sure that you have mapped all the columns on every logical table source?

    Maybe this article helps you to:
    http://www.rittmanmead.com/2007/06/19/OBIEE-data-modeling-tips-2-fragmentation/

    Kind regards
    Stijn

  • A single logical Source VS. multiple Table logic Source

    When is it appropriate to use a single Table Source VS. multiple logic logic Table Source.

    Single logical Table source: Dimension or fact table extension of fact, related data or in more than one table
    Several logic Table Source: loved fact and aggregated with similar data implemented with different granularity

    Score pls correct/good

  • create a business model when there is only a single source table

    Hello
    How to create a business model when there is only a single source table in the physical layer



    Concerning
    Swathi

    It is very well possible and feasible. His name as a single Table model. Good example is HIS domain system where we have just one physical source. No need to create aliases in physics. Just use the same table twice in the MDB with a single logical table as a model made... As for example the number of users (aggregated). Then apply normal complex participate MDB and present in the presentation layer.

    http://gerardnico.com/wiki/dat/OBIEE/single_table_model
    http://gerardnico.com/wiki/dat/OBIEE/sasystem

  • values based on the following logic 'values after the first values of two '_' and before last '_' values '.

    Hi all

    I need the values according to below 2logics in a single select query using instring and substring

    1 values based on the following logic 'values after the first values of two '_' and before last '_' values '.

    2 values based on the following logic 'values after the first values of two '_' and before last'-'values '.

    EXM:

    Entry: ABCD_EFGH_IJKLM - NOPQ_XYZ output: IJKLM - NOPQ

    Entry:. ABCD_EFGH_IJKLM - NOPQ output:IJKLM

    Thank you.

    Check the following

    WITH DATA1 AS

    (SELECT "ABCD_EFGH_IJKLM - NOPQ_XYZ" double val)

    UNION ALL

    SELECT 'ABCD_EFGH_IJKLM - NOPQ' double val

    )

    SELECT SUBSTR (VAL, INSTR(VAL,'_',1,2) + 1, DECODE (BIGGER (INSTR (VAL, '_',-1, 1), INSTR(VAL,'-',-1,1)), INSTR (VAL,'-', - 1, 1), LENGTH (VAL) + 1, INSTR (VAL, '_',-1, 1))-(INSTR (VAL, '_', 1, 2) + 1))

    OF DATA1;

    Concerning

    Salim

  • All dimension values must be single line values

    Hi all

    I have a dimension long_description attribute mapped to a column of text that contains a character "/ n". When I try to load dimension I get following error.


    An error occurred on the server
    Class of error: failure of the Express
    Server error descriptions:
    INI: error creating a generic Manager definition to < BuildProcess > TxsOqConnection::generic
    INI: XOQ-01600: OLAP DML error "ORA-34052: all the dimension values must be single line values." while executing DML 'SYS. AWXML! R11_COMPILE_ATTRIBUTES('TEST.) DIMENSION') ', generic for TxsOqStdFormCommand::execute '.

    If I delete the mapping between my column of text in the description attribute long size loads very well.

    It was happening because my text column contains several lines? text seems valid for reporting purposes (I mean having several lines)

    Thank you
    Dietsch.

    Analytic workspace dimensions do not support dimension members that contain new lines. This assumption is so integrated in language OLAP DML that it is difficult to see how it could ever be changed. Therefore, you cannot map a level (or hierarchy) key to a column that contains values to the new lines. But in your case you map an attribute, not a level key, so the error message is confusing. The problem is that your long description attribute is "indexed", which means that it is implemented using a DIMENSION and a RELATIONSHIP rather than a VARIABLE. To illustrate, I created a dimension named TEST with two levels, A and B, and one attribute, LONG_DESCRIPTION. The page of an attribute in AWM has two check boxes 'Create columns in views level attribute' and 'Index' that control how the attribute is being implemented.

    This is what is created in the AW if both are false.

    ->listnames like '%TEST%LONG%'
       1 VARIABLE
       ---------------------
       TEST_LONG_DESCRIPTION
    

    This is what is created if "Index" is checked.

    ->listnames like '%TEST%LONG%'
       1 DIMENSION                    1 VARIABLE
       ----------------------------   ----------------------------
       TEST_LONG_DESCRIPTION_INDEX    TEST_LONG_DESCRIPTION_STORED
    
       1 RELATION
       ----------------------------
       TEST_LONG_DESCRIPTION
    

    And here's what you get if you check "create columns for the level attribute of views."

    ->listnames like 'TEST%LONG%'
       2 DIMENSIONs                     3 VARIABLEs
       ------------------------------   ------------------------------
       TEST_A_LONG_DESCRIPTION_INDEX    TEST_A_LONG_DESCRIPTION_STORED
       TEST_B_LONG_DESCRIPTION_INDEX    TEST_B_LONG_DESCRIPTION_STORED
                                        TEST_LONG_DESCRIPTION
    
       6 RELATIONs
       ------------------------------
       TEST_A_LONG_DESCRIPTION
       TEST_A_LONG_DESCRIPTION_HIER_U
       TEST_A_LONG_DESCRIPTION_UNIQUE
       TEST_B_LONG_DESCRIPTION
       TEST_B_LONG_DESCRIPTION_HIER_U
       TEST_B_LONG_DESCRIPTION_UNIQUE
    

    The thing to note is that if you check one of these boxes, then your attribute is implemented by using a dimension of AW and AW relationship. This gives a good performance, but imposes the limitation that your attribute values cannot contain newlines. The obvious solution is to uncheck both boxes so that your attribute is implemented as a VARIABLE. If you absolutely have indexed attributes, so I guess you can use the SQL REPLACE function to change the new lines in escaped to the mapping layer

    GLOBAL > select REPLACE('a
      2  b', '
      3  ',
      4  '\n')
      5* from dual
    /
    
    REPL
    ----
    a\nb
    
    GLOBAL > select REPLACE('a\nb', '\n','
      2  ')
      3* from dual
    /
    
    REP
    ---
    a
    b
    

    You must convert the escape sequence in a new line endangered.

  • All the dimension values must be single line values

    I created a Simple hierarchy with the following levels:

    Category
    Subcategory
    Agenda

    The mapping of the hierarchy above is based on a table where the column list are as follows:

    ITEM_KEY
    NOM_ELEMENT
    BRAND_KEY
    BRAND_NAME
    CATEGORY_KEY
    CATEGORY_NAME
    SUBCATEGORY_KEY
    SUBCATEGORY_NAME


    Item_key is the primary key for this table and nom_element is also unique.

    When I maintain this dimension, the following error occurs:


    An error occurred on the server
    Class of error: failure of the Express
    Server error descriptions:
    INI: Error creating a generic Manager definition to < BuildProcess > TxsOqConnection::generic
    INI: XOQ-01600: OLAP DML error "all dimension values must be single line values." while executing DML 'SYS. AWXML! R11_COMPILE_ATTRIBUTES('ITEM.) DIMENSION') ', generic for TxsOqStdFormCommand::execute '.

    at oracle.olapi.data.source.DataProvider.callGeneric (unknown Source)
    at oracle.olapi.data.source.DataProvider.callGeneric (unknown Source)
    at oracle.olapi.data.source.DataProvider.executeBuild (unknown Source)
    to oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$ 1.construct (unknown Source)
    to oracle.olap.awm.ui.SwingWorker$ 2.run (unknown Source)
    at java.lang.Thread.run(Thread.java:595)

    The essential error is "all the dimension values must be unique row values", which means that the server tries to create a dimension of AW member containing a newline character. The error occurs under the SYS. AWXML! Procedure R11_COMPILE_ATTRIBUTES, which is where the attributes are indexed (i.e. transformed into dimension members). If my guess is that one of your attributes (likely mapped to a column _NAME) contains a new line.   The solution is to disable the indexing for that attribute.   In terms of AWM you must make sure the following boxes are not activated in the "Général" pane

  • Create the views level attribute columns
  • Index

  • Separator for set two sets of headphones to the port single external microphone on iMac

    We want two people appear on the screen even when talking to anyone else on Skype. Is there a splitter available that would allow me to set the two sets of headphones to the port single external mic so that we can use the headset mic and get good sound quality?

    All divisor inexpensive listener should be able to do, for example that I found on Amazon:

    https://www.Amazon.com/Belkin-speaker-and-headphone-splitter/DP/B000067RC4/ref=s r_1_2? ie = UTF8 & qid = 1473882646 & sr = 8-2 & keywords = earpiece + separator

  • I want to connect two monitors, but there is only a single port VGA on my PC. How do I plug in the other?

    Only a single port VGA on my PC

    I want to connect two monitors, but there is only a single port VGA on my PC. How do I plug in the other?

    Friday, June 22, 2012 14:19:44 + 0000, CSAChi wrote:

    I want to connect two monitors, but there is only a single port VGA on my PC. How do I plug in the other?

    You must buy a second video card or replace the one you have
    with a card that takes in charge of two monitors.

    Ken Blake, Microsoft MVP

  • I signed up for CC. I don't know that this Dreamweaver will come into conflict with my older version of CS5. You can run two versions of the DW on a single computer?

    I signed up for CC. I don't know that this Dreamweaver will come into conflict with my older version of CS5. You can run two versions of the DW on a single computer?

    You can run two versions of the DW on a single computer?

    Yes.  Please do not duplicate messages.

    Nancy O.

  • How to calculate the sum of two digital form fields based on the selection of the checkbox.

    I have a form in Acrobat Pro who needs a custom calculation. How to calculate the sum of two digital form fields based on a selection of the checkbox. I have three number fields. Field-A and B are simple one or two digits. Field-C is the sum, or the total field. I want to field-C have a control box which, when turned on and off, just gives a. gives the sum of A + B

    _ Field - 2

    _ Field - A 4

    [check] _ _ field - 6 C

    [disabled] _ _ field - 2 C

    Thank you

    The custom field C calculation script could be:

    (function () {
    
        // Get the values of the text fields, as numbers
        var v1 = +getField("A").value;
        var v2 = +getField("B").value;
    
        // Set this field's value based on the state of the check box named "CB"
        if (getField("CB").value !== "Off") {
            event.value = v1 + v2;
        } else {
            event.value = v1;
        }
    
    })();
    

    Replace 'A', 'B', and 'CB' with the real names of the fields.

  • 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

  • The table can be outer joined to a single other table

    Hello

    Using oracle 11.2.0.3

    Select *.

    from tablea

    tableb

    tablec

    where tablea.col = tableb.col (+)

    and tablea.col = tablec.col (+)

    throws error table can be attached externally to another table.

    What is the best/recommended way to allow more than one outer join table?

    Thank you

    Hello

    Use ANSI join rating:

    SELECT *.

    FROM tablea a

    LEFT OUTER JOIN tableb b ON a.col = b.col

    LEFT OUTER JOIN tablec c ON a.col = c.col

    ;

    Are you sure the query you posted is really what you're running?  The query you posted shoulddn can't cause the error, because the tableb and tablec are each being only outside attached to 1 other table.  You get the error if the + signs were reversed in the two conditions.

    In any case, I suggest to use the ANSI syntax for all joins, especially outer joins.  You will never get the error "Table can be external attached to a single other table", and which is one of the reasons why it is better.

    I hope that answers your question.

    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • Bookmarks created automatically based on the word 2013 Table of contents.

    Bookmarks created automatically based on the word 2013 Table of contents.  In the earlier version of Word, the Style of the Table of contents built into bookmarks when PDFing.

    I thought about it.  There is a new check box, you must activate in 2013 of Word when exporting to PDF format that allows to convert the elements of bookmarks when PDFing.

  • Windows XP loses two monitor settings and returns to the single monitor after to be identified only by the windows... No reboot is

    To begin with, I am the HelpDesk of the company and our users are running Windows 7, Vista and XP. The problem will occur randomly on most XP and Vista systems.

    I'm beginning to believe that it is a computer problem to the extent of the material or something of this nature.

    For now, I swapped the computer and now the question is not fooled by the user.

    But in general I wanted to know why this happens. They will be blocked (not a stop) their computer to take a lunch break and when they return to log in order to return to work. They work on two monitors and for some reason, as the settings go back to the single screen...

    Why this keep happening? Help, please?

    Either way, I don't think it's a driver problem... Because I just run images on hard drives of all application users run and the problem occurs randomly.

    Thanks in advance for your response...

    Adolfo

    Hello

    The Microsoft Answers community focuses on the context of use. Please join the professional community of COMPUTING in the TechNet forum below

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro

Maybe you are looking for