MDX query for parent-child combination display

Hi guys..
I am really new to the Essbase technology.
Could you please help me out with this one:
is it possible to extract the data(for example the metadata of a outline)..eg:-
The outline structure is as follows :
A1
A11
A12
A2
A21
A22
I want a MDX query to display it as :
A1 A11
A1 A12
A2 A21
A2 A22
I have tried various ways but couldnt come up with a query for this.
Thanks in advance for all your help.

Unfortunately MDX cannot do this. If you think about what you are asking for, you are essentially saying that you want to see members of the same dimension on different axis. Multi-dimensional queries can't do that (think about trying to do it with addin).
A further limiation is that MDX is not robust enough to allow you to work the results into a single axis using a concatenation function because while there is a string-to-member function, there is no member-to-string function and concat requires a string as input.
Other approaches would require MDX to support joins or subqueries, which it does not.
As others have mentioned, to do what you want to do, you need outline extractor or something like that.
*Fun fact - if you have OBIEE 11g, it can do reporting in Essbase with hierarchy members in hierarchy format or column format, which will give you the results you need.  That alone is good reason to start using OBIEE.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • SubSelect Not filter data for Parent/Child hierarchy

    I have data for my parent /child dimension like that
    DimCust
    Fact Sal
    Customer ID
    Parent ID
    Customer Type
    Product Id
    Customer ID
    Year
    Sales
    1
    1
    Retailer
    4
    1
    2015
    100
    2
    1
    Retailer
    4
    2
    2014
    200
    3
    3
    Retailer
    4
    3
    2014
    300
    4
    3
    Retailer
    4
    4
    2015
    400
    5
    5
    Retailer
    4
    5
    2015
    500
    In my query,
     I use sub select to filter 
    data for year 2014c and product  id 4,  when I got result
     it’s missed the aggregation of customer id 1 and 4.
     Even I try to pass in where clause it’s also not give correct result.
    code,
    with
       set ba EXISTS([DIMCustomer].[Level 02].allmembers, [DIMCustomer].[Hierarchy].&[MyHierarchy],"factTable")
       SELECT
    [Measures].[Sales]
      } ON 0,
    [ba]on 1
    FROM (SELECT ( { [CropYear].[CropYear].&[2014] } ) ON COLUMNS
    FROM (SELECT ( { [DimProduct].[ProductID].[4] } ) ON COLUMNS
    FROM [myCube]))
    please help me on this, what is the best practices.
    Regards,
    Manish

    Hi manishcal16PPS,
    According to your description, you want to slice the fact data on Year 2014 and Product 4. Now you find the result missing the customer 1 and 4. Right?
    In this scenario, based on your Fact Sal table, both customer 1 and 4 are on Year 2015. So when you filter the data, it will not show customer 1 and 4. It returns correct result. For filtering data, either using sub select or specifying slicer axis
    can achieve your requirement.
    Reference:
    Specifying the Contents of a Slicer Axis (MDX)
    Best Regards,
    Simon Hou
    TechNet Community Support

  • No data for Parent-child hierarchy column in Pivot table view

    Hi all,
    I used OBIEE 11.1.1.6.2 Version.
    I drag one Parent-child hierarchy column and one measure and show result with a pivot table view.
    But when I click "+" icon to show detail level data,
    It messaged that: "*the layout of this view combined with the data,selections,drills,or prompt values chosen resulted in no data*."
    But it can show every-level data when I used table view.
    It was so strange..
    Did anybody meet this before?
    Thanks in advance.
    regards,
    Anne

    Hi,
    Yes, I have the same problem with pivot table for hierarchy dimension.
    If you use a normal table (not pivot) it seem to work. Unfortunatley with restrictions as normal table view have.
    Same problem still exist in 11.1.1.6.5
    I have logged a SR to Oracle about this.

  • Siebel BIP Integration Objec for Parent, Child and Grand Child

    Hi,
    I 'm trying to create a one report for displaying Parent, Child and Grand Child.
    Service Request
    - Quote
    - Quote Item.
    Successfully create the BIP Integration object and generated the xml file. problem here is when trying to include the fields in BIP desktop word, not able to see the grand child fields, could see only the parent and child fileds and for grand child only 'ListOfQuoteItem' text.
    Could some one please let me know the reason for this behavoir and wherther BIP supports 3 levels.
    Is there any Out of Box Siebel report showing parent, child and grandchild.
    Thanks,
    Ravi kanth

    One Siebel Adapter Upsert operation should be sufficient to insert the parent and child. In the Integration object definition, you define the Template child instances with the Parent of Template. i.e
    You define Template first as an Integration Component and then define
    Template child instances to have a Parent as Template.
    Thanks
    Swarna

  • Siebel BI Publisher Reports - Parent Child Combine

    Hi,
    As per my clients requirement, I need to develop reports in BI Publsiher which are similar to Combined Datastream Reports in Actuate. Its like I need to combine the Parent and Child records into a single record set and show the output. The siebel bookshelf 8.1 has not given any information about this. Is there anyway I can achieve this kind of reports ?
    Thanks in advance,
    Jagdish

    So your XML has the parent-child right?
    <ListOf_ssServiceRequest>
         <ssServiceRequest>
              <ssAccount>Geltzer Contract Furniture</ssAccount>
              <ssClosedDate/>
              <ssCustomerRefNumber>wdxwdxws</ssCustomerRefNumber>
              <ssDescription/>
              <ssOwner>BMASON</ssOwner>
              <ssPriority>Low</ssPriority>
              <ssSrNumber>1-2Z0T</ssSrNumber>
              <ssSeverity>Low</ssSeverity>
              <ssStatus>Open</ssStatus>
              <ssId>1-2Z0T</ssId>
              <ssCreated>08/06/1999 07:25:56</ssCreated>
              <ssUpdated>05/28/2004 05:02:58</ssUpdated>
              <ssCreatedBy>0-1</ssCreatedBy>
              <ssUpdatedBy>1-1ZW</ssUpdatedBy>
              <ListOf_ssAction>
                   <ssAction>
                        <ssComment/>
                        <ssContactFirstName>David</ssContactFirstName>
                        <ssContactLastName>Geltzer</ssContactLastName>
                        <ssCreatedByName>HTADMIN</ssCreatedByName>
                        <ssDescription>Call customer for post-service satisfaction and confirmation of sucessful resolution</ssDescription>
                        <ssDone/>
                        <ssOwnedBy>DCOLLINS</ssOwnedBy>
                        <ssPrivate>N</ssPrivate>
                        <ssStarted/>
                        <ssStatus>Not Started</ssStatus>
                        <ssType>Call - Outbound</ssType>
                        <ssId>3SIA-2RNIE</ssId>
                        <ssCreated>03/15/2005 09:08:55</ssCreated>
                        <ssUpdated>03/15/2005 09:08:55</ssUpdated>
                        <ssCreatedBy>3SIA-2LX2K</ssCreatedBy>
                        <ssUpdatedBy>3SIA-2LX2K</ssUpdatedBy>
                   </ssAction>
                   <ssAction>
                        <ssComment/>
                        <ssContactFirstName>David</ssContactFirstName>
                        <ssContactLastName>Geltzer</ssContactLastName>
                        <ssCreatedByName>HTADMIN</ssCreatedByName>
                        <ssDescription>Repair the equipment with the new parts</ssDescription>
                        <ssDone/>
                        <ssOwnedBy>HTADMIN</ssOwnedBy>
                        <ssPrivate>N</ssPrivate>
                        <ssStarted/>
                        <ssStatus>Unscheduled</ssStatus>
                        <ssType>Field Repair</ssType>
                        <ssId>3SIA-2RNI9</ssId>
                        <ssCreated>03/15/2005 09:08:55</ssCreated>
                        <ssUpdated>04/26/2005 09:49:20</ssUpdated>
                        <ssCreatedBy>3SIA-2LX2K</ssCreatedBy>
                        <ssUpdatedBy>3SIA-2LX2K</ssUpdatedBy>
                   </ssAction>
              </ListOf_ssAction>
         </ssServiceRequest>
    </ListOf_ssServiceRequest>
    So you can create a template to follow the tree
    <?for-each:ssServiceRequest?>
    Account: <?ssAccount?>
    <?for-each:ssAction?>
    Name: <?ssContactFirstName?> <?ssContactLastName?>
    <?end for-each?>
    <?end for-each?>
    Hope this helps
    regards
    Tim

  • Inspection for Parent Child Relation

    Hi
    We are producing Mat.A from Mat .B and you want to copy the results from Mat.B .
    Both materials are batch managed.
    The requirement is - At the inspection for Material A , want to use batch derivation to copy results of Mat B (Parent Child Process)
    Please Guide ..
    Please schare Doc if available ..
    Mayank MEHROTRA
    Or in other words..
    Whether its possible to transfer the characteristics values of the batch from parent materia (MOM Materials)l to Child Materials
    Edited by: Mayank MEHROTRA on Jul 30, 2010 2:19 PM

    Hi Mayank,
    We had the same issue in one project. What we did, we develped a z- transaction and program for that.
    We had child batches, for eg, 1234561,1234562,1234563,1234564. here the mother batch is 123456. so we recorded value for this mother batch in MSC1N. In developed z transaction, we had a field called "mother batch" and next two fields as "from child batch" and "to child batch". So make entry in these fields and execute. Data will be populated automatically.
    Sit with a good ABAPer, he will be able to develop the same.

  • SQL for Parent-Child Hierarchy

    Please suggest which would be best way to achieve the below logic.
    SQL to pick up parent child relationship within same table with a certain logic.
    Example:
    mod_product_number     Product_Hierarchy     
    H555888     PH05678     
    H888987     H555888     
    H8889     H555888     
    H9955     H555888     
    H999999     H555888     
    P6666     H999999     
    P5555     H999999     
    Example: I expect the rows with H8889,H9955 & P6666 & P5555 to be sub-category values value for product hierarchy H555888.     
    If there are rows with H8888987 as Product_hierarchy, we will pull up those rows too for product hierarchy H555888.
    The extra condition is we drill down only on 7 character mod_prod_number not on 5 character mod_prod_number. We pull out all sub category mod_prod_number for all distinct Product hierarchy.

    You can use Hierarchical Queries
    See.. http://docs.oracle.com/cd/E11882_01/server.112/e10592/queries003.htm
    select lpad(' ',2*(level-1)) || to_char(trim(t.mod_product_number)) prod,
      SYS_CONNECT_BY_PATH(t.product_hierarchy, '/') "Path",
      LEVEL
      from temp_table t
      start with trim(t.product_hierarchy) = 'PH05678'
      connect by prior trim(t.mod_product_number) = trim(t.product_hierarchy);
    .     PROD          Path                    LEVEL
    1     H555888          /PH05678                1
    2       H8889          /PH05678 /H555888           2
    3       H888987     /PH05678 /H555888           2
    4       H9955          /PH05678 /H555888           2
    5       H999999     /PH05678 /H555888           2
    6         P5555     /PH05678 /H555888 /H999999      3
    7         P6666     /PH05678 /H555888 /H999999      3

  • Parent Child Hierarchy - Display other dimension fields against parent

    Hi,
    I have a Dimension for Customer with a parent child hierarchy.  The problem I have is with additional fields within the dimension.  See data below:
    Row Labels
    Customer Group   Description
    Value
    500116 - OOO "Starline"
    30
       500116 - OOO "Starline"
    A - Dealer
    5
       818781 - OKNO
    Direct / End User
    10
       400464 - OKNO TV
    Other
    15
    500123 - VIDAU SYSTEMS
    300
      500123 - VIDAU SYSTEMS
    A - Dealer
    100
      400396 - VIDAU SYSTEMS
    Other
    200
    Grand   Total
    330
    I want the Customer Group to show "A - Dealer" for the parent of the first row (against "500116 - OOO "Starline"), but its shown blank.  Also, I would like other fields to do the same.  As the parent relates to a row in
    my dimension table, this should be possible?
    Thanks in advance,
    Dominic

    Hi,
    Sorry it took me a while to come back to this.
    My dimension has the following columns:
    ID
    Customer
    Customer Group
    Parent
    1
    500116
    A - Dealer
    NULL
    2
    818781
    Direct / End User
    1
    2
    400464
    Other
    1
    My measure has 3 rows:
    customerKey
    value
    1
    5
    2
    10
    3
    15
    So when this is presented in the cube, the 3 items with values are correctly presented but my problem is that the "Customer Group" doesnt show against record 1 (the parent).  In usual circumstances my users will not expand the hierarchy, i
    just want the associated row value shown.
    Does this make more sense?  I hope so, and i hope somebody can help me resolve it.
    Thanks,
    Dom

  • Do the custom rollup member formulas work recursively for parent child dimension?

    Hi
    We have custom rollup set up for Account dimension which is parent child.
    It seems to work fine when the custom member formula refers to a base account member i.e. if the formula for MemberKey4 is (MemberKey1 + MemberKey2) then it shows the sum of the underlying members 1 and 2.
    But if the formula for MemberKey10 is (MemberKey3 + MemberKey4) then it should evaluate the value for MemberKey4 first and then add to it value for MemberKey3 to come up with final number for MemberKey10.
    Do the custom rollup work fine with the recursive calculations? Is this recursion limited to some level?
    Thanks
    Shailesh

    Hi Jorg,
    Thanks for your input.
    Actually the hierarhcy is more determined by the parent child relationship. So we cannot move the members as per the formula. And further the formulas are not always additive, there are divisions and multiplactions happening also.
    Further the calculated members (account members) are used in different places, the usage level of calculated members could be 3 in some cases i.e. MemberKey15 = (calculated using MemberKey10 = (calculated using MemberKey7 = (Calculated using MemberKey4 = (calculated using base members)))). Now inserting the base members in place of a calcuated member becomes more of string manipulation.
    And on the top of above complexity, the formulas are not static and they are more user defined, they may change between time periods, which forces us to write a dynamic procedure to translate the 'business formula' into SSAS formula. We expect the custom rollup to work as expected (i.e. if the formula contains a calculation involving the calculated member, it should resolve that first and so on) and we have written generic procedure to replace the Account Code in the 'business formula' with the accont key value with the account hierarchy char string.
    In the link http://doc.ddart.net/mssql/sql2000/html/olapdmad/agmdxadvanced_6jn7.htm for AS2000, it talks about the calculation pass deapth, it says:
    .......If a cube has custom rollup formulas or custom rollup operators, a second calculation pass is performed to handle the computations needed to calculate these features.......
    Now from the above, it is obvious that the OLAP engine will automatically go into recursion if the formula contains a cacluated member and it knows that the calculated member has to be resolved first before calculating the final formula result. The above article also talks about 'Calculation Pass Number' property in the AdvanceCube Editor (AS2000), which can be set to the value depending on the expected number of passes required in a given scenario. I don't find such an equivalent peoperty for SSAS 2005.
    Would anybody please throw some more ideas / insights on this issue?
    Jorg, thanks  again for your input...
    Shailesh

  • Diferent font format for Parent/Child

    Hello,With Excel Add-In, we can format the letter font differently for parent and child, using the Essbase Option (Style -> Members -> Parent -> Format).How can we do, the same thing, using Analyzer.Any help is appreciated.SL

    Hi,Unfortunately there are no advanced formatting options in the current release of Analyzer (6.2.1). You can either format the data or the metadata (headers). I believe in the next release there are plans to incorporate more formatting options.Hope this helps.Paul ArmitageAnalitica Ltdwww.analitica.co.uk

  • API for parent-child flex value norm hierarchy

    Hi,
    We are looking for an API to create or delete parent - child flex value hierarchy.
    Could someone please advice?
    Thanks

    Yes, I did check here but did not find any information.
    http://irep11i10.oracle.com/OA_HTML/OA.jsp?page=%2Foracle%2Fapps%2Ffnd%2Frep%2Fwebui%2FInterfacesBrowsePG&_ti=2085868704&oapc=3&oas=ioOnKXcQLw-VgcHrVUTNXQ..

  • Missing field for MDX query for All Members

    Hello,
    I'm using MDX query with SSRS for report and I ran into this issue:
    Query 1:
    select non empty ([Product].[Category].allmembers*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    go
    Query 2
    select non empty ([Product].[Category].[All]*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    In case I run query 2 in SSDT (query designer), it doesn't return first column whereas if I run above two queries in SSMS, I get similar columns/fields.
    How it can be resolved in SSRS to return all columns for query 1 and 2.
    Thanks,
    P
    mark it as answer if it answered your question :)

    Hello,
    I'm using MDX query with SSRS for report and I ran into this issue:
    Query 1:
    select non empty ([Product].[Category].allmembers*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    go
    Query 2
    select non empty ([Product].[Category].[All]*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    In case I run query 2 in SSDT (query designer), it doesn't return first column whereas if I run above two queries in SSMS, I get similar columns/fields.
    How it can be resolved in SSRS to return all columns for query 1 and 2.
    Thanks,
    P

  • MDX query for to get the data from two cubes

    Hi
    Can you tell me how to create MDX query to get the values from two cubes.  (One hierarchy from first cube and one hierarchy from second cube)
    Can you give me one example.
    Regards,
    Madhu.
    Sudhan

    Hi Sudhan,
    According to your description, you want to retrieve data from two different cubes, right? The short answer is yes. To query multiple cubes from a single MDX statement use the LOOKUPCUBE function (you can't specify multiple cubes in your FROM statement).
    The LOOKUPCUBE function will only work on cubes that utilize the same source database as the cube on which the MDX statement is running. For the detail information about it, please refer to the link below to see the blog.
    Retrieving Data From Multiple Cubes in an MDX Query Using the Lookupcube Function
    Regards,
    Charlie Liao
    TechNet Community Support

  • MDX Query for Top 10 in SSAS Project

    Hi Guys,
    Please I need an MDX query that will help me calculate Top 10 inside the SSAS project.
    Your help will be greatly appreciated.
    Thanks
    me

    Hi,
    I know nothing about PowerView and PerformancePoint Server but I played with Excel and I am able to use the named set I created. Here are the steps which I followed.
    1 - Create the named set. Remember... this name set appears inside the dimension which you use as the first parameter inside TOPCOUNT function.  
    2 - Deploy the cube and perform a process full.
    3 - Navigate to PowerPivot ribbon and click on PowerPivot Window.
    4 - Choose From Database > From Analysis Services or PowerPivot. Specify the necessary SSAS server credentials and connect to the Cube which you are interested.
    When it comes to the MDX query design window you construct your MDX code in SSMS and copy that code. You also can use the design mode as well. In this case you have to toggle the "design mode" option and enter to manual mode which you can type
    your MDX code. Here is a screenshot of that.
    5 - Validate your query and click Finish. Once the data is in you can create your power pivot report. Here is an example.
    I hope this helps to troubleshoot your issue.
    Best regards...
    Chandima Lakmal Fonseka

  • Team Calendar for Parent & Child Org. Unit Display

    Hi Experts, We have a requirment to show child org. unit employees which is associated with parent org. unit. When a employee is in parent org. unit he should be able to see the employees in child org. unit in the team calendar, this is the requirment. In V_PTREQ_TEAM we are maintaing 00000001 SAP Standard 01.01.1800 31.12.9999 Team View Mode View Group (MSS) ESS_LEA_EE In V_TWPC_OBJSEL    Object Selection : ESS_LEA_EE_DIR Rule for Objects :ESS_LEA_RULE1 Rule for Target Objects : ESS_LEA_RULE5 In VC_TWPC_OBJSELRULE ESS_LEA_RULE1 is for Org. Unit with evaluation path PTXSSORG ESS_LEA_RULE5 is for Person with evaluation path PTXSSDIR But I have tried here with coster evaluation path and other evaluation path, But desired result is not achieved. Do we have to use here any specific funtion module here  in VC_TWPC_OBJSELRULE. Please advise. Regards, IFF                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    Hi,
    Go through the below link if it is helpful to you any way, I think you might need to do some customizations.
    http://scn.sap.com/community/erp/hcm/employee-self-service/blog/2014/02/07/manager-self-service-mss--mss-team-view-managers-who-do-not-hold-chief-position
    Regards,
    Mohsin.

Maybe you are looking for