Number of Child Members in a Parent

Hi There,
Is there a way in BPC in when building a report or input schedule in which I can return the number of child members that is below a parent?
I want to select a member in my dimension and I want a formula to return how many members is below that parent.
I can see when I look at the current view in brackets there is a number next to the member name on how many members lies in that parent. I want to return that number in my workbook.
Any ideas?
The idea that I had was to create another evdre with dynamic expansion to return the base members of that dimension, and to use an excel function to count the members and return the total amount to the sheet I want to use.
Henry

What version of BPC?  If you're using any version on the microsoft platform you could use something like this:
=EVLST("finance","entity",EVSET("finance","wood","evall"),B3:B4,"hlevel")
"Finance" is my application
"entity" is my dimension
my set expression is evaluating all descendents of the WOOD entity <- this is what be based on your CV
B3:B4 is my expansion range
"hlevel" is a numeric property value that is meaningless for this exercise, but lets me do the following:
Using the above (easiest to do on a seperate worksheet that can then be hidden), enter excel formula COUNT(B3:B5) in cell B2 (right above the expansion range of your list).  The set list will expand giving you the hierarchy levels of all descendents of your selected member and your count will add them up.
Other options would be to add a property where you would manually assign the count to each parent member in your dimension.  Could be very tedious and time consuming depending on how often it changed.  Could also go a seperate expansion as you noted and just have a counter running next to the expansion: 1, 2, 3, ...) and have a function that looks for the max number.
Hope that helps...

Similar Messages

  • 57F4 challan print - getting parent item no and po number for child item

    Hi ,
    In 57F4 challan, Subcontract components - i.e Child items are used for creating the challans.
    However while printing needs the parent item no with the purchase order number for that child item number.
    It is getting stored in RM07M structure.
    Any inputs / suggestions how to retrive parent item number and purchase order number for child item i.e for subcontract items?
    Thank you .
    Prasad.

    Thank you for the reply. I checked the table RSEG table for material document and PO details, however the RSEG gets populated when there is credit or debit entries.
    In this 57F4 challan there is no credit or debit enteries hence would not get in RSEG table.
    Appreciate your inputs for any other alternative.
    OR is there any table or Function Module to get the enteries of the struture of RM07M .

  • Make parent appear ABOVE the child members (in fact as the outline order is)

    Hi all,
    Is ther a way to make SV open nodes in a way the the parent appears ABOVE it's child members (in fact as the outline order is)
    There is an option under "Smart View ->options->Member Options->General -> Ancestor Position". However this seems to have no effect at all.
    SV 11.1.2.5.215
    Thanks in advance!
    Andre

    Yes - I understand it's just about presentation.  And no, you can't do what you want to do in normal ad hoc mode.  Sorry.
    One workaround is to create a 'Smart Slice' - there is a Smart Slice option to set Ancestor Position to 'Top' in zooms, and this does work with Essbase connections.
    By the way, there is a regular Smart View option to grey out options (like Ancestor Position) that don't apply to the current connection type - it's on the Advanced tab.  May help avoid confusion.

  • Is there any control on the number of child records returned

    Hi,
    I am using web services 1.0 to return child records for an account. Is there any control over the number of child records that are returned. From what I can see it is above the default for 10 for parent record query and i would guess it returns up to 100 records?

    In DSP 2.5, the 'streaming' api (which can be used only from a client in the ALDSP server instance) does not have a limit to the size of the results. The standard DSP 2.5 api causes the results to be materialized in memory - so you are limited to what memory you have available. (also, WLS server has a default limit of 10M for a request/response - can be increased in the WLS console - I think it's under 'Protocols').
    The JDBC api has no limit on the result size - you might be better off using this for a reporting tool.
    In DSP 3.2, there is no limit on the result size.
    Mike Reiche
    Oracle Data Services Integrator (formerly ALDSP)

  • How to add an item object as a child for a specified parent node in AdvancedDataGrid in Flex?

    Hi all,
              This is the code, to add a object as a child into a specified parent node in AdvancedDataGrid in flex.
    <?xml version="1.0" encoding="utf-8"?><mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()" width="100%" height="100%">
    <mx:Script><![CDATA[
    importmx.controls.Alert; 
    importmx.collections.IHierarchicalCollectionViewCursor; 
    importmx.collections.IHierarchicalCollectionView;  
    importmx.collections.ArrayCollection; [
    Bindable]private var objectAC:ArrayCollection = newArrayCollection(); 
    //This method is used to construct the ArrayCollection 'flatData' 
    private function onCreationComplete():void{
    var objOne:Object = newObject(); objOne.name =
    "Rani"; objOne.city =
    "Chennai";objectAC.addItem(objOne);
    var objTwo:Object = newObject(); objTwo.name =
    "Rani"objTwo.city =
    "Bangalore";objectAC.addItem(objTwo);
    var objThree:Object = newObject(); objThree.name =
    "Raja"; objThree.city =
    "Mumbai";objectAC.addItem(objThree);
    //This method is used to add one object as a child item for the parent node 'Rani' 
    private function addChildItem():void{
    var dp:IHierarchicalCollectionView = groupedADG.dataProvider asIHierarchicalCollectionView;  
    varcurent:IHierarchicalCollectionViewCursor = groupedADG.dataProvider.createCursor();  
    var dummyParentNode:Object = {name:"Rani", city:"New Delhi"};  
    var obj:Object = null; 
    while(curent.current){
    // To get the current node objectobj = curent.current;
    // Add Child item, when depth = 1 and Node name should be "Rani" 
    if (curent.currentDepth == 1 && obj["GroupLabel"] == "Rani"){
    dp.addChild(curent.current, dummyParentNode);
    curent.moveNext();
    groupedADG.dataProvider = dp;
    groupedADG.validateNow();
    groupedADG.dataProvider.refresh();
    ]]>
    </mx:Script> 
    <mx:AdvancedDataGrid id="groupedADG" x="10" y="15" designViewDataType="tree" defaultLeafIcon="{null}" sortExpertMode="true" width="305" > 
    <mx:dataProvider> 
    <mx:GroupingCollection id="gc" source="{objectAC}"> 
    <mx:grouping> 
    <mx:Grouping> 
    <mx:GroupingField name="name"/> 
    </mx:Grouping> 
    </mx:grouping> 
    </mx:GroupingCollection> 
    </mx:dataProvider> 
    <mx:columns> 
    <mx:AdvancedDataGridColumn headerText="Name" dataField="name"/> 
    <mx:AdvancedDataGridColumn headerText="City" dataField="city"/> 
    </mx:columns> 
    </mx:AdvancedDataGrid> 
    <mx:Button x="10" y="179" label="Open the folder 'Rani'. Then Click this Button" width="305" click="addChildItem()" /> 
    </mx:Application> 

    Hi,
    It's not possible to 'append' a StringItem or a TextField (or any other lcdui.Item object) to a Canvas or GameCanvas. You can only draw lines, draw images, draw text, etc etc, on a Canvas screen. So, you can only 'simulate' the look and feel of a TextField (on a Canvas) by painting it and adding source code for command handling (like key presses). However, this will be quite some work!!
    lcdui.Item objects can only be 'appended' to a Form-like Displayable.
    Cheers for now,
    Jasper

  • How to get the number of community members from outside the community

    Hi everyone.
    I need to know if there is any way to get the number of community members from outside the community, I mean, not using the "What's happening" webpart. I want to build up a page with a Webpart that summarize my three most visited communities indicating
    number of members, three last messages in the newsfeed, and number of posts in blog, wikis, document libraries, etc.
    Do I need statistics to get this kind of information? Should I use Sharepoint Object model instead?
    Here is an example of what I need:
    - Community name
    - Number of members
    - Community activity (messages, docs uploaded to library, etc)
    - Number of posts in calendar, blog, wiki that belongs to community
    Thank you all!

    Hi Thuan.
    Thanks for your answer but it does not help me because these communities are Sharepoint Communities not external sites so I need to get that information using SP object model and BCS in this case is useless.
    EDIT
    I found the solution using the search objects but I was only able to get members, discussions and replies
    using (ClientContext clientContext = new ClientContext("URL_OF_ENTERPRISE_SEARCH_CENTER"))
    KeywordQuery keywordQuery = new KeywordQuery(clientContext);
    keywordQuery.QueryText = "The_Name_of_the_Community WebTemplate:COMMUNITY";
    SearchExecutor searchExecutor = new SearchExecutor(clientContext);
    ClientResult<ResultTableCollection> results = searchExecutor.ExecuteQuery(keywordQuery);
    clientContext.ExecuteQuery();
    System.Collections.Generic.IDictionary<string, object> ret = null;
    foreach (System.Collections.Generic.Dictionary<string, object> resultRow in results.Value[0].ResultRows)
    Console.WriteLine("{0}: {1} ({2})", resultRow["CommunityMembersCount"], resultRow["CommunityTopicsCount"], resultRow["CommunitiyRepliesCount"]);
    This is a Console Application.
    I hope someone helps

  • How to Use Messge-Pool of Child DC, in the Parent DC

    Hi,
    I am trying to achieve componentization of webdynpro projects.
    I want to use the messages stored in the Messge-Pool of child DC, in the parent DC.
    I have done the following so far:
    I have stored all the messages(error/standard) in the message pool of one DC project.
    I have created the public part of the component of that DC.
    I have Build-deploy-checkin that DC project.
    I have added that public part to another DC.
    I have successfully added it to the "used Webdynpro components" of the second DC.
    I am able to successfully pass values using context mappings, between the two DCs.
    But i am not able to use the Messges available in th message-pool of the first(child) DC.
    I added the childDC to the properties of the Views of the second(Parent) DC, but i am still not able to use the Messages present in the Messagepool of the child DC.
    Is there a way to use the Messages present in the Messagepool of the child DC, in the views of the parent DC???
    Thanks,
    Hanoz

    Hello,
    You have to use EXPORTING LIST TO MEMORY AND RETURN addition with SUBMIT stmt.
    Try like this:
    DATA:
    L_IT_LIST TYPE STANDARD TABLE OF ABAPLIST.
      SUBMIT <Child Program Name>
      WITH SELECTION-TABLE LIT_RSPARAMS
      EXPORTING LIST TO MEMORY AND RETURN.                   "#EC CI_SUBMIT
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = L_IT_LIST
        EXCEPTIONS
          NOT_FOUND  = 1
          OTHERS     = 2.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'WRITE_LIST'
          TABLES
            LISTOBJECT = L_IT_LIST
          EXCEPTIONS
            EMPTY_LIST = 1
            OTHERS     = 2.
        IF SY-SUBRC <> 0.                                       "#EC *
    *     Do Nothing
        ENDIF.
    Hope this is clear.
    BR,
    Suhas

  • Partial selection of child does not keep parent node selected

    Hi All,
    Please help! I have a checkbox JTree which is working fine in all regard as I want except one condition i.e. if all child(leaf) of a parent are not selected parent gets deselected i.e. if we uncheck any child(leaf) node parent will get unselected even if there are some child are selected. I am posing code for the model. let me know if I need to post other codes also
    tree.setModel(new DefaultTreeModel(rootNode1) {
        public void valueForPathChanged(TreePath path, Object newValue) {
            Object currNode = path.getLastPathComponent();
            super.valueForPathChanged(path, newValue);
            if ((currNode != null) && (currNode instanceof DefaultMutableTreeNode)) {
                DefaultMutableTreeNode editedNode = (DefaultMutableTreeNode) currNode;
                CheckBoxNode newCBN = (CheckBoxNode) newValue;
                //CheckBoxNode newCBN1 = (CheckBoxNode) newValue;
                if (!editedNode.isLeaf()) {
                    int i=0;
                    //for (int i = 0; i < editedNode.getChildCount(); i++) {
                      while(i < editedNode.getChildCount()){
                         System.out.println("child count root"+editedNode.getChildCount());
                         System.out.println("child count root i"+i);
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getChildAt(i);
                        CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(newCBN.isSelected());
                        if(!editedNode.getChildAt(i).isLeaf())
                        for(int j=0;j<editedNode.getChildAt(i).getChildCount();j++)
                         System.out.println("child count roottt"+editedNode.getChildCount());
                         System.out.println("child count root j"+j);
                         DefaultMutableTreeNode node1 = (DefaultMutableTreeNode) editedNode.getChildAt(i).getChildAt(j);
                         CheckBoxNode cbn1 = (CheckBoxNode) node1.getUserObject();
                         //cbn1.setSelected(true);
                         cbn1.setSelected(newCBN.isSelected());
                        i++;
                else{
                    boolean isAllChiledSelected = true;
                   for (int i = 0; i < editedNode.getParent().getChildCount(); i++) {
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent().getChildAt(i);
                        CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        if(!cbn.isSelected()){
                            isAllChiledSelected = false;
                    if(isAllChiledSelected){
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode)editedNode.getParent();
                          CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(isAllChiledSelected);
                if (!newCBN.isSelected()) {
                    DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent();
                    if (node.getUserObject() instanceof CheckBoxNode)
                        ((CheckBoxNode) node.getUserObject()).setSelected(false);
              /*if (!newCBN.isSelected()) {
                    DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent();
                    if (node.getUserObject() instanceof CheckBoxNode)
                        ((CheckBoxNode) node.getUserObject()).setSelected(false);
    });

    Hi Thomas,
    Sorry for late reply due to weekend.
    I had already tried your suggestion but it is not working. Do not know why? here is the code.
    else {
      int countselection=0;
    int t=editedNode.getParent().getChildCount();
                   for (int i = 0; i < editedNode.getParent().getChildCount(); i++) {
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent().getChildAt(i);
                        CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        if(cbn.isSelected()){
                            countselection= countselection+1;
                    if(icountselection==0 ){
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode)editedNode.getParent();
                          CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(false );}
    else if(countselection==1 && countselection<=t)
    DefaultMutableTreeNode node = (DefaultMutableTreeNode)editedNode.getParent();
                          CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(true );
    }}

  • Executing Child Taskflow Method from parent taskflow page

    Hi All,
    I have one issue with checking dirty data form Parent Taskflow button to check dirty data update in Child Taskflow page's view Object.
    JDev version: 11.1.1.3
    Scenario :
    Outer Container page has back button which need to check wherethere child taskflow has dirty data update or not. Child Taskflow transaction is always create new transaction and non-shared. But from ControllerContext, the root am service still associated with other viewobjects i.e. is loaded in others tabs in that outer container page, which is also checking dirty data from another tabs' viewobject dirty data checking (I need to avoid this issue that's why not working for me with controller context). I am thining to execute the child taskflow method from parent page on back button to check dirty data update for that tabs' page only. For it, how can we get access child taskflow method from parent page with static region taskflow. Is there any solution to implement like this? thank you so much.
    - Robin

    Hi,
    this should work:
    1. child task flow has input parameter "parentBean" defined.
    2. The child task flow has a managed bean "ChildBean" defined in pageFlowScope with a property "parentBean" with setter/getter.
    3. the parentBean input parameter references (in its value roperty) #{pageFlowScope.childBean.parentBean}
    4. The parent bean is configured on the parent view task flow (viewScope) and passed as a task flow binding input parameter. The parent bean has a boolean property "childFlowTransactionDirty"
    This allows the child bean to invoke the parent bean childFlowTransactionDirty to tell it that the transaction is dirty. On the parent view, you would just check the parentBean state for this property.
    Next is how you set the value on the parentBean from the childTaskFlow. One option is to use a RegionController on the PageDef file of ADF bound views in the child task flow.
    public class MyRegionController implements RegionController {
        public MyRegionController(){
        public boolean refreshRegion(RegionContext regionContext) {      
         int refreshFlag = regionContext.getRefreshFlag();
          //get access to the ChildBean and its parentBean property. Then call
          //ControllerContext .... to check the transaction state
          //update the childFlowTransactionDirty property
          ((DCBindingContainer)regionContext.getRegionBinding()).refresh(refreshFlag);
          return true;
        @Override
        public boolean validateRegion(RegionContext regionContext) {
            regionContext.getRegionBinding().validate();
            return false;
        public boolean isRegionViewable(RegionContext regionContext) {
            return regionContext.getRegionBinding().isViewable();
        @Override
        public String getName() {
            return this.getClass().toString();
    }Next: When users press the back button in the parent view, you call the ParentView bean childFlowTransactionDirty to check the child task flow transaction to be dirty or not
    Frank

  • Find child record of a parent record

    Hi,
    I need to find the child recond of a parent party and if that child also have some
    child then I need to find again and this process will go untill no child record
    found(child is null)
    I am trying to do it by the help of hierarchical query.
    can anyone please help and tell me how can I do that and how can I handle if a parent have multiple childs.
    Mohan

    It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.
    Also see the third post in this thread:
    {thread:id=2174552}
    This would probably be better suited in the {forum:id=75} forum.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Number of dimension members

    Hi! :) Can anyone advise on what are recommendations on the max number of dimension members for each HP dimension taking into account that the cube can be alone and can be partitioned? Thanx! :-)
    Edited by: user10129034 on 29.05.2009 0:24

    I will take a stab at this...just went to Essbase boot camp and the question you ask is a loaded question.
    Because of its multi-dimensional architecture and its data storage in 'blocks'...the answer is 'it depends'.
    One of the critical issue with dimensions and its members is 'Is the dimension Spare or Dense'?
    Best practices is to have minimal amount of Dense dimensions (which makes up your block size) than of Spare dimensions (which determines the amount of blocks you have)
    In my training this question was asked from a DBA used to transactional database and asked what the max is.
    The instructor indicated there really isn't a limit, clearly defined.
    I thought I saw something in the essbase admin but I am unable to find it if someone could add it would be great
    so if you have several dimensions or dimensions with several members you need to determine their density which in turn dictates the system performance and functionality.
    JTS
    Edited by: jts on May 29, 2009 7:18 AM

  • Number of Child is taking as zero 40ECS Feature

    hi all,
    I am valuating Child education Allowance 8040 wage. I entered eligibility check and as amount in table V_T7INA9.
    IN feature 40ECS for wage 8040 D CEANO for
    01 return val 1
    02 return val 2
    other wise 0
    In 0002 number of child 1
    marr
    In family/deped info subtype 2 maintained with child 01
    Even after this in 8 infotype it is taking the value 0
    I.E the value given in Otherwise
    guide me to slove the Issue

    Hi,
    In my system it is configured like in module pool- MP002100 standard screen -2000 Alternative screen ->2040 variable key -> 40
    and in feature P0021 2000-Molga 40 subty (1)- 2-- return value 40 --otherwise --return value 401. If it is not exist try to create in sandbox and see the result.
    Regrads,
    ARU

  • How to count number of child? child.getSize(); ??

    Hi,
    how to count to number of child node?
    something like
    child.getSize()

    Child is page or node ? Unfortunelty both Node and Page API returns Iterator and you have to loop through that to find number of childs. Other option is to use querymanager api and check size of resultset.
    [1] http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/Page.html
    [2] http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/api/jsr283/Node.html
    [3] http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/query/package-summary.html
    Yogesh

  • Summarize (sum) a field in a child group to a parent group section

    Can someone tell me how to insert a summary (sum) of a field in a child group to a parent group?  The column is not in the detail row, only a group section.

    Hi Mark,
    As I understand from the description, you have 2 groups(child and parent) and you want to insert summary of the field in child group to a parent group.
    Try  following........
    Go to Insert -> summary
    Insert summary based on required field and then under the option "Summary Location" select the Parent Group.
    Please let us know if you are looking for something else.
    Regards
    Ankeet

  • Transfer Focus From a Child Dialog To its Parent Frame

    Hi
    I m working on a Multimedia Desktop Application. I have done alomst 90% of work. Here I have a problem to transfer focus from a Child Dialog to Parent Frame. Remember the whole applicatio does not use Mouse every thing is handled on key events. So I required to transefer the focus from a Child Dialog to its Parent Frame from key board. I also cant use ALT+TAB because
    1- Child is a dialog
    2- This is a Multimedia Application which will be deployed For TV production and can't allow any Computer
    Components to be viewable.
    So I want only key press to transfer the focus between Child and The Parent.
    Thanks.
    Khurram

    First u tell me what do u do on the forumI answer questions - when I know the answer.
    I give advice on how to use the forums efficiently so you get the best chance to have your question answered and you don't waste other peoples time.
    And the post-URL you mentioned, was mistakenly submitted two times.Then respond to your own thread saying you posted it twice by mistake.
    any ways I did never see any article posted by you, nor the solutions on the other's posts by you. you just made comments on others posts.which only goes to prove that you never bother to search the fourm before you post a question.
    and please let others try to review on my problem.others can still reply

Maybe you are looking for

  • Iphone 5 and itunes problems

    hi, Everytime I plug my iphone 5 into my computer to sync my itunes libary to my phone, my phone is not detected by itunes. Although, when I do plug in my phone my laptop does recognise my iphone and my phone does ask me if I want to trust the comput

  • Unable to save document as (Flash CS5 - BUG - OSX)

    I have upgraded my CS4 to CS5 on MAC OSX and i'm having problems saving new and existing fla files. It doesnt always do it but it's very anoying when you have done some work and are unable to save it. I get this message: unable to save document as (f

  • Skin two components differently, based on styleClass

    Hi. I'm doing some skinning of my ADF 11g app, and I'm having some trouble using the ADF selectors to achieve exactly what I want. Applying style rules that affect all components of a given type is working brilliantly with the various ADF selectors,

  • Often when I try to open Firefox again after closing it, a message pops up saying Firefox is already running (it is not!), so I have to restart my computer.

    Many times when I try to open my Firefox (3.6.11) after closing it, a message pops up saying "Firefox is already running. You must close the porcess or restart your computer before you can open it." Because it is already closed and I have nothing els

  • Explain plan change

    9.2.0.8 on solaris 10 What are the scenarios that an explain plan will change when using RBO as optimizer_mode we have a query like : select * emp where empno=101; For this query , the explain plan uses the index in the column empno where as the quer