QTD value in ASO

Hi All,
I have a ASO application with Time and Period dimension. The hierarchy of Time dimension is like:
Time
------Total Year
------Q1
------Jan
------Feb
------Mar
The hierarchy of Period dimension is like:
Period
-----FY11
-----FY12
------QTD
Now I write a MDX query as member formula for QTD. Which is:
IIF
(IsLevel([TIME].CurrentMember, 0),
Sum(
Parent([TIME].CurrentMember).FirstChild:[TIME].CurrentMember,
[Actuals]),
Missing
Now when I retrieve the QTD for any month it always gives #Missing value.
Can you please help me if I'm missing something?
Thanks in advance

garycris wrote:
A couple of different approaches. If you want to have QTD member that needs to be part of "View Type" Dimension. As Glenn rightly pointed out you have not referenced the member of the Period dim where the data is loaded so your tuple is implied to sum the time members in your formula and their intersection with the QTD member itself.
You need to add another dim to do these type of calcs, otherwise why not just create alternate hierarchies in Time dim to do QTD?As you suggested to do these type of calcs I need to add another dim, I already have that dim (Period). In my Period dim QTD is sibling of FY12, and Period dim is dynamic.
Alternate hierarchy is very good solution but if Iwant to move with a member QTD having MDX formula then what should I need to do?

Similar Messages

  • Sharing complex substitution variable values between ASO and BSO databases

    We have ASO and BSO Essbase database member names with spaces in, and need to store some of these member names in substitution variables. However, this has to be done differently for ASO and BSO, due to calc script syntax requiring double quotes and MDX requiring square brackets. For example:
    ASO:
    &CurWeek value = Week 1
    MDX: [&CurWeek]
    BSO:
    &CurWeek value = "Week 1"
    Calc Script: &CurWeek
    As a result, the substitution variables cannot be shared between the ASO and BSO cubes, since the BSO variable value requires double quotes due to the space in the member name.
    Is there a way to get the above to work with both ASO and BSO? Can the double quotes be escaped in calc script syntax? Or can the double quotes be removed in the MDX formula?

    Hi TimG,
    Apologies for such a late reponse to this, genuinely haven't had a spare second to reply until now!
    Yes, I suspect a complex alias name may be the best solution here, and to remove the spaces from the actual member names.
    I was not aware of the latter part at all. My colleague has confirmed as much on this too - DBAG 11.1.2.1 pp117 & 118:
    "Note: If a substitution variable value is numeric or a member name starting with a
    numeral or containing the special characters referred to above is to be used both
    in MDX and non-MDX situations, create two substitution variables, one without
    the value enclosed in quotation marks and one with the value in quotation marks."
    "To ensure that a new substitution variable value is available in formulas, partition definitions,
    and security filters, stop and restart the application. All other uses of substitution variables are
    dynamically resolved when used."
    This last paragraph is the most concerning since we were planning to be able to update substitution variables values and then access the new values from calc scripts and formulae instantaneously. This quirk is unexpected and a little inconvenient. We may have to look at scheduling a change of substitution variable value overnight, followed by a stop/start of the app ready for the next day, and to work around needing to access changed values instantly.

  • Wrong Month Ago and QTD values

    Hello all!
    I am using OBIEE 10.1.3.4 on Windows XP Professional SP3 with Oracle 10g. I have two fact tables (Sales, Bookings) and three dimension (Time, Geography, Product) in my schema. I used Time series functions to find Month Ago and quarter to date values for Bookings and Opportunity values. However only some values matches with previous month in Month Ago column and some do not. A snapshot is attached
    !http://i50.tinypic.com/2dioxn6.jpg!
    Similarly, QTD is not working
    !http://i47.tinypic.com/2hevs6w.jpg!
    Any ideas on this one?
    Thanks.

    hi,
    try one last thing....
    i will give you 2 choises...
    so,
    you made a bussines column with the ago function.ok?ok.make an other one,which leads the previus one the "ago" column.meaning you will have 2 columns....try your measures with the new one...
    the other solution is with msum...try this code...
    you have let;s say 3 columns.
    1=month=moth_clm
    2=your value one=measure
    3=has the code below=mesaure_ago
    case when month_vlm = '2009/01' then 0 else ("measure"- (MSUM ("measure",2) )) end
    this code returns the value from the previus record....
    so you will have
    month_clm----measure-----measure_ago
    2009/01-------10000000-----0000000000
    2009/02--------20000000-----10000000
    2009/03--------549290--------200000000
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • Error while running QTD using TODATE

    Hi All,
    I am having two tables TIME_DIM (YEAR->Quarter->Month) with ID
    Iam having a sales fact table (ID,TIME_ID,Sales).
    I have a time dimension with Year at root level and Month as ChronologicalKey.
    I have made a aggregation rule as sum on Sales column of FACT table.
    I have created a new logical column QTD sales with TODATE(SALES,Quarter).
    I get no errors when I do a global consistency check.
    In answers, when I run using QTD Sales , My BI server gets shutdown and gives an ODBC error with
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12002] Socket communication error at call=recv: (Number=10038) An operation was attempted on something that is not a socket. (HY000)
    SQL Issued: SELECT REVENUE_TIM_DIM.FISCAL_YEAR saw_0, REVENUE_TIM_DIM.QUARTER saw_1, REVENUE_TIM_DIM."MONTH" saw_2, "REVENUE_TIM_DIM"."KEY_ID" saw_3, Sales.SALES saw_4, Sales."QTD Sales" saw_5 FROM Test ORDER BY saw_0, saw_1, saw_2, saw_3
    Any help would be appreciated.
    Regards
    (S.Prashant)

    Since the column definition and the consistency check aren't throwing errors, we'll assume that your OBIEE columns are properly configured. That points us toward a problem somewhere in the database itself when executing the query, or to an incompatibility between columns in the query.
    So let's start with a simpler query. Try running the query without the Year and Month columns, just Quarter and QTD Sales. Does that work? If so, there's your problem. After all, what is the QTD value for a year-level time dimension value? It has no meaning. Now add the Month column back into the query. Does that run? Try to break the query down to its very simplest form, then add columns until you find the culprit.
    If the query does not run even with just Quarter and QTD Sales, you can diagnose the query by setting your user's logging level to 2, and running the simple Quarter and QTD Sales query. Let it fail. At at that point, you should be able to look at the session log (Manage Sessions, or look at nqquery.log) and pick out the PHYSICAL SQL that was sent to the database. Grab that Physical SQL and execute it on the database, using Toad or SQL Developer, whatever tool you like. It's possible that there is a database option whose flag isn't set to YES in the repository (Physical Layer, database object, Database Features tab).
    By the way, the phrase "root level" in a hierarchy typically means the lowest level, like the roots on a tree. In your case, that would be Month.

  • ASO dataload issue

    Hi,
    We are facing an issue with ASO dataload.
    When we load '0' values in ASO, we see them as #Missing in the smartview and in database->Preview data.This is impacting our formulas.
    We did not replace '0' with #Missing in our rule files.
    This works fine with BSO where we see '0' when the value is 0 and the rest as #Missing.
    Can I get any help on this as what could have gone wrong..
    Thanks in advance
    Edited by: 844747 on Nov 23, 2012 6:14 AM

    In one sense nothing has gone "Wrong" the default nature of ASO data loads is to exclude missing and zero rows. This is to keepp the DB small. Depending on what version you are on, you can overried this default behavour in EAS or MaxL.

  • Scaling X - axis in a Line Time series chart

    I have a QTD graph built using RSUM function on a measure for year and previous year .
    Plotting a X- Y axis plot with both the measures on Y-axis vs calendar days - ( Oct - Nov - Dec ) on X-axis.
    Requirement is with out adding any filters to the report can we just display data from Nov -1 to Nov 30 on the Plot. Zoom into the Graph for just the present month data. The reason for doing this is I am using a RSUM function on the column and if I add a filter for present month the QTD values change and will no longer be valid.
    Any suggestions appreciated.

    Thanks Vinod for the reply.
    Second customer doesnt have data on consecutive days but there is no pattern in that.He has data on 3rd,7th,8th,10th,15th day.
    But for all these days for the second customer dots are coming but not in the case for First Customer.
    Regards

  • Time Series - obiee

    Hi, I have te same post earlier; the website was down while
    posting; so, I reported. Please ignore this.
    Hello:
    I would like to know if time dimension works if there are
    14 periods ( 12 months + two more values that refer
    something else)? Can we create time series functions AGO
    and TODATE
    on this kind of time dimension?
    eg:
    Period - Definition
    0 - Some Balance
    1 - Jan
    2 -Feb
    12 - Dec
    100 - Some Balance
    If not possible, I would like to know what can be the possible way to get the YTD and QTD values.
    Can someone help me out on this.
    Thanks,
    Chandu.
    Edited by: 805205 on Oct 26, 2010 7:44 AM

    Hi, I have te same post earlier; the website was down while
    posting; so, I reported. Please ignore this.
    Hello:
    I would like to know if time dimension works if there are
    14 periods ( 12 months + two more values that refer
    something else)? Can we create time series functions AGO
    and TODATE
    on this kind of time dimension?
    eg:
    Period - Definition
    0 - Some Balance
    1 - Jan
    2 -Feb
    12 - Dec
    100 - Some Balance
    If not possible, I would like to know what can be the possible way to get the YTD and QTD values.
    Can someone help me out on this.
    Thanks,
    Chandu.
    Edited by: 805205 on Oct 26, 2010 7:44 AM

  • Planning DB Connection vs. Essbase DB Connection for DTS

    Hi,
    We have built a application in Hyperion Planning (Version 11.1.1.3) and I am now working on creating Hyperion Financial Reports. I have a question about the kind of database connection that should be established in order to avail Dynamic Time Series members in financial reports to obtain YTD/MTD/QTD values. What I understood from FR Admin Guide is that to avail DTS values, we have to create Essbase connection (and not Planning connection). My doubt is that although we have created application in Planning (and we refresh to Essbase), will there be a problem if I create an Essbase database connection for a Planning application?
    Thanks for any advice.
    Regards,
    Abhi

    Usually for reporting it is recommended to connect to Essbase. I guess the reasons are
    Some performance issues, and some reporting requirements based on Attribute dimensions etc.
    I don't think that anybody would connect to planning for reporting(FR)
    --Ram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Variables for Fiscal year YTD, MTD and Quarter to data

    Hello Gurus,
    I have a fiscal year that runs from September to August. Is it possible to create a customer exit variable for Fiscal year YTD, fiscal year MTD and fiscal year QTD (quarter to date) based on sy-datum and not though user entry.
    If yes, then how should I restrict my key figures so that the user don't have to enter any date and the varaibles derive the data based on sy-datum.
    Looking forward to your expert advices
    Thanks,
    Rishi

    Hi Rishi,
    I understand your query some extent,You can create Characteristic varaible with processing type  Customer exit for fiscal year MTD and fiscal year QTD (quarter to date) based on sy-datum.
    If you want to see fiscal year MTD and fiscal year QTD  values in the column level, you have to create Text variable with replacememnt path.
    Do as follows.
    1) Create Characteristic varaiable  with processing type Customer exit. Search for required code in the SDN.
    2) Create the restricted keyfigure on required keyfigure.  Restrict it on fiscal year MTD and fiscal year QTD  with Char variable to enter year value.
    3)After maintaining the restricted keyfigure  (In the same step ) Create a text variable to get the value populated with the year specified with the processing type Replacement path with characteristic Fiscalyear.
    I hope above steps definetely help full for you.
    If any case you need  help let me know.
    Thanks,
    Chandu.

  • QTD in ASO - FR report

    Hello,
    I have to build a FR report with ASO as the backend. My requirement is - if the user selects the current month via runtime prompt, report should take that value and give the QTD number for actuals, budget etc.
    Any suggestions on how to accomplish this?
    Outline has regular period structure. Months rolling to Quarters and then Year.
    Thanks!

    Hi,
    I believe we implemented this at a client a while back ago by using the Relative function in FR. First you need to create a QTD hierarchy. ASOsamp has an example:
    Member Formula
    QTD(Jan) [Jan]
    QTD(Feb) [Jan]+[Feb]
    QTD0Dec) [Oct]+[Nov]+[Dec]
    In FR Select Members window, click on Current Point of View for Period > Function button > RelativeMember. Put 12 as your offset value and select Lev0, Period for your RelativeMemberList. Click OK. When you select Jan from the POV, the report now should run for QTD(Jan).
    Cheers,
    Mehmet

  • YTD,QTD & MTD values for variable under 0CALMONTH

    Hi Gurus,
    I need to calculate YTD,QTD & MTD values for a KF based on the value that the user enters in the variable under 0CALMONTH.
    I have the code for how it can be done using 0CALDAY but not sure for 0CALMONTH.
    Can you share the ABAP code for this requirement.
    Your help will be greatly appreciated.
    Thanks
    Arvind

    Hi,
    Based on the month entered by the user, take First day of the month in teh exit,
    1. YTD :  Take SY-DATUM and calculate YTD
    2. QTD :  Based on the Month you calculate Quarter
    3. MTD :  Take SY-DATUM and calculate MTD
    *Note: * If they give only Month want to date meanes, only SY-DATUM will be accepeted, because they are not passing 0CALDAY
    Thanks
    Reddy

  • Wrong date value in Essbase ASO cube

    Hi All,
    I'm trying to load a date value in mm-dd-yy format into an Essbase ASO cube. I'm using is a txt tab delimited file. The load rule is working fine. The outline properties is set with the proper format "mm-dd-yy". I loaded the data and when I retrieve the data using Smart View I see all the dates decreased by one day in my Smartview report.
    Would you have any ideas why that is happening?
    Thanks

    this is a bug and fixed in 11.1.2

  • ASO - member level formula - rolling up non-additive values

    <p>I am trying to roll up not additive values (Yields, Percents,Spreads, etc.). In order to do this I have weighted members andmembers to weight them with. This seems to be working okay until Iget to a level where the weighting values are different. Here isthe formula I have today.</p><p> </p><p>IIF (IsLevel ( [Fixed_Float].CurrentMember, 0)</p><p>AND IsLevel ( [Public_Private].CurrentMember, 0)</p><p>AND IsLevel ( [Pre_Post Swap].CurrentMember, 0)</p><p>AND IsLevel ( [Credit Standing].CurrentMember, 0)</p><p>AND IsLevel ( [Credit Grade].CurrentMember, 0)</p><p>AND IsLevel ( [Acq_Disp Reasons].CurrentMember, 0)</p><p>AND IsLevel ( [Investment Type].CurrentMember, 0)</p><p>AND ISLevel ( [Division].CurrentMember, 0)</p><p>AND IsLevel ( [Asset Transactions].CurrentMember, 0)</p><p>AND ISLevel ( [Time].CurrentMember, 0)</p><p>AND ISLevel ( [Scenario].CurrentMember, 0), [Book YieldInput],</p><p>IIF (ISANCESTOR ( [Investment Type].CurrentMember, Derivatives), [Book Yield Wtd]/[Face Value] , [Book Yield Wtd]/[BookValue]))</p><p> </p><p>The outline structure is:</p><p> </p><p>Total Assets</p><p>        Assets  (Book Yield Weighted * Book Value)</p><p>            Bonds</p><p>            Mortgages</p><p>            etc.</p><p>        Derivatives(Book Yield Weighted * Face Value)</p><p>            LiabilitySwaps</p><p>            NonLiability Swaps</p><p> </p><p>Here is my outline. Basically anything on Derivatives &below should use Face Value and anything on Assets & Belowshould use Book Value.</p><p> </p><p>So when I get to Total Assets (Assets + Derivatives) how do Iblend the weighting values?</p><p> </p><p>Also, My formula as it is does not calculate the member"Derivatives" correctly either. How do I say Derivativesand all its children use Face Value?</p><p> </p>

    While there is an MDX way to calculate what you need, I think you'll want to use an alternative.
    The MDX member formula to calculate what you want, which you'd make the formula for a new account that you're trying to define, would be something like:
    Sum (
    Descendants ([Year].CurrentMember, [Year].Levels(0)),
    Sum (
    Descendants ([Time].CurrentMember, [Time].Levels(0)),
    [Interest Rate] * [Receivables]
    (I'm not sure what role [Transaction Count Indicator] plays; perhaps including
    Sum( Descendants([Transaction Count Indicator].CurrentMember, [Transaction Count Indicator].Levels(0) ...)
    is also warranted.)
    If your cube doesn't have any more dimensions than these, and they're not much bigger than you've indicated, then MDX performance on the aggregation won't be a big deal- your cube is pretty small. If your cube is much larger, then you really want to load a field that is the result of multiplying [Interest Rate] * [Receivables].
    When you say "Both sources contain attributes for all members in the Outline", I interpret that as "both sources have all the same dimensions". If that's the case, would it be possible to stage both sources to a single file and as part of the staging perform the multiplication? If you can stage to a table or even a view onto a join of two tables, then you can have SQL perform the multiplication. I don't think that you can specify the multiplication as part of a rules file (though I'd be happy to learn that you could).
    HTH
    George Spofford
    http://www.dsslab.com

  • ASO: MDX Retrieving Last non #Missing Value.

    Hi,
    I am trying to create MDX.
    I have data as follows:
    Jan Feb Mar Apr May Jun
    10 20 #Missing #Missing #Missing #Missing
    Is the following possible, that every member of the time period is parsed, and if data found #Missing, the value is changed to last available value.
    So, in the above example, I get Mar through Jun as value 20.
    All help is deeply appreciated. Let me know if any further description is required.
    Thanks.
    Ankur.

    At a fundamental level you would do something like
    Create a member in your measures dimension called [Last_Sales]
    add member formula
    IIF((NOT IsEmpty([Measures].[Sales]), [Measures].[Sales], ([Measures].[Last_Sales], [Time].PrevMember)
    Now this should work if you in fact encounter a value before reaching the beginning of the time dimension. If there is a chance no value will be found, this would error, so you will have to add more code around it to test for those scenarios.
    This topic is covered in depth in Chapter 5 of George Spoford's book 'MDX Solutions'.
    If you are going to be working with MDX, you should read this book.

  • ASO members with formula not rolling up

    Hi Gurus,
    In our ASO cube we have a members which caluclate % are not rolling up to parent . Its rolling up for MTD but they are not rolling for QTD . Members are in Account dimension .Please let me know if you require more info to get the excat idea .

    These are MDX formula members, right? Is the problem that the results are recalculated at the QTD level rather than the MTD level summing up the Period dimension?
    Is Period a stored dimension? The members / formulae in dynamic dimensions or hierarchies will always be calculated after roll-up of stored dimensions / hierarchies.
    See the section on 'Calculation Order' here: http://docs.oracle.com/cd/E26232_01/doc.11122/esb_dbag/alocare.html#alocare1058144
    If that is the problem you're seeing, the only options are a) to use an ASO calculation to derive the percentages as stored values, which can then roll up in stored hierarchies, or b) calculate the percentages outside of Essbase - in a relational staging area, for example.

Maybe you are looking for

  • "iPod cannot be synced. A duplicate file name was specified"

    I get this error: And then end up with this screen: I have my iPod manually managed, none of my music is actually organized into an iTunes folder or anything, my iPod is NOT automatically synced with iTunes. I do automatically sync photos to my iPod

  • 'Select a measure:' stuck on 'Loading...' in Dashboard Designer KPI Dimensional Data Source Mapping

    [using SharePoint 2013 Enterprise SP1] I am trying to create a KPI in Dashboard Designer, but am getting a timeout. I have been doing this for a while on my site; this is not the first. I haven't had this problem before. I created a new KPI and click

  • OMWB?

    Posting lines                          Val gr code            AGC   val class    A/ C dt          A/C Cr Gain/loss from revaluation     1000                          e          3030      4032020        4032020 Inventory posting                   1000

  • How do you change the name of a group message

    I started a group message with 5 of my friends but I also have another group message with a few of the same people but it's confusing which one I want to send a message to regarding a certain topic. can I change the name of the group?

  • Create Tabel having LONG Data Type

    HI Team, I want to create table but for table i have 2 LONG data type is throwing error message please give the light