Formula to return the name of the hierarchy to another node

People,

I thought it would be easier explained with a mock excel upward. I hope you understand.

Background:

Two hierarchies are ministries, the two beeding seeded in diferent target system.  When a new Member is added in the TFTP hierarchy, she also will be added to the hierarchy of Essbase, but with a different number. Custom.EssbaseName is in the TFTP hierarchy and contains the Convention of naming its equal TFTP Essbase.

I need to create a property derived for my Essbase hierarchy. This property must evaluate each node in the hierarchy of Essbase, he must go to the TFTP hierarchy and finds its node name as the value in the Custom.EssbaseName property and then return its name of node TFTP.

Please see the cells in gray, I hope that some of you are able to help this pressing issue!

Hello

Assuming you'd be on 11.1.2.3 and above all, try this.

var worm is node. Version;

var essnodename is node. ABBREV;

var esspropval ="";

var psftHier = worm. HierByAbbrev ("TFTP");

var psftTop = psftHier.TopNode;

var arrpsft = psftTop.GetDescendants ();

for (idx = 0; idx<>

esspropval = arrpsft [idx]. PropValue ("Custom.EssbaseName");

{if(esspropval==essnodename)}

return arrpsft [idx]. ABBREV;

}

}

Return ' ';

I would like to know if it works.

Thank you

Denzz

Tags: Business Intelligence

Similar Questions

  • return the value in another field

    Hi all. first I don't want anyone to laugh this is my 1st week with the 10g xe with application express 3.2
    in any case, I have a question
    I have 2 fields in a form that gets information from an another table (customers table) the first field is the name of the customer. which is easy I make a list of selection and display the value of the customer name and return the ID of the customer
    now I have another field in the form which is the region of the customer. I would like to be automatically generated from the table to the customer based on its ID, we chose earlier and I don't want it to be editable manually by the user.

    Please wait more stupid questions in the next 24 hours: D

    Mr. brainwash.

    Change your selection list to select using submit. This way when the value changes the page submit and information will be updated. Second, go to the properties of the item to your customer area and change the Source used to always substitute, the Source of the element of SQL query and finally in the value of the Source element, use a query that looks like this:

    SELECT region             -- region field
      FROM customers          -- your customers table
     WHERE id = :P150_CUST_ID -- this would be the bind variable for your select list.
    

    See you soon,.

    Janet Tyson

  • How can I get a formula refer to the text in the cell rather than the data?

    I've formatted some cells to show 0 if the calculation is a negative number, but how do I get another formula using the value 0 (rather than the negative number that is in the data) when calculating?

    This one is stumping me!

    HI WS8,.

    Formulas will use the value in the cell. A 'format' only controls what is displayed and does not change the actual value contained in the cell.

    If you want a formula for use 0 in which case the actual value in the cell is negative, you will need to do one of the following:

    1. Revising the formula to create the value in the source cell to return a zero if the calculated value is less than zero:
      = MAX (0,formula)

      OR

    2. Revise the formula that returns the value in this cell (B2 in the example below) to convert values less than zero to zero.
      Current formula: = B2 * 1 k
      Revised formula: = (MAX (0, B2) * k)

    Kind regards

    Barry

  • Why is the "Called" property returns a name with *: Instance: 0?

    I'm building a VI that returns a list of all the side screws and their auxiliary screws, etc., a given top-level VI.  I first open a reference giving the path to the top-level VI, and then use the property 'Called' to get the subVIs. I then (in a loop) get all each Subvi conscripts by opening a reference using the name of the previous output called string. I noticed something when I ask for conscripts by the string name of XYZ.vi, that I get all its subvis, but I also have a XYZ.vi:Instance:0 name returned. What is the purpose of the proceeding: 0 and why is it happening? I like understand why Instance: x would never get added to the name, and also why VI would return his name in the property called? The VI is not defined as re-enterent or calling themselves dynamically or anything like that.

    Hope someone can explain that.

    Thank you

    James

    Hi ejb068,

    Hello and I hope that your well today.

    I continued to study your issue now I am back in the office, with my LabVIEW machine and resources OR. I concluded and also since found a confirmation of this issue.

    For a first level VI which has a few express screws on its block diagram, the names of the callee property currently includes a single instance of the upper level for each express VI VI.
    For example, if a VI has two ExpressVIs in the block diagram. The property called node will return two instances of the toplevel VI.

    First level VI = mainVI.vi

    Express VI = delay

    Result name called: mainVI:Instance0 (number lists according to the order screw Express are deleted from the diagram.)

    : first level VI name: InstanceX

    The problem is if you use VI server that this name is not valid - and causes a VI Server error. So I think it would be pretty safe filter these names.

    Please let me know what you think,

  • Columns of folder: by default, how can return the first column 'Name' without having to move it manually every time?

    Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4

    http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions

    It will be useful.

  • PowerShell - returns the name of the model of a virtual computer running

    Anyone know / got the (powershell) command to return the name of the model of a virtual machine?

    Sorry, I couldn't make it work. In the near future, we'll miss vW 8.6, I'll try again then.

    For now I fixed it with the HyperV 2012 R2 cmdlets

    $VMTemplate = ((get-VM-nom $VM).) ID | Get - VHD). ParentPath

    I've split and convert the correct model name.

  • Place SelectedPlace name attribute selector control does not always return the name as the url of the map

    Hello.

    When I search for and select a place from the UI of the PlacePicker, then function name() the class' SelectedPlace returns the name of the place. But this name isn't blue, when I show on a text box so that when its clicked it opens the card upward and show this place. But when I select the location by clicking the default button "my position", it shows my position as ' 446, Philip St, Warloo, ON, Canada,"which is blue color when displayed in the TextArea component. How can I also do the name formatted as it is formatted when chosed through the option 'my location '?

    Also my site is not canada. It is Bangladesh. So why it shows canada?

    My implementation is

    placePicker = new PlacePicker(locationRuleAddPageContainer);
        selectedPlace = placePicker->show();
        if (selectedPlace != NULL)
        {
          // Extract details from SelectedPlace object.
            locationText->setText(selectedPlace->name().append("\nLatitude: ").append(QString::number(selectedPlace->latitude())).append("\nLongitude: ").append(QString::number(selectedPlace->longitude())));
            qDebug()<<"Selected Location: "<description()();
            chooseActions->setEnabled(true);
        }
        else
        {
          // Either the user has canceled the operation or the location capability is not enabled.
        }
    

    Thank you.

    Just need to change the

    selectedPlace->name()
    

    TO

    selectedPlace->addressLabel()
    
  • Export only the hierarchy names &amp; properties hierarchy

    Hi all

    Is there a way to export only the hierarchy properties associated with this hierarchy in a database table and the name of the hierarchy? For example, I have a group of hierarchies HG1 who has 10 hierarchies H1, H2... H10. Each hierarchy has 3 properties of hierarchy that are associated with, HP1, HP2, HP3. Each hierarchy has also its own set of branches and leaves. Is there a way I can export only H1, H2... H10, as well as the property of hierarchy associated with each hierarchy in a database table in a format something like below:

    Name of the hierarchy Property1 (HP1) Property2 (HP2) Property3 (HP3)

    H1

    some valuesome value...some value...
    H2
    H3..
    H4
    ...
    .....
    H10..

    Thanks in advance

    Create a hierarchy export, select the choice of the hierarchy as "Group of the hierarchy" and select the respective hierarchies group, put the filter as a level 1 is, that will give you only one record for each hierarchy and select the required properties columns, it should work for you.

  • 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.

  • How gemfire locator can be configured to return the full DNS name for the customer?

    We have an index running before 2 cache servers,

    Locator.DomainA == > Server1.DomainA, Server2.DomainA.

    the problem is when the customer (customer. DomainB) try to access gemfire via locator, it up ' get: not connected to GemFire' exception, the reason is that the Client.DomainB uses the full name "Locator.DomainA" to access the gemfire, the Locator maintains only the servers host name, when the client runs the query, it access Server1 or Server2, but in this case, the networking is not connected.

    How gemfire locator can be configured to return the full DNS name for the customer?

    in gemfire.properties, Locator attribute is full domain name already.

    Thank you

    Yao

    There is a parameter for hostname for the customers that you can put in your cache.xml file cache-server element. It is a string that is passed the server for the location, and then on the Locator for the customer. You must set this client-to-host name in each of your cache servers.

  • Getting the name of the top of the hierarchy of the inventory in a VC

    When you cross a VC inventory, what is the type of the object at a higher level? I think it's a folder - that's what I'm doing once the connection and I browse the hierarchy correctly.

    File fd (sc.rootFolder);

    Where sc is the ServiceContent instance I understand well after the connection to the server.

    The VC that I use is named STORAGE2 and the top-level object is also named STORAGE2 - but when I ask the name of the object "fd" he gave a name "data centers". When I ask the other folders in the hierarchy down, I make own name except for this one.

    Am I wrong in thinking that the top-level of the VC object is a folder? How can I name own derieve for this object?

    Thank you

    . / Siva.

    "Data centers" is the name of the rootFolder.  The next type of the object in the tree is defined entities of data center.  Take a look at the ServiceInstance object to see the tree in the API documentation.

    ServiceInstance

    In the user of the vSphere Client interface, the rootFolder is hidden, and they show rather the name of vCenter. If you want to emulate the appearance of the user interface of vSphere, you need to hide some of the items of base directory, but they are there in the real inventory tree in code.

  • getUserRoles() in SecurityContext returns the names of LDAP groups

    Hello

    getUserRoles() in SecurityContext returns the names of LDAP groups as well as the role of the user's request. Should it? If not, what could be the possible problem.

    I have OVDLDAP configured on the weblogic server.

    Thank you.

    Hello

    Yes, what is expected. OPSS API expose application roles and user roles. For the distinction between the two, I would recommend a names like app-role naming convention to identify application roles

    Frank

  • return the hostname vmhost FULL domain name only

    I try to only get the part only my list of VC esx server host name

     
    $vmhosts =  get-vmhost -Location (get-cluster -name "TestCluster") | Select-Object Name
    

    And which returns:

    Name
    ----
    server1.mydomain.com
    server2.mydomain.com
    server3.mydomain.com
    

    What I would like returned is only the host name of the name part.

    I am still not entirely object pipeline and manipulation to get the correct correct syntax. I have a few think different, usually ending up with the method call failed... and Expressions are allowed as the first element...

    I can get the host name part in doing something like this:

    $myvar="server1.mydomain.com"
    Write-host $myvar.substring(0,($myvar.indexof(".")))
    

    How do I, or y at - it a way to incorporate the foregoing (something better) in the original that I am only a list of host names of the pipeline?

    You can use the ForeEach-object cmdlet and a regular expression to extract the host names.

    $vmhosts =  get-vmhost -Location (get-cluster -name "TestCluster") | %{([regex]"(\w+)").Match($_.Name).Groups[1].Value}
    
  • Need name of the API to create the hierarchy of the Organization for Oracle HRMS

    Hi all



    (1) name of the API need to create the hierarchy of the Organization for Oracle HRMS

    (2) in the form of the Organization, we have added the Classification, 'HR'.
    When we press 'Costing Information' is displayed.
    We need to download this Information of costs in the body through the API.
    Which API should we used?

    This is urgent.
    Any help in that regard will be highly appreciated

    Thank you

    Hi, Ahmed.

    You can find all the APIs here-
    http://irep11i10.Oracle.com

    Hierarchy of org-
    http://irep11i10.oracle.com/OA_HTML/OA.jsp?page=/oracle/apps/fnd/rep/webui/InterfaceListPG&BusinessEntity=PER_ORGANIZATION_HIERARCHY&Title=Organization+Hierarchy&retainAM=Y&_ti=2010961940&oapc=7&selection=11_1_62_&oas=s6j2chTrx3F6QeAofgAR-Q..

    To check information of costs - create the organization information (information of costs goes into HR_Organization_Information table, just check for the correct contexts)
    http://irep11i10.Oracle.com/OA_HTML/OA.jsp?page=/Oracle/Apps/FND/Rep/WebUI/PLSQLInterfaceDetailsPG&CategoryValue=F&_tI=2010961940&retainAM=Y&addBreadCrumb=Y&OAPC=16&OAS=rEOv_-poEcBvZjTjyrCnXw...

    http://irep11i10.oracle.com/OA_HTML/OA.jsp?page=/oracle/apps/fnd/rep/webui/InterfaceListPG&BusinessEntity=HR_ORGANIZATION&Title=HRMS+Organization&retainAM=Y&_ti=2010961940&selection=11_1_49_&oapc=28&oas=Ns8RX2ZaTcv6y_BMwx0d7Q..

    Hope that helps.

    If the links above do not work. Try to copy - paste the full URL in a new window. It should work.

    See you soon,.
    Vigneswar ben ahmed

    PS: You can also try loading. The free version should suffice. And it is a wonderful tool.
    http://www.dataLoad.com/downloads/index.html

  • Need help return correct name of a created the code clip

    Hello. I'm a n00b AS3 with fortunately we a simple question I am designing a simple flash game. Copy the following code creates an array of video clips and the bsigns a photo for each of them. It is a map screen. What I need, it is when I click on one of the created movie clips, I need to return either the index of the item in the table or the name of the clip. Basically everything that I can use to differentiate them in the code. Here is the code:

    import flash.display.MovieClip;
    var MapLoader:Array = new Array();
    var strJPGext:String = ".jpg";
    var intContTileNumber:int;
    var strContTilePath:String;
    var intDistStartX:int = 63;
    var intDistStartY:int = 64;
    var intDistMultiplyY:int = 0;
    var intDistMultiplyX:int = 0;
    var intDistCount:int = 0;
    var MapSquare:Array = new Array();

    for (var i: int = 0; i < 729; i ++)
    {
    var MapSquare:MovieClip = new MovieClip();
    MapSquare.push (new MovieClip());
    MapSquare [i] .x = intDistStartX + (intDistMultiplyX * 30);
    MapSquare [i] there = intDistStartY + (intDistMultiplyY * 30);
    MapSquare [i] .name = "MapSquare" + i;
    addChild (MapSquare [i]);
    intContTileNumber = i;
    MapLoader.push (new Loader);
    strContTilePath = intContTileNumber + strJPGext;
    MapLoader [i] .load (new URLRequest (strContTilePath));
    MapSquare [i] .addChild (MapLoader [i]);

    intDistCount ++;
    intDistMultiplyX ++;

    If {(intDistCount > 26)
    intDistCount = 0;
    intDistMultiplyX = 0;
    intDistMultiplyY ++;
    }

    }

    stage.addEventListener (MouseEvent.CLICK, reportClick);
    function reportClick(event:MouseEvent):void
    {
    trace ("name of the movieClip Instance =" + event.target.name);
    }

    Now, it all works very well, it creates the plan and assigns the correct image and places them in the good X, position Y and this is the good 27 x 27 squares grid. The problem is with the name, when I click on the clip, it returns "Instance2" or "Instance5" or something else. It starts by 2 and then increases each number by 3 for each clip, so the first is 2, then 5, then 8 and so on. This is not good. I need to return the name I have given
    . If I put the code in trace(MapSquare[1]) it will return the name 'MapSquare1' so I know has been assigned the name, but it is not returning.

    Please help

    Thank you

    -Red

    Add event listeners just like anything else you set in the loop for...

    MapSquare [i] .addEventListener (MouseEvent.CLICK, reportClick);

    They can all use the same event handler function, so there is no problem.

Maybe you are looking for