Different elements of different levels of hierarchy

Hi experts,
I have a question about hierarchies obiee 11g.
I need to do a table that contains (plain text, without '+' to drill-down) different elements of different levels of hierarchy
I have a hierarchy Account like this:
Level1
-----Level2
-------Element1Level2
-------Element2Level2
------------Level3
--------------Element1Level3
-------Element3Level2
My assignment is to do a table like this
Level1---------------
Element2Level2--
Element1Level3--
Element3Level2--
So I don't want to drill-down on Element2Level2 to see Elements of Level3...
How can I achieve this??
Thanks!

If I a not wrong, you basically want to flatten out a hierarchy. You should be able to do it using the Parent-child hierarchy concept newly introduced in OBIEE 11g where the RPD generates the DDL and DML for you, but you might have to build out an intermediate table to source the final flattened hierarchy table. Refer to this link which has a great example. ( http://prasadmadhasi.com/2011/11/15/hierarchies-parent-child-hierarchy-in-obiee-11g/ )
Thanks,
-Amith.

Similar Messages

  • Extract Data in Power Pivot from MDX with diffrentnt different Level of Hierarchy in MDX

    Hi All,
    My requirement is to extract the data form tabular model and put in power pivot,as all the measures calculation is present in model just extracting the aggregated data.
    Issue is appearing on Rolling up the data, so is there any way to extract the data so that it will display the right data on different level. As per the below example on level 2 data is getting summed up which is not correct.
    Ex:-
    Level1
    A
    10%
    B
    20%
    Level2
    30%
    Thanks Chandan

    Hi Chandan,
    According to your description, you create a SQL Server Analysis Services Tabular model and extract Data in Power Pivot from MDX, the problem is that the hierarchy data rolling up base on the hierarchy level, right?
    I have tested it on my local environment, we cannot reproduce this issue. So as per my understanding, the issue can be cause by the hierarchy setting in your tabular model. Here are some links about how to create and manage hierarchies in a tabular model,
    please refer to the links and check if the settings are correct.
    http://msdn.microsoft.com/en-in/library/hh213003.aspx
    http://www.youtube.com/watch?v=qKKNY1Vj_2c
    If the issue persists, please provide us more information about you hierarchy creation steps, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Show data from different levels of hierarchy in a report

    Hi,
    We have to show Budget Vs Actual for sales. We have multiprovider on two cubes (Plan & Actual).
    We want to report using Customer Hierarchy.
    Customer hierarchy is like -
    Level 1
    ---> Level 2
    > Level 3
    > Level 4
    > Customer1
    > Customer2
    > Customer3
    > Customer4
    Actual data is avbl  at Customer but Budget is at avbl only upto Level1 or 2 . 
    Budget Infocube structure
    Level1     Level2     Material     Calmonth          Sales QTy
    Actual Infocube structure
    Customer     Calmonth     Material          Sales Qty
    So how to create a BEx query so that I can show Budget Vs Actual for avaialble data?
    If I drill down uptp Level2 it will show Budget Vs Actual and for further drill downs only actual data.
    Thanks,
    Vikram.
    Edited by: Vikram Kate on Jan 2, 2011 12:46 AM

    Any suggestion/ idea pls.
    I am sure this is a valid requirement. If anyone know how to do it,  pls let me know.
    Edited by: Vikram Kate on Jan 21, 2011 1:04 PM

  • Display different level for same hierarchy value in BO 4.0

    Hi Expert,
    I have one question for Webi for BO 4.0
    We have one hierarchy in BW side and we hope to display differet level in same report for different column
    For example, column A is for level 6. column B is for level 7.
    Do you know how to releaze this in Webi side?
    In the 3.X version, we have different dimension for different level.
    But now in BO 4, it has been combined into one\
    Thanks and best regards
    Alex yang

    Hi,
    You can still do this in BI 4.0, if you use the old 'legacy'  MDX OLAP.unv from Universe Designer tool .
    Yes, with the BICS connection,  you are getting a native hierarchy, as it would be displayed in an OLAP environment.
    Cheers,
    H

  • Displaying different levels of the same hierarchy in the different columns

    I have a parent child hierarchy and wish to display different levels of the hierarchy in different columns of the resultset eg
    level 1 level 2
    Europe UK
    Europe France
    N America US
    N America Canada
    However writing MDX like the below
    select
    {} on 0,
    ([Geo].[level 1],[Geo].Level 2] on 1
    from cube
    results in the error "The [Geo] hierarchy is used more than once in the crossjoin
    How can I get around this??

    Hi,
    You can make use of CrossJoin function in MDX, I give a sample MDX based on the AdventureWorks database:
    select {[Measures].[Reseller Sales Amount]} on 0,
    crossjoin({[Sales Territory].[Sales Territory Group].[Sales Territory Group].members},{[Sales Territory].[Sales Territory Country].[Sales Territory Country].members}) on 1
    from [Adventure Works]
    After execut the MDX you will get the result like this:
    Reseller Sales Amount
    Europe
    France
    $4,607,537.94
    Europe
    Germany
    $1,983,988.04
    Europe
    United Kingdom
    $4,279,008.83
    NA
    NA
    (null)
    North America
    Canada
    $14,377,925.60
    North America
    United States
    $53,607,801.21
    Pacific
    Australia
    $1,594,335.38
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Colour in different ways, rows of different level of a hierarchy in WAD 7.0

    Hi all,
    Can anybody  tell me how  to colour in different ways, rows of different level of a hierarchy, in a web template? I’m working with WAD 7.0
    Thank you,
    Best regards
    Savino Pompa

    Hi wand,
    I know but i have to use Web template and i don't understand why By WAD 3.5 it  was possible format layout through stylesheets and now by Wad BI i can't.
    Thanks Savino

  • Reporting at different levels in a Hierarchy

    Hi,
    How can I report at different levels within a hierarchy? Currently within SAP and BW I have levels 1 to 7, however currently I have to go through level 1 to see any information.
    Please let me know, any help much appreciated
    Thanks
    Bhav

    Hi Riccardo,
    How can I create variables for selecting nodes of the hier?
    I can bring in the hierarchy, but any variables i create only allow me to select different hierarchies.
    What I am trying to do is create a report to run for level/ node 1 of 7 (the top level), this would allow users to expand if necessary and also another one that only has level/node 6 & 7, without levels/nodes 1-5.
    Any help would be much appreciated.
    Thanks
    Bhav

  • Use of BPMN diagrams on different levels (Business Process Architect 11gR1)

    I have an issue regarding the representation of different levels of diagrams in BPA... I have been using following types of diagrams from the highest level to the lowest:
    - Structuring model,
    - Value-added chain diagram,
    - Business process diagram (BPMN),
    - Business process diagram (BPMN),
    - Function allocation diagram (this is generated automatically).
    Those levels are linked with use of "Assignment" function on individual elements and that enables the user to drill-down to the last level (except between Structuring model and Value-added chain diagram - I can't find a way to link those two).
    As you might have noticed from the list of diagrams above, I have used two BPMN diagrams to represent two successive levels. Is this OK? On the first of those two diagram types, I represented activities with "Function" elements (I also used Start, Intermediate, End events and Rule elements).
    I linked every "Function" element to a more detailed BPMN diagram on the next level. That one includes "Human task", "Automated activity" elements (and also Start, Intermediate, End events, Rule elements and also others) and is eventually meant to be transformed into BPEL.
    That is how I understood the "Oracle_BPA_Suite_QuickStart_Sample_Guide.pdf" and samples included in Architect 11gR1. Is that the right way to do it? Does anybody have a better suggestion on how to represent the whole chain of diagrams?
    How can "Assignees" be represented in the BPMN diagram, where I used "Function" elements? Is it possible to link "Structuring model" elements to Value-added chain diagrams?
    I hope this describes my dilemma well enough and doesn't frighten you all away... I thank you all for your feedback in advance.

    It is possible to assign Structural Elements to any Model Type in BPA. If you are not able to make this assignment it is not active in your Method Filter. You can log in with the Entire Method filter to check this out. You can also modify the filter you are using to include this ability.
    The hierarchy you are using is fine and is a commonly used one. Some people use the EPC model, which is specifc to BPA and not a standard, at the level below the value-chain but many use BPMN as you have. If your intent is to use the first BPMN as a pure business process model then you may consider creating a separate custom Model Type, based on the BPMN model, with a scaled down set of allowable objects. This is also done through customizing the filter. If you do this you can also rename the model types in the filter if you wish to have different names at each level.
    Note of caution, modifying a method filter can have impacts and should generally be done by someone with a working knowledge of the meta model. If you chosse to change a filter supplied with the tool, copy it and rename it, then update the copy. Always retain the original filter provided with the tool. If you are doing something as simple as adding the ability to use the assignment between Structural Elements and Value-Added Chain models, that would be no big deal. If you get into reusing object and model types that has more impact on the functionality of the tool.

  • OBIEE report from multiple facts at different levels

    Currently we need to develop a report with columns from 3 different facts surrounded with conformed and non conformed dimensions at different levels.
    After setting the hierarchial levels and putting the facts into single logical table with different sources OBIEE is generating 2 different queries and does a full outer join.
    I would like to know how we can do a left outer join instead of full outer join between the 2 queries based on a common column?
    Thanks in advance.

    Hi Vinod,
    The scenario provided in the link above doesnt match to my issue.
    We need to develop a report from multiple fact tables at different levels with conformed & non conformed dimension columns.
    I have 7 dimensions D1, D2, D3, D4, D5, D6 and D7 & two fact F1 and F2 tables.
    F1 is tied to dimensions D1,D2,D3,D4,d5
    F2 is tied to dimensions D3,D4,D5, D6 and D7.
    In my report I have columns from D1, D2, D3, D4, D5, D6, D7, F1 and F2.
    So OBIEE generates 2 queries with columns from D1,D2,D3,D4,d5 & F1 measure and another query with D3,D4,D5, D6, D7 and F2 measure.
    and then does a cross fact join out of box between 2 queries.
    But I need to do a left outer join between the 2 queries on a common column instead of cross fact join. I would like to know how we can achive this.
    Thanks.

  • OBIEE Facts at different levels.

    Hi,
    I am bringing columns from three tables: Two facts and one Dimension table to create a OBIEE Report.
    The fact tables Workforce Event Fact and Employee Daily Snap Fact are at different levels, but both of them have proper joins with Dimension Employee Dim.
    When i am pulling columns from D1 and any one of these two facts, i am not facing any problem in seeing results. But when i bring columns from all of these three tables, i am getting this error,
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Workforce Event Fact) does not contain mapping for [Employee Daily Snap Fact.Exempt Indicator]. (HY000)
    Is there anything i have to do in Business Model layer to avoid this error. Many people suggesting to assign an aggregation level for these two facts. But i am not having any Dimensional Hierarchy defined.
    Thanks
    Swami

    Hi swami,
    Many people suggesting to assign an aggregation level for these two factsThis is a workaround i think where you need to create aggregate tables(not levels) and then use them for your purpose.(OR) you dint define the logical source table properly either correct it.
    Another work around i could suggest is,take the 2 fact tables columns needed into one alias table and make it as fact and join this fact table to dimension table and you can get all columns.
    Hope it helps you.
    Best Wishes,
    Kranthi.

  • Nesting of AGO or TODATE functions with differing level arguments is not supported

    I have a column in BMM which calculates the Year-To-Date Sales. This function uses the ToDate function to caculate the YTD.
    I need to develop another formula column which shows the last-year's YTD.
    I develop this formula in BMM by AGO on the YTD column which already uses a ToDate function.
    In BI Answers when selecting this column, results in the below message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 22044] Nesting of AGO or TODATE functions with differing level arguments is not supported. (HY000)

    To reply to my own question. It appears I got it working, that is, the error message problem is solved, but I still have questions on how to use these functions.
    To get it to work, I added the primary key D_TIJD.TIJDKEY at the level of the lowest grain in my dimension (level tab).
    What I still wonder is how to make it select the right values. I have the following hierarchy: bookyear - bookperiod - week. A bookperiod contains 4 or 5 weeks (4,4,5 in a quarter), so 12 periods in one year. I defined a measure at period level and another at that level with the ago function, that should return the figures for that same period of the year before. My first question is, whether to go back 12 periods or 52 weeks (which is the lowest grain in my dimension)?
    The second question is how to use a combination of TODATE and AGO so that if I calculate the current period (of which only 2 weeks are passed), I also only want to include the same two weeks for that period one year ago in order to make a correct comparison. How do I do that???

  • Entering budget data on different levels

    Dear experts,
    I have a question concerning posting budget data on different levels in BCS. In Former Budgeting there was an automatic check for budget entry which was not allowing greater amounts on lower level commitment items than on higher levels.
    Now with BCS there is not a hierarchical structure when entering budget data so you can enter a greater amount on subordinate commitment items than on superior ones.
    Do you have an idea if the budget entered on the lowest level can be totaled up automatically to the higher levels of the hierarchy or consistency checks should be defined in order to control budget amounts on the different levels???
    Thanks in advance.
    Best regards,
    sappsm

    Dear SAPPSM,
    In the Budget Control System (BCS) there exists no hierarchical budget structure which would take into account some funds center hierarchy, for example.
    This was standard function in Former (or Classical) Budgeting, but is not available in BCS only from EhP 603 on, you will be able to have multi-level budget structure but still in development phase.
    As a consequence, when you enter budget, budget values are only created at the level of budget entry (for example, at the 3rd level). Furthermore, BCS does not provide functions like "Distribute budget"
    or "Total up budget".
    However, you can "simulate" a totalling up of budget values via reporting. For example, for Report Writer reports like FMRP_RW_BUDGET you can use funds center groups (FM menu, Master Data, Funds Center), created by transaction FM_SETS_FICTR1. You can use such funds center groups with the Report Writer reports, which then automatically sum up the budget values according to the funds center group.
    BCS is a complete system with more possibilities than FB and you will be able to define strategy derivation for controling budget or posting address according to business process. Please check the documentation available in help.sap.com and in BCS node from SPRO configuration.
    I hope I could help you
    Kind Regards,
    Vanessa.

  • Substract as an aggregation rule for different level in a DIM ?!

    Hi there..
    I'm building a BI model based on financial transactions (incomes, expenses, etc..)
    and my main problem is how to substract a measure, where the aggregation rule is set to SUM, for different levels in the "Account" dimension?
    Example:
    I have the "Account" dimension with the following hierarchy:
    Account_ID / Account_name / Account_type / Account_total
    And, lets say, 2 rows in it:
    1.row in the "Account" dimension:
    account_ID : 100
    account_name : "Marketing expense"
    account_type : "Variable expenses"
    account_total : "Total profit" (total income - total Expenses)
    2. row in the "Account" dimension:
    account_ID : 200
    account_name : "Financial incomes"
    account_type : "Total incomes"
    account_total : "Total profit" (total income - total Expenses)
    "Total profit"
    "Tot. incomes" "Tot. Expenses"
    "Finan. incomes" "Market. expenses"
    The fact table has just one measure: "Amount" and, of course, some foreign keys:
    Account_ID -> "Account" dim
    Organization_ID -> "Organization" dim
    Date -> "Date" dim
    Amount
    The measure "Amount" in the fact table is positive both for expenses and incomes.
    Now, what I'm trying to do is to sum up that measure on my top level in the "Account" dim.
    At that level my report in Answers should substract "Total expenses" from "Total incomes"!
    How can I do that?
    thanks..
    Ivan

    Sorry to pop the obvious question, but can't you model that nicely and put it into distinct columns?
    If not, you can create derived measures on you fact using "case when" statements. One for the incomes with amount > 0 (or >=0 ...depends on where you want to have the 0's) and one for the expenses with amount < 0.
    HTH,
    Chris

  • Hierarchies - How can transaction data be spillited as per different levels

    Hi,
    Every One.
    I have issue splliting data in diffrent leves of hierarchy,how it can be resolved!
    In detail,if i say
    We are getting all transaction and master data in flat file.
    Master Data is in the format- Global Parent ID,Global ID,Local ID,Company ID
    Transaction Data in the format as givn below-
    Local ID,Company Id,Total Spend.
    To get the drill down facility,we have added hierarchy as- Global Parent ID->Global ID->Local ID->Company ID
    It is not spilliting in different levels,say total spend is fixedin  Local ID,Global ID and Parent ID.
    if we have total spend 500 in some company(say ABCL),its every where same.So the purpose of drill down is not resolved.
    Say spend 500 shd be splitted in different Local ID,then In different Global ID and in every level,finalll giving overall total.
    Any suggesstions!
    Its high priority issue.

    If I understand the description and the query correctly, you are joining the budget with monthly values with the view that has daily values. This means that you get one row in the budget for each row in the daily data. So when you sum, you count the same
    month many times...
    Thus, you need to aggregate before the join, as in this example:
    WITH oms_values AS (
       SELECT Marknad, Distrikt,
              SUM(CASE WHEN convert(char(6), [Posting Date], 112) <=
                            convert(char(6), Getdate(), 112)
                  THEN [CY LC]*-1
                  ELSE 0
               END) AS "CYLC",
              SUM(CASE WHEN convert(char(6), [Posting Date], 112) <=
                            convert(char(6), Getdate(), 112)
                  THEN [CY-1 LC]*-1
                  ELSE 0
               END) AS "CY1LC"
        FROM  Vy_omsattning_per_marknad_och_distrikt
        WHERE [PostingDate] > convert(char(4), getdate(), 112) + '0101'
        GROUP BY Marknad, Distrikt
    ), budget_values AS (
       SELECT Marknad, Distrikt,
              SUM(CASE WHEN Period <= convert(char(6), Getdate(), 112)
                  THEN [Budget_LC]
                  ELSE 0
               END) AS "BUDGET"
       FROM   ManadsBudget
       WHERE  Period >= convert(char(4), getdate(), 112) + '01'
       GROUP BY Marknad, Distrikt
    SELECT oms.Marknad, oms.Distrikt, cms.CYLC, oms.CY1LC, mb.BUDGET
    FROM   oms_values as oms
    JOIN   ManadsBudget as mb ON mb.Marknad=oms.Marknad
                             AND mb.Distrikt=oms.Distrikt
    I had to guess what's in the Period column in the Budget table. I'm assuming that it is on the form YYYYMM.
    Note that I have changed the way you filter on the date columns. Converting to format 112 is often very powerful and helps to make the code shorter. And for the WHERE clause, this means better odds that any index will be used.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • WHAT IS THE CONDION TO BUILT DIFFERENT LEVELS IN ONE HIRERCHY

    WHAT IS THE CONDION TO BUILT DIFFERENT LEVELS IN ONE HIRERCHY..
    Can any one Help me Plese,
    Urgent

    hi Ashok,
    Go through the link this may answer all your hierarchy level questions
    http://gerardnico.com/wiki/dat/obiee/hierarchy
    thanks,
    Saichand.v

Maybe you are looking for

  • File Being processed in two cluster nodes

    Hi , We are having two cluster nodes and when my  adapter picks the file, the file is getting processed in 2 cluster nodes. I believe the file should get processed in either of the cluster node but not in both cluster nodes. Has any one faced this ki

  • 2014 MSI Workstation Workshop in Frankfurt(photo gallery)

    2014 MSI Workstation Workshop in Frankfurt. Workshop Setup- GT70 2OL. Wrokshop Setup- GT60 2OK 3K IPS Edition. Workstation Live Demo. Microsoft Sales Director Named Sales EMEA- Tom Costers. NVIDIA Professional Solution Senior Sales Manager Centrol Eu

  • Em does not start after servername has changed

    Is there a possibility to get the datanbase running in an ordinary way after the servername has changed after the installation of the database? System: Windows Server 2003R2 Oracle 10g R2 I have changed tnsnames.ora and listener.ora, so the client co

  • Data Update from ODS to Data Target

    To update data from ODS to Infocube, I right clicked on ODS and selected update data in targets and then scheduled it.  But in the monitor I am getting an error and status remains yellow.  The error is: Error when updating Idocs in Business Informati

  • Unknowned Error when Refreshing Objects in Excel 2007

    Business Objects Server Version: Business Objects XI 3.1 MS Office: 2007 Live Office: 12.1.4.1068 Crystal Reports: 2008 Issue: When attempting to refresh the objects for either Crystal Reports or a WebI Document, I receive an "Unknowned Error" messag