Time Hierarchy

We have a three level  time hierarchy
Year
    Quarter
       Month
When I run a evdre report with time dimension on col and memberset as self,dep,
If I choose 2008.total in CV, I will get data for quarter col, but no data for 2008.total col.
If I choose 2008.Q1 in CV, I get data for both Q1 and Jan,Feb and Mar, but I notice that the value for Q1 not equal JanFebMar.
Question 1.
   Why 2008.total col does not get data?
Question 2.
   Why 2008.Q1 Q1 not equal JanFebMar?

Hello Raghu,
Kindly note the below Time hierarchy :-
0CALYEAR
QUARTER
MONTH
WEEK
DAYS
Hope this helps you. Assign points if this helps you.
Cheers,
Sanjiv

Similar Messages

  • OBIEE 11g Time Hierarchy with YTD function problem

    Hi all,
    Platform: OBIEE 11.1.1.5.0.
    We have a Calendar dimension (*time dimension*), that includes the usual time hierarchy (Year > Semester > Quarter> Month > Day).
    Creating a Pivot Table with a YTD measure, using also the Calendar Table hierarchy, everything works fine, and we can drill up & down always getting the right YTD values.
    But, if we add to this analysis, a year and month prompts (filters), we only receive true YTD values, at the day and month levels of the hierarchy. Above this, values will sum up instead of getting the right YTD aggregated value.
    YTD logical column definition = TODATE(Table A.Measure B , Hieararchy.Year)
    Example of pivot values returned:
    *2011*=1192812 (Sum of the 3 Semester not the YTD value)
    Semester 1 = 377305 (Sum of the 4 Quarter not the YTD value)
    Quarter 1= 107460 (Sum of the 3 months not the YTD value)
    Jan = 18507 (YTD value)
    Feb = 35223 (YTD value)
    Mar = 53730 (YTD value)
    Is there anything that we might be doing wrong?
    Thanks in advance,
    Ricardo

    Ricardo,
    You might be aggregatign values twice either at RPD level or at reprot level. Please check on that.

  • Computation based on the drilling of a time hierarchy

    Hi,
    I have a cube with two dimensions A, B and two measures C, D.
    B is a date and I have values for each day of year.
    I have a classic time hierarchy Year->Quarter->Month->Day for B and A has also some other hierarchy.
    The report shows A, B where the user can drill down using the hierarchies and a computation.
    The computation that I must do is: the value of C at the beggining of the period plus the sum of D in the period.
    My problem is how to get the C at the beggining of the period since I do not know at runtime how far in the time hierarchy the user has drilled down.
    When I know the grouping I can do something like
    SUM(CASE WHEN B.day = B.Calendar Year Start Date THEN C ELSE 0 END)
    or
    SUM(CASE WHEN B.day = B.Calendar Month Start Date THEN C ELSE 0 END)
    to calculate the value of C at the beginning of the period but i do not!
    I cannot use the RANK function because it needs a PARTITION BY and I do not know how far to partition... year? month? day ?
    Example data
    A B C D
    a 1/1/2008 5 6
    a 2/1/2008 4 12
    a 3/1/2008 8 4
    a 1/2/2008 11 1
    b 1/1/2008 2 7
    b 2/1/2008 7 2
    b 1/2/2008 12 31
    So, if the user selects Year I sould get as result
    a 2008 5 + sum(D in 2008 for a) (where 5 is the value of C for a at 1/1/2008 for a)
    b 2008 2 + sum(D in 2008 for b)
    If the user drills down to Month I should get
    a 01/2008 5 + sum(D in 01/2008 for a) (where 5 is the value of C for a at 1/1/2008)
    a 02/2008 11 + sum(D in 02/2008 for a) (where 11 is the value of C for a at 1/2/2008)
    b 01/2008 2 + sum(D in 01/2008 for b) (where 2 is the value of C for a at 1/1/2008)
    b 01/2008 12 + sum(D in 02/2008 for b) (where 12 is the value of C for a at 1/2/2008)
    I just started building reports with Discoverer so I might be missing something. Please help!

    Thank you for the information about this. I now have a chart that displays based on a value the user enters into a text box.
    It looks like I have to delete a chart and then add it again, this time with the WHERE clause I would like to use. For some reason or other I have had difficulty modifying an existing chart in this way.
    Thank you again.

  • Problem with time hierarchy

    Hi gurus,
    I've the following problem, i have an input schedule, that has a expansion of two dimensions in rows and the time dimension in column. I'm using the time dimension without changing it I only add more new months, years and quarters for the next years.
    When in build an input schedule, the hierarchy of time doesn't work. I mean if i insert 100 in 2006.JAN and 200 in 2006.FEB.
    2006.TOTAL stills empty.
    But if i insert a value in 2006.DEC, this value appears in 2006.TOTAL
    Any suggestions i check everything and nothing seems wrong. Colkeyrange, expansion and refresh options, time properties is some things that i checked.
    Thanks in advance.
    Edited by: Jose Luis Fernández González on Mar 15, 2010 9:20 PM

    Hi,
    Do have other schedules with similar layout? Are they working fine?
    It looks like you have something wrong with your time hierarchy but check other schedules first.
    Then it is easier to pinpoint the issue.
    Cheers,
    Madis

  • Last Aggregation Method not getting applied for Time hierarchy(Y, Q & M)

    Hi,
    OBIEE: 11.1.1.6.2
    In my application there is a measure (closing balance) that we wish pick as LAST when ever we associate this measure to time hierarchy. In order to achieve this configuration we have set the Aggregation method as:
    Logical Column Window > Aggregation tab > Based on Dimensions (checked) > Under Logical Dimension
    Other: SUM(Measure)
    Time Hierarchy: LAST(Measure)
    Now what happens is that when we see this measure against the time hierarchy the the LAST value is not picked up, Example:
    Time-Hierarchy:
    2008
    2008-Q4
    Oct-2008
    Nov-2008
    Dec-2008
    What's happening is, instead of picking the Dec-2008 value, the 2008-Q4 value is displayed as Oct-2008 value. Which means that OBIEE is sorting the months under the Quarter node in alphabetical order (D, N & O) and then picking the LAST value as 'Oct-2008'.
    Kindly suggest what can be done to pick the right node value of Dec-2008.
    Thanks
    Prashant

    Hi,
    chek weather u have any data for DEC-2008 in fact table
    in which level u put the week,month, year hirarchy.chckthe session query weather it is doing any filter or order by
    mark helps
    thanks
    Edited by: Rupesh Shelar on Apr 7, 2013 10:03 PM

  • How to setting a time hierarchy

    Hi Expert,
    I have a issue with the hierarchy, when a expand a time hierarchy in the node Q1, retrieve the sum of month 1,2 and 3, but when I collapse the node, it retrieve the value of the month 3, how can i resolve this issue
    2011.01
    2011.02
    2011.03
    2011.Q1
         148.847,00 €
    192.928,00 €
    186.107,00 €
    527.882,00 €
      1.292.045,00 €
      1.055.436,00 €
      1.620.027,00 €
        3.967.508,00 €
         636.674,00 €
         994.089,00 €
         816.121,00 €
        2.446.884,00 €
           41.574,00 €
           44.853,00 €
           47.156,00 €
           133.583,00 €
      2.119.140,00 €
      2.287.306,00 €
      2.669.411,00 €
        7.075.857,00 €

    Hi Jairo,
    try by deleting the formula on the member Q1.
    Just leave the hierarchy to calculate the aggregation for the quarter.
    If the months of the Q1 are calculated then use solve_order at the end of the formula, to calculate the quarter after the months.
    Solve_order is explained here:
    SAP Library - SAP Business Planning and Consolidation
    How to use Solve Order in Dimension level formula
    MDX Formula Syntax
    Enrico

  • Time Hierarchy in BW

    Hello Experts, I am new in BW, I have a requirement to create time hierarchy, extructure (Date, Month/Year, Year). How can I create this Hierarchy with that extructure so I can use in my Query.
    Thanks in Advance.

    Hi,
    It is possible to use time hierarchy..
    I am not sure but any standard hierarchy is available in BW or in Source. Check in business content but.
    Else see if you can create the hierarchy manually or you can load it through flat file.
    Thanks and regards
    Kiran

  • Error in uploading time hierarchy data to the cloud

    I am having a trouble in updating a dataset with a time hierarchy.
    I created a dataset in the local LUMIRA desktop from an excel sheet, add a time hierarchy, and tried to upload the dataset to the LUMIRA cloud. However, the system gave me an error and will not accept the data.
    Could anyone having the same problem help me on how you have worked around this problem?
    Thank you very much for your help and advice.
    Kentaro Kawamoto

    Dear Tammy,
    Thank you very much for replying. Please let ma attach the screen copies.
    It will be nice if you could have a glance at them and provide some feedback if I am doing wrong procedures.
    The screens are copied from works in the local LUMIRA desktop.
    Excel data looks like below. Year and month data are present
    I created hiearchy for year and month, let system create Quarterly data.
    As a sample, I created a graph for sales by month.
    After composing the graph to a story, I upload the story and dataset to the cloud.
    System returns error.

  • Weird behaviour when drilling down in time hierarchy

    Hi Experts,
    We have time hierarchy
    year--->quarter--->month--->week--->day.
    But when im drilling down from Quarter it is showing the week level and not the month level and then again if i m trying to drill down from quarter then it is showing the month.
    What can be the issue here?
    Regards

    Hi,
    just check what u have set into preferred drill path tab for Logical level quarter.
    Regards,
    Vikas
    Edited by: user7312087 on Jul 7, 2009 12:27 AM

  • Virtual Time Hierarchy parameters

    Hello
    I have a few Virtual Time Hierarchies defined on our BW system.
    These are automatically shown in Business Objects webi when accessing a BEx query but they always show only 1 level.
    If I define one of the virtual hierarchies on my object in BEx and I set the number of levels manually this is correctly represented in Webi.
    Apparently the default level setting for Virtual Time Hierarchies is level=1
    Is there anywhere where this can be changed?
    I would like to set the correct level of each Virtual Time Hierarchy so these are all usable in Webi instead of the 1 that was defined in the BEx query
    Regards
    Filip

    Hello Jamie
    Did you find a solution for this?
    I found that it is possible if you activate the hierarchy display in the BEx query.
    Then you select the virtual time hierarchy that you want to be shown
    Important is to set the option "Expand to level"
    Once this is done the hierarchy reflects in Webi
    BUT the measures are not correctly shown if you dont have the lowest level of the hiearchy extracted as well in your webi query...
    sample
    YeaQuaMon
    - set expand to level = 3 in BEx
    - in the webi report you should also put the Month in the query (lowest level of YeaQuaMon) otherwise the aggregation is not going properly...
    I've been looking for a solution on the default level of the Virtual Time hierarchies but I was not able to find...
    Regards
    f

  • All member for Time hierarchy shows measures as NULL

    Hi!
    I've encountered the following problem.
    I have a simple Time hierarchy in my cube (Date -> Month -> Quarter -> Year) and when I try to filter data by inserting the filter into nested FROM I get NULL for ALL element. For example:
    SELECT NON EMPTY [DIM DATE].[DIM DATE].[All] on columns
    FROM (SELECT ({[DIM DATE].[DIM DATE].[Year].&[2015]}) on columns from [CUBE])
    WHERE ([Measures].[Measure1])
    At the same time this query returns me normal value:
    SELECT [Measures].[Measure1] on columns
    FROM [CUBE]
    WHERE ( [DIM DATE].[DIM DATE].[Year].&[2015])
    Is there anything wrong with hierarchy? What should I check at the first place?
    Many thanks in advance!

    Hi, Simon!
    Thank you for your reply!
    The problem is that I can't actually change those queries as they are generated by Excel 2010 while my cube is being browsed. Here is what I do in Excel 2010:
    1.Dim Date hierarchy is in Rows section and Measure in Measures.
    2.Dim Date is filtered - only 1 year is chosen.
    3. In my cube Total is empty, and here it is not.
    4. Here is what I get in MDX :
    SELECT NON EMPTY [DIM DATE].[DIM DATE].[All] on columns
    FROM (SELECT ({[DIM DATE].[DIM DATE].[Year].&[2015]}) on columns from [CUBE])
    WHERE ([Measures].[Measure1])
    Here is screenshot of Step-by-Step Sample cube, with an example for this situation:
    And the second query is for this simple situation:
    1.Dim Date is moved to Filters section and the same year is chosen there.
    2.Measure 1 is selected in the Measure section.
    3.Measure is not empty.
    4.I get this MDX:
    SELECT [Measures].[Measure1] on columns
    FROM [CUBE]
    WHERE ( [DIM DATE].[DIM DATE].[Year].&[2015])
    Here is a screenshot of Step-by-Step cube with same query. In my cube the situation in this case is the same:
    When I try doing this in MS Sample cubes - it works fine, totals are shown in both cases.
    Thank you in advance!

  • Time Hierarchy Display Error

    OBIEE 11.1.1.5
    I have a time dimension in my RPD that has date as the base level of a hierarchy with date -> month -> quarter -> year. I also have the date, month, quarter, and year columns available in the presentation layer along with the hierarchy.
    When I pull the month into a new analysis with a measure, the table displays the month (Dec 2011, for example) with 31 values - one for each day in the month. If I drill into the month it adds the date beside the daily measure value. If I use a pivot table rather than a table, the month displays one total like it should.
    Does anyone have any idea why it's displaying that way in a table?
    Thanks for your consideration.
    Handy Andy
    Edited by: Handy Andy on Apr 23, 2012 1:56 PM

    Try applying Sum on Measure in the table view. Table view you will not see any group by clause because of there is not aggregation funtion being applied where as
    Pivot view will execute a separate query execution directly on the database.
    Edited by: MK on Apr 24, 2012 4:52 AM

  • Time Hierarchy - Logic

    Hi All!
    I am trying to use a script for calculate the sales units weight of the months in the year.
    For example:
         Month /Sales Units
         2009.JAN / 10.000
         2009.FEV / 12.000
         u2026
         2009.DEC / 25.000
    Total Sales Units Year = 200.000
    The idea is:
    1- The user select the time periods - a full year - (2009.JAN, u2026, 2009.DEC)
    2- A logic function calculates the weight:
       a. 2009.JAN = 0.05
       b. 2009.FEV = 0.06
       c. u2026
       d. 2009.DEC = 0.125
    3- Let the user modify the weights in an input schedule and adjust the sales units in the next step.
    Here it is my script logic to implement the step 2:
    *XDIM_MEMBERSET SalesAccount=SalesUnits
    *CALC_DUMMY_ORG TIME=LEVEL
    *WHEN TIME
    *IS #MONTH
    *REC(EXPRESSION=%VALUE%/GET(TIME=#YEAR),SalesAccount="MONTHWEIGHT")
    *ENDWHEN
    *COMMIT
    But this is not working...
    Any help is appreciated!
    Regards, Fred

    Hello All!
    The problem was solved with the RUNALLOCATION function.
    See the code below.
    *RUNALLOCATION
    //The USING/USING brings the sales units (month) and was the way I found to handle with
    //the FACTOR instruction: as you know is (the amount of the WHAT region) * (the amount of the
    //USING region) / 100
    *FACTOR=USING/USING/TOTAL
    *DIM TIME WHAT=BAS(%YEAR%.TOTAL); WHERE=<<<; USING=<<<; TOTAL=%YEAR%.TOTAL
    *DIM SalesAccount WHAT=SalesUnits; WHERE=MonthWeight
    *ENDALLOCATION
    *COMMIT
    Frederico

  • Hierarchy Time Dependent ABAP code

    Dear Experts,
    I want to ask a custom BADI ABAP code to get the hierarchy of a dimension member where Time Dependent Hieararchy is implemented in that dimension.
    Currently we are using Interface method IF_UJA_DIM_DATA->get_hier_of_mbr to get the hierarchy reference.
    Sample Code:
    DATA: o_test     TYPE REF TO if_uja_dim_data.
    CALL METHOD o_test->get_hier_of_mbr
         EXPORTING
           i_member = lv_member
    *      i_dateto = lv_datum
         RECEIVING
           ro_hier  = lo_hierarchy.
    However after we implement the time dependent on the dimension, this method returns nothing unless we specified the i_dateto parameter to the method (which is optional).
    While my requirement is to get the hierarchy of the member with the date when this logic is executed, putting SY-DATUM to this parameter does not give me the result that I need. I need to put the i_dateto as '99991231' so the hierarchy returned by this method is the latest hierarchy, but not the current date where this logic is executed.
    Is there any way to make that the time hierarchy obtained is the one when the logic is executed? Or is there any other method that is feasible to meet with my requirements?
    Thanks
    Regards,
    Siswono

    Hi Siswono,
    Ok, I see what you mean.
    Then I would suggest that you determine the hierarchy end date first.
    read the hierarchy table by determine its technical name, then find the hierarchy with your date that's between the start date and end date, then you can use the end date for the next step.
    use get_hier_of_mbr with the determined end date.
    Andy

  • Tree hierarchy of time displays only first character

    The Database is Teradata and I am using OBIEE 11g.
    I have time hierarchy and I have used this tree in reports. But when I drill down on the tree, only first letters of the caption are displayed not entire string.
    Eg: instead of Q1-2010, just Q gets displayed next to the + sign.
    If I drill on quarter, instead of showing "April", it shows "A".
    If I just display the column or the column is in form of the usual 10g drill down, then it is fine.
    Could anyone suggest a solution for this ?

    This happens to be a bug in obiee 11g. SR has been raised.

Maybe you are looking for

  • Choosing Unique Values Generically and add respective data in Standard Input

    Hi, I want to send the unique data by generic checking and adding respective other data in case of Standard (X12) Input 850 Message. My Input : ISA*00* 00 *ZZ*THEM *ZZ*US 991221*1226*U*00401*000000025*0*T GS*PO*THEM*US*19991221*1226*1*X*004010 ST*850

  • How do I get Image Capture to recognize a printer on my network?

    I just got a new MacBook Pro. I have my epson printer on my network. How do I get Image Capture to recognize that I have a printer. Nothing comes up on devices. I'm sort of stabbing in the dark at network settings and I downloaded the latest Epson dr

  • Converting from excel 2004 to ical with Snow Leopard

    tried to import data via iCalMaker but was informed by the software maker that they don t support Snow Leopard. So ... a bit lost. I have the custom of preparing data in Excel, and would want to import some data into iCal. However I cannot find a goo

  • Obiee 11 installation in oel 5 , 64 bit os

    Dear All, when i start the installation using run installer then give the below error. i also download the jre 1.3.1 file and install but give the same error . any help .please Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-0

  • How to make Wi Fi Airport the Default connection

    I have an Airport and a MacBook Air. There are a dozen or so WiFi nodes near me. I want to specify one (mine) as the default. Every time the MacBook sleeps, I lose the connection and have to tell it where to hook up all over again. How do I -once and