determine the level of the hierarchy

Hi guys

I am able to identify the level of hierarchy using the blog of john

http://obiee101.blogspot.com/2009/03/OBIEE-identifying-hierarchy-level.html

but the problem now I get every time that I add another dimension column, then dim_level is empty...

to get the job of above problem, I dragged a new dimension to my table in MDB layer source and created the inner join to my table of basic facts using the general tab in the window source logical table... but still, I'm empty dim_level...

Please help me solve this problem

Thank you

Edited by: User0007 on June 28, 2010 04:46

Edited by: User0007 on June 28, 2010 06:23

Seems there was a part to join in the blog article in the missing item, you must add some dummy joints, I've updated the article. See: http://obiee101.blogspot.com/2009/03/obiee-identifying-hierarchy-level.html

Thanks for the comments!

concerning

John
http://obiee101.blogspot.com

Published by: John Minkjan, June 28, 2010 09:56

Tags: Business Intelligence

Similar Questions

  • Determine the hierarchy of objects based on the dependency.

    Hi all

    All packages in the database has invalidated due to a problem. You need to find the object hierarchy in oracle.

    Is it possible that I can the oracle object I the hierarchically based on the dependency?

    Is there a metadata table that stores this information?

    Example: Say, there are 10 packages. Package 1 depends on package 2 and 3-based package 2 and so on... and say package 10 is not dependent on.

    I need the list packages in the way below.

    Package of 10
    Package9
    Package8
    Package8
    :
    :
    :
    Package1

    Please let me know if you need any details.

    Thanks and greetings
    Nana Akkivalli.

    Something like this:

    select * from dba_dependencies where 1=1 and name ='PKGABC' and type = 'PACKAGE BODY'
    union all
    select * from dba_dependencies where 1=1 and referenced_name ='PKGABC' and type = 'PACKAGE BODY'
    

    Also look for
    deptree_fill in the oracle documentation

    http://docs.Oracle.com/CD/A57673_01/doc/Server/doc/ADG73/CH11.htm

    See you soon,.
    Manik.

  • Newbie question: Dimension of the hierarchy doesn't let me drag columns to levels

    Help.

    I am installing a new Dimension of the hierarchy in my repository OBIEE. It allows me to create a new dimension, and to set up the levels, but then it doesn't let me drag the columns above. I missed a step somewhere, but I don't know what.

    Steps to create a hierarchy of Dimension - >
    Create a dimension object.
    Add a parent level object.
    Add objects of child level.
    Determine the number of items.
    Specify level columns. -C' is where I'm stuck. I can drag columns from the fact, but not the size.
    Create level keys.

    B

    You can take the dimension columns from the dimesnion on which you created the hierarchy. You cannot extract columns of two dimensions in a hierarchy...

    Try to rebuild the hierarchy. Right-click on the dimension table and select Create dimension. All the columns in this dimension will be appera in the hierarchy. Then, you can create different levels and can drag columns of fall of hierarchy itself.

    Kind regards
    Sandeep

  • I would like to determine the levels of ink a printer 6122 with windows 7.

    I would like to determine the levels of ink a printer 6122 with windows 7. Attempt to use the abortd installation CD with the message "bad BONES". I installed the driver 990c work around according to the instructions from HP. It is another way to get the utility package that came on the 6122 install CD?

    Printing and scanning Dr. may not be able to detect if ink cartridges are not HP, HP inks no ink installed? You can try cleaning the contacts on the cartridges and power in cycling of the printer.

    To clean the contacts, you can reference this document from HP: print cartridge error.

  • Allowing entry of the value of a property at the level of the hierarchy and restricting to whole new level.

    Hi all

    I have two property definition Custom.Levelnumber and Custom.Allowattribute which are the goods as well as Local property node level.

    I want validation to restrict the user to allow any value for the Custom.Allowattribute property for any level of hierarchy other than level 6 i, e Custom.Levelnumber with the value 6.

    all other classes in the hierarchy must have an empty value for the Custom.Allowattribute property.

    Hi Madhu,

    Try this-

    If)

    Not (Equals (Integer, PropValue (Custom.LevelNumber), 6));

    Not (IsDefinedPropVal (Custom.Allowattribute, ABBREV (())).

    True)

  • Is it possible to create the formula at the level of the hierarchy?

    Dear all,

    In case, I've dimension branch consist of region, sector, branch

    And I have 3 measures Region_target, Area_target, Branch_target

    I want to create new metrics and check if members at the level of the regions, would like to show Region_target measures

    And also for the region and the target.

    So I tried to write the case where the formula, but impossible to refer to the level of the hierarchy, Ho can I do?

    Something like

    Case when the level. Branch_Hierarchy = region then Region_target

    When the level of . Branch_Hierarchy = area, then zone_target

    of other Branch_target

    end

    Please advise, my problem is to only synchronize the targets for each level. Target of all the branch cannot amount to area and target of any region cannot amount to the region.

    Please notify.

    Thank you

    What you're looking for, it's 'level based on measures '. Basically, you'll logical columns called 'Target' that has 3 sources from 3 LTSS - one for each level.

    LTS 'Target area' level 'Région' is the physical column "Region_target."

    LTS 'Target area' level 'Space' is the physical column "Area_target."

    LTS 'Branch target' level 'Branch' is the physical column "Branch_target."

    You are faced with one of the main features and capabilities of OBI: the power of the LTSS and levels in the business model and of the mapping layer. It is crucial to understand these concepts. It's what separates OBI of all other solutions out there.

  • Dynamically retrieve "rank" in the hierarchy to determine the next member to be inserted into the structure?

    Hello

    I have a hierarchy with the structures of members following leaves:

    Depending on which division they are ZEN-A, ZEN - B and C ZEN with 7 numbers after them.

    Is there a way to dynamically retrieve the Member in the ZEN-A, ZEN-B and C ZEN in three separate properties so that the user DRG can determine the next member must be added?

    For example, if I have a structure that looks like this:

    ZEN-A0000001
    ZEN-A0000002
    ZEN-A0000003
    ZEN-A0000004

    I want a property which would show the user DRG WHAT ZEN-A0000004 is the largest number so that he or she must insert ZEN-A0000005.

    Thank you!

    Hello

    How do you combine them?

    If something like this ParentABCD-AliasABCD

    Then, you can use the formula Concat to do the same thing:

    Concat ((HierNodePropValue (Hierachy2, ABBREV (), PropValue (Core.ParentName)))-, (HierNodePropValue (Hierachy2, ABBREV (), PropValue (Custom.AliasXXX))))

    Thank you

  • How to set a limit to the level of the hierarchy

    Hello

    I use a component of the hierarchy to show a family relationship between registers and I managed to make the Parent and the child of this profile, but I want to limit the level of the child to one, which means that I only want to show the direct Childs of this profile and not the child of a child of this profile.

    Is it possible to do?

    I use jdev 11.1.1.7.1

    Thank you

    You can add buttons/links in knots - and these buttons can manipulate the model that drives the HV and add/remove items.

    If you are looking for something that will allow you to 'paint' graphically relationships - take a look at the diagram component:

    http://jdevadf.Oracle.com/ADF-richclient-demo/faces/feature/diagram/index.JSPX

    https://docs.Oracle.com/CD/E50629_01/ADF/DVTTR/tagdoc/dvt_diagram.html

    https://pinboard.in/search/u:OracleADF? query = % 3Adiagram dvt

  • OBIEE BI answers: measures bad aggregation at the top level of the hierarchy

    Hi all,
    I have the following problem. I hope to be clear in my English because it is somewhat complicated to explain.

    I did following:

    ID of drugs classified in quantity
    1 9
    2 4
    1 3
    2 2

    and drugs following table:

    Drug brand Id brand Description drug whose active ingredient Id drug whose active principle Description
    Aulin Nimesulide 1 1
    2 Asprina 2 Acetilsalicilico

    In AWM, I've defined a Dimension of drugs based on the following hierarchy: drug whose active ingredient (parent) - brand name of medication (sheet) mapped as Description:

    The active ingredient of drug = drug Active ingredient Id of my Table of drugs (pharmaceutical = Description of the active ingredient LONG DESCRIPTION attribute)
    Pharmaceutical brand Description = drug brand Id of my drugs Table (LONG DESCRIPTION = Description of drug brand attribute)

    Indeed, in my cube, I have traced pharmaceutical leaf-level brand Description = Id of the drug of my fact table. In AWM drugs Dimension is mapped as Sum aggregation operator

    If I select on answers drug whose active ingredient (parent of my hierarchy) and the quantity, in my view, after the result

    Description of the active ingredient drugs classified in quantity
    Acetilsalicilico 24
    Nimesulide 12

    indeed of the correct values

    Description of the active ingredient drugs classified in quantity
    Acetilsalicilico 12
    Nimesulide 6

    EXACTLY the double! But if I dig drug Description of the active ingredient Acetilsalicilico I can't see correctly:

    Drug whose active ingredient Description pharmaceutical brand classified in quantity Description
    Acetilsalicilico
    -12 Aspirina
    Total 12

    Aggregation of evil is only at the top level of the hierarchy. The aggregation on the lower level of the hierarchy is correct. Perhaps the answers also amount Total line? Why?

    I'm frustrated. I ask your help, please!

    Giancarlo

    OK your on 10G but the view of the cube and the obligation to limit the levels in the LTS in the RPD is valid in both.
    I think we found the problem,
    Go to each source logical table this logic table (x 2 in your case you have two levels) and on the content tab, window background ' use this "Clause Where" filter to limit the rows returned. »
    Open the expression builder, locate LEVEL_NAME according to your cube and limit accordingly, it is to say LEVEL_NAME = "BRAND_DESCRTIPION" for the aggregation BRAND_DESCRIPTION LTS and LEVEL_NAME = "XXXX" in detail, SFF, where XXXX is the name of level of hierarchy in your cube for details (leaves) records.

    Can you try that and let us know?
    Thank you
    Alastair

  • Why don't I have a green exclamation point on one of my vi in the hierarchy of VI?

    Hi seafood

    Stay of execution


    Suspend execution of a Subvi to change the values of
    controls and indicators, to control the number of times that the Subvi is running
    before you return to the caller, or return to the beginning of the
    the Subvi execution. You can get all calls to a Subvi
    with the suspended, or you can suspend a specific call to a Subvi.

    To suspend all calls a slot - VI, open the Subvi and select Operate"
    Suspend when it is called
    .
    The Subvi suspends automatically when another VI calls it. If you
    Select this option when single-no, the Subvi does not suspend
    immediately. The Subvi suspended when it is called.

    To end a call specific Subvi, click the Subvi on the block schema node, and then select node Subvi
    The installation program
    in the context menu. Check the suspend when it is called to suspend enforcement only to this instance of the Subvi.

    "The window of the Hierarchy of VI , which view you by selecting view" VI hierarchy.
    indicates if a VI is interrupted or suspended. An arrow glyph, shown as
    as a result, indicates a VI runs regularly or not not unique.

    A glyph break, shown below, indicates a VI interrupted or suspended.

    A green break glyph, or a hollow glyph in black and
    White, shows a VI that stops when it is called. A glyph of Red break, or a
    Glyph of solid black and white, shows a VI that is currently
    pause. A glyph of exclamation point, shown below, indicates that
    the Subvi is suspended.

    A VI can be suspended and stopped at the same time.

    Determination of the current Instance of a Subvi


    When you hold a Subvi, calls list
    pull down menu in the toolbar list the chain of callers of the
    first level VI down to the Subvi. This list is not the same list you see
    "When you select go" callers to this VI, which lists asking them all screws regardless of whether they are running. Use call list
    menu to determine the current instance of the Subvi if block
    diagram contains multiple instances. When you select a VI in the menu calls list , its block diagram opens, and LabVIEW highlights the current instance of the Subvi.

    content above http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/debug_techniques/

  • Question re: display globals in the hierarchy of the vi

    I am an older (LV2009) application debugging which was written by another developer and includes a large number of global variables (~ 100).   When I discovered the hierarchy VI for the (rather large) VI of high level and I have the option "Include Globals", I notice that the icons for the various globals generally - but not always - have a number superimposed on them.  It does not correlate with the number of callers, the number of institutions, or level in the hierarchy, so I'm curious to know what it is supposed to represent?  Seems like this should be a trivial matter that it is easy to find an answer to, but I checked the forums help and discussion of LV and found exactly so far nada.

    Can someone enlighten me?

    Bob_Schor wrote:

    When you create a Global Variable, you end up saving them as a VI, with the default name Global 1(vi).  As with every VI that creates LabVIEW, it creates a default icon, and as it does for all the default icons, he assigns a number, starting with 1.  If you create several Global screws in a single session of LabVIEW, the default icons will be numbered 1, 2, 3...  However, if you stop LabVIEW after you have created the global with global icon 1, and then restart LabVIEW and create another world, its VI (which must have a different name) will have the same global icon 1.

    Bottom line - do you a favor and change the default icon LabVIEW to create so that the icon means something to you.

    BS

    In fact, I think that the OP has already done this.  I think it's the reason for the confusion in the first place; the OP was not used to seeing a default icon.  In fact, I was momentarily confused until I created a world as an experience.  Then I got a good laugh.

  • How can I determine the version UEFI implemented by the firmware of a PC?

    I found several ways to determine the version of the firmware/BIOS on a PC – for example mine is FRIEND v8.15 (05/02/2013).

    But is there anyway to determine which version of the UEFI is implemented by this firmware?

    I tried to find a description of the FRIEND v8.15 which maybe provided this information, but has not been successful.

    As a last resort, I considered as written to the company - but before that, any other ideas you have are appreciated.

    Hello

    Windows 7 doesn't support secure boot.  A lot of settings in the BIOS to do still get Windows 7 to boot UEFI mode as well as the support of compatibility (CSM) model in the BIOS offers the correct BIOS options.

    Frankly, I wouldn't buy a W7 PC delivered these days here as W10 is a great OS. If you have an application that proved not to be compatible with W10 then run it in compatibility mode.

    I've not seen many cases where different levels of BIOS are available for W7 or W8 and W10.  However, you might find instances where the BIOS runs only in UEFI mode.

  • How to determine the amount of ink in the cartridge of 920 ink

    I'm operating a HP OfficeJet 6500 has more with HP 920 cartridges. The operating system is Windows XP. How to determine the amount of ink in the cartridges. I get a "low ink" memo of the printer, even if it's too late.

    Hello

    In the menu, press the right arrow once, then you should see an icon 'meter ink' it will show you an estimated ink level.

  • Determine the available bluetooth audio

    Is it possible to readily determine whether or not there is a device connected bluetooth audio? Basically, I just want to know if I'll be able to call something like:

    audioPathControl.setAudioPath(AudioPathControl.AUDIO_PATH_BLUETOOTH);
    

    or

    audioPathControl.setAudioPath(AudioPathControl.AUDIO_PATH_BLUETOOTH_A2DP);
    

    Forgive me if this has been answered elsewhere - I searched the forums and KB and can't find anything. I can be looking in the wrong place.  I think that I know enough about not the bluetooth works.  I have to call BluetoothSerialPort.getSerialPortInfo () and look through it to determine the abilities? What I even look?  Or y at - it an easier way?

    Thank you

    -Joe

    I tried to do something in the past - in my tests, I think that on a device of the 4.5 OS, I see not yet headset devices or Audio, when I used BluetoothSerialPort.getSerialPortInfo (), I believe the provided RIM API will filter these devices it does not connect to or think that you can connect to.  Since she expects the device to support the Serial Port profile, unless the device speaks actually this profile, I do not think that you will see.  That's good, if I understand correctly, that senior level profiles are all species of casting on

    I would recommend that you look at JSR 82 and peripheral and discovery service to try to find these devices.  Now, there are samples on the Web that should help you with this.

    I don't have the time just at this moment to do the testing for you, but if you have something specific that I can test quickly, let me know.  Also I would like to know if this is not clear.

  • Add the hierarchy to the dash prompt

    Hello

    I have a question

    I created the analysis:

    And add filters:

    And I add the hierarchy of categories of purchases to prompt dashboard:

    But when I open a dashboard and choose an option in the command prompt, for example:

    Nothing happens:

    Do I need something additional set or If there is even an option use a hierarchy in command prompt ?

    Hello

    When to use a hierarchy as a guest you don't filter the analysis by setting "is invited" at all levels but you add the hierarchy in the analysis and using the stages of selection, you set it can be replace by the guest. "

  • How to write this query in the hierarchy

    Hi gurus,

    Really need your help on this query.  Thank you very much in advance.

    SELECT
      t1.key as root_key ,
    (SELECT
          t2.unit_id AS unit_id 
          level-1 AS level ,
          t2.name,
          t2.creator
        FROM
          tab t2
          START WITH t2.unit_id       =   t1.unit_id            -----check each node as root
          CONNECT BY prior t2.unit_id = t2.parent_unit_id
    
      )
       t1.name as parent_unit_name
    FROM
      tab t1
    

    I'll write a query of the hierarchy as above, and that EACH line (node, totally more than 10200) is checked as root node to see how many sheets are accessible for her... It must be implemented in a single query.

    I know inline query should NOT return multiple rows or multiple columns, but the inline elements are necessary and can certainly be made in a correct solution.

    (env):

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    PL/SQL Release 12.1.0.2.0

    )

    Test data:

    select 1 as unit_id, null as parent_organization_unit_id, 'U1' as name from dual
    union all
    select 2, 1, 'U2' FROM DUAL
    UNION ALL
    SELECT 3, NULL, 'U3' FROM DUAL
    UNION ALL
    SELECT 4, 3, 'U4' FROM DUAL
    UNION ALL
    SELECT 5, 2, 'U5' FROM DUAL
    UNION ALL
    SELECT 6, 5, 'U6' FROM DUAL
    UNION ALL
    SELECT 7, 6, 'U7' FROM DUAL
    UNION ALL
    SELECT 8, 5, 'U8' FROM DUAL
    UNION ALL
    SELECT 9, 5, 'U9' FROM DUAL;
    

    Final result should be like this

    key unit_id,    level,   name, parent_name
    1    1    0    u1      u1
    1    2    1    u2       u1
    1    5    2     u5      u1
    1    6    3     u6      u1
    1    7    4    u7       u1
    1    8    3    u8       u1
    1    9    3     u9      u1
    2    2    0     u2       u2
    2    5    1      u5       u2
    2    6    2     u6       u2
    2    7    3      u7      u2
    2    8    2      u8       u2
    2    9    2      u9       u2
    
    

    Don't know how get you your output, it does not match your data...

    with tab as)

    Select 1 as unit_id, null as parent_organization_unit_id 'U1' as the name of double

    Union of all the

    Select 2, 1, 'U2' FROM DUAL

    UNION ALL

    SELECT 3, NULL, 'U3' FROM DUAL

    UNION ALL

    SELECT 4, 3, 'U4' FROM DUAL

    UNION ALL

    SELECT 5, 2, 'U5' OF THE DOUBLE

    UNION ALL

    SELECT 6, 5, 'U6' OF THE DOUBLE

    UNION ALL

    SELECT 7, 6, "U7" OF THE DOUBLE

    UNION ALL

    SELECT 8, 5, 'U8' FROM DUAL

    UNION ALL

    9. SELECT, 5, 'U9' FROM DUAL

    )

    Select dense_rank() key (order by connect_by_root unit_id), unit_id, level - 1 as 'LEVEL', connect_by_root name root_parent_name

    t tab

    Start with parent_organization_unit_id is null

    Connect prior unit_id = parent_organization_unit_id

    KEY UNIT_ID LEVEL ROOT_PARENT_NAME
    1 1 0 "U1".
    1 2 1 "U1".
    1 5 2 "U1".
    1 6 3 "U1".
    1 7 4 "U1".
    1 8 3 "U1".
    1 9 3 "U1".
    2 3 0 "U3".
    2 4 1 "U3".

Maybe you are looking for