AGO Function doesn't use full previous period

Hi,
I am using ago function in obiee 11.1.1.6. If my current period is April, AGO (quantity, MONTH, 1) only returns the data from 1 to 30th of March and not the full month. Seems it's trying to match the number of days in the current month and uses the same number of days in the previous month. Is this the known issue? Is there any workaround? I want full month data for the previous month using AGO function.
TIA

HI,
Obviously it must use all the dates from the previous months, just check with dimension hierarchy you created.
Take a look @ this mkashu.blospot.com/2013/08/obiee-model-time-series-in-obiee.html
Regards,
VG

Similar Messages

  • Email function doesn't use address book data (OSX)

    Do you realy have to manually type in addresses? Why not use the address book data from the system (OSX in my case). I must be missing something because this is too absurd....

    I think a lot of people wanted email integration, and that the address book is not integrated came as a big surprise. I've spent a lot of time making my address book on my Mac sync across all my devices (and not without heartache too). To have to maintain another seems a real mistake.
    Currently I have some clients who will only accept submissions via email, so cutting this workflow down, and minimising the number of intermediate files I create and then have to trash after emailing them would be a major benefit.
    There's not even an import funtion. As Tom Hogarty says "I realize that this feature has 1998 written all over it but it’s still a very common request to be able to email from directly within Lightroom." However  the implementation is also very 1998 with this very limited integration.
    When you actually email, from a mac at least using apple mail, it does pop up the message pane. So you do have a chance of adding addresses from your address book at that point. And choosing the email account from which you send the email (I have a number of accounts defined in my mail). And checking your're sending the right stuff! But it's all extra work.
    But if you do need to use your OS address book then you can just use a dummy address (I created me with a nonsense address) and use that for speed.

  • Ago function with full past year

    I want to create an ago function. But if the ago function is for the full past year and not only for the same current period.
    Example:
    Period ||YEAR || Amount
    1 || 2008 || 10
    2 || 2008 || 10
    3 || 2008 || 10
    4 || 2008 || 10
    5 || 2008 || 10
    6 || 2008 || 10
    7 || 2008 || 10
    8 || 2008 || 10
    9 || 2008 || 10
    10 || 2008 || 10
    11 || 2008 || 10
    12 || 2008 || 10
    1 || 2009 || 5
    2 || 2009 || 5
    3 || 2009 || 5
    4 || 2009 || 5
    Report for year 2009 period 4 should be
    YEAR || TODATE || AGO
    2009 || 20 || *120*
    Does somebody has a solution for the result 120, Thanks

    Hi Jim,
    In your BMM layer create a duplicate column for the amount and name it as ago.
    double click that and make the source expression as AGO(amount, year,-1) like that.. i dont remember the exact synatx. but the point is give the column name for which year ago value needs to be calculated, parameter to be taken into account eg year or month or week and no. of year or month.
    and in the aggregate column use sum.
    use this column in your report it will give 120.
    if it doesn't work please tell us.
    Thanks,
    karthick

  • Using aggregates in AGO function

    Hello!
    I want to use AGO function that would use aggregates.
    Requirements:
    I want to be able to make year-to-year comparision, where I compare period based on specific dates
    This same year-to-year comparision I want to speed up using aggregated fact tables grouped on months level.
    I created aggregated SALES table and aggregated time table (group by month) and it works OK with normal queries. It uses aggregated tables when apropriate (possible)
    When I use AGO function it always goes to fact table, which time dimension is at lowest level (i.e. date). How can I force BI server to use monthly aggregated tables in AGO function?
    Any tip, workaround?
    BI server 10.1.3.2.1
    Thank you,
    Gorazd
    Message was edited by:
    gor
    Message was edited by:
    gor

    I tested it and in case of AGO function it goes to detailed fact table SALES instead on agg_sales. Any tips?
    Gorazd
    Message was edited by:
    gor

  • Table for previous period stock

    Please provide me the table name or report from which I can get only quality stock in previous monht
    I just need the quality stock in previous month
    need a table

    xxxxH tables certainly have correct data, just not in good readable form.
    you need to use a function module to retrieve the previous  period stock:
    A calculation of previous period data for table MARD could have the following form.
      select * from mard into table mard_tab where werks = 'ABCD'.
      call function 'MARD_EXTEND'
        exporting
          xvper = 'X'
        tables
          mard_tab = mard_tab.
    table MARD_TAB is filled with the previous period information.

  • Problem using Ago function

    Hi all,
    My problem is that when i use ago function it displays next months value for example first column shows balance of april month and next to it ago column displays balance of the may not march. I am really confused. Please help,
    AGO(SR02BriefIncome.sr02_cube.BALANCE, SR02BriefIncome.timesDim."times Detail", 1);

    Hi Nico,
    Another question in relation to Ago function; I need to get value/balance a year ago which is 12 months ago, and also previous year's last months balances; the problem is that Ago function takes only integer, I have tried to put a variable, Is there is way i can get balances of the previous year's last month because it will be much easier to get it using built-in ago function.
    Also i need help with your answer for thread How to use row values in Presentation or Administration for calculation
    Re: How to use row values in Presentation or Administration for calculation
    "Yes, I forgot this one. Of course, this solution work when you have a pivot column.
    If you talk about period to period comparison, really often I must do a share like this one : ($2-$5)/$5.
    And unfortunately, this is not possible in a calculated item. Is it ?"
    We have a lot of reports with inter-row calculations, we have already used a lot sql model but we would like use answer also. Can u explain it with exact examples or steps.
    thank you again,

  • Using text in AGO function

    Hi guys,
    I have a factless fact (indicator and some textual field) that I need to display for previous year.
    I need somehow to use it in AGO function - I'm getting error message that AGO can only accept aggregated measure.
    Any ideas?

    Great tip! I'll try...Mma - nice to see you back in action :-)...Worked like a charm!
    Message was edited by:
    wildmight

  • Using AGO function with partitions

    I have a situation where we have logical sources with the same repository folder that are partitioned. We would like to use the AGO function but are getting the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22042] AGO function may not be used on '# Applied Invoices' because its source is horizontally partitioned. (HY000)
    Has anyone had success using the AGO function with partitions? If not, do you have an alternate solution to the problem?

    AGO doesn't work with partitions - it's documented on metalink....there's an enhancement request , but that's it - no work-around provided....I'd suggest creating a common view for that particular report

  • How to get "Valuated unrestricted-use stock in previous period"

    Hi!
    I need the Valuated unrestricted-use stock in previous period for a material.
    I'm using the MCHB table but CVMLA field doesn't match with the value calculated by standard tcode.
    There is any FM that can help me?
    Thanks
    Salvatore

    Problem solved

  • How to find the year ago measure with out using time series functions

    hi all
    is there any way to find year ago sales with out using time series functions like ago
    Thanks
    Sreedhar

    Hello Madan,
    Thanks for the reply.
    It still doesn't consider the product into account.
    My columns are as below
    Prod Week End DATE Current Sales Prior Sales % Change
    A 12/4/2010 100 0
    A 12/11/2010 200 100
    A 12/18/2010 300 200
    B 12/4/2010 400 300(this value is not for prod B, i want this to b 0 aswell. But we get product A's last sale amount)
    Is there any way this can be done. I have tried evaluate,MSUM.
    I cannot build a time dimension as all I have is a view.
    Thanks,
    Deep

  • Which table i can use to get standard price of previous periods ?

    Hello, all.
        Which table i can use to get standard price of previous periods ? Example, current period is 2008/11, i want to get the standard price of period 2008/05 .
    Thanks.
    Xinzhou.

    Look in MBEW and MBEWH.
    Regards

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • How to use Ago function in BIEE with mysql database

    Hi experts,
    Ago function works well in Oracle database,but when I tried a mysql database,it didn't show results as expected. Anyone knows how to use Ago with mysql as data source?

    Hi Gurus, need help

  • Error while using Ago function

    hi all,
    OBI 11.1.1.7.1
    I am unable to view data on result tab. No value returned in Calcutated Attribute. Please Help
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22040] To use Ago function, the storage level of the query ('[Time Dim.PAY_DT]') must be a static level.Please have your System Administrator look at the log for more details on this error. (HY000)
    Regards,
    Nivedita

    Substr("Fin Account".ASSET_NUM, 1, instr(Fin Account".ASSET_NUM, ':')+1)
    or
    Substr("Fin Account".ASSET_NUM, instr(Fin Account".ASSET_NUM, ':')+1,50)
    i think you should use 3 parameters, did you try that if it would work?
    additionally check what is the default format of your data: go to column properties -> data format; if its text then ok; otherwise you will have to cast the number to char; in such a case the above could be:
    Substr(cast("Fin Account".ASSET_NUM as char(20)), 1, instr(cast(Fin Account".ASSET_NUM as char(20)), ':')+1)
    or
    Substr(cast("Fin Account".ASSET_NUM as char(20)), instr(cast(Fin Account".ASSET_NUM as char(20)), ':')+1,50)
    Edited by: UserMB on Jun 25, 2009 6:17 AM

  • Proper use of AGO function

    Dear All,
    I have to report on cubes that have their data aggregated on the day level. Standard reporting works fine. Now I want to do some historic comparison. I therefore created some calculation columns in Administrator, e.g.
    AGO(fact, dim_time.month,1)
    which shall give me the value of the fact just one month (and quarter and year in other columns) ago. If I report this on a daily basis, e.g day, fact, fact_month_ago I can see the report and calculation is correct, fact_month_ago is exactly the sam as fact from one month ago.
    But now I start to aggregate such a report to the month level (in Answers). So the report is month, fact, fact_month_ago. Now, some months are correct some are different. Looking deeper into this I assume this belongs to the number of days in a month. February has 28 days, so in the monthly report 28 lines are aggregated, even for the fact_month_ago table.
    In this case month_ago is January, which has 31 days, but 29 to 31 are not aggregated, as the report goes only from feb 1st to feb 28th.
    In the end the sum of the month_ago calculation is unequal to the sum of the last month.
    Does this mean I cannot use AGO function to calcualte things like that, or is there any trick or other function that would help here ?
    Regards,
    Knut

    You can have problem if you are going in a lower level such as week or date but if you stay on the month level, normally you must have the good result.
    Check here to have an example of this problem:
    http://obiee101.blogspot.com/2009/01/obiee-leap-year-challenge.html
    Otherwise, check your set up:
    http://gerardnico.com/wiki/dat/obiee/bi_server/design/dimension/time_dimension_parameters_for_ago_and_td_functions#timecalender_dimension_design_verification
    See each punt that are listed under the paragraph Time/Calender Dimension Design Verification. A good time dimension is the key for a good result with the time series function.
    Cheers
    Nico

Maybe you are looking for

  • Sinlge select query in diff schemas for same table(Indentical Structure)

    Scenario : Table XYZ is created in Schema A After an year, the old data from the previous year would be moved to different schema. However in the other schema the same table name would be used. For eg Schema A contains table XYZ with data of 2012 yr

  • Silly but...How do get the accountId of the current admin in a UserForm.

    I know how to do this in Workflow but I can't seem to determine how to do this in a UserForm. I want to get a handle on an User object for the currently logged in admin user so I can reference <user>.adminRoles. I was intending to use: <invoke name='

  • PHotoshop CS4 - scanner doesn't show up in File - Import

    Hello, I have an Epson Perfection 4180 scanner, and Photoshop CS4 extended and a Mac OSX 10.6.3.  I installed photoshop but the scanner doesn't show up under the File>Import menu. Normally it be there, i'd click it, and it launches the scanner within

  • How to connect to secure Wi-Fi ???

    I am a new Nokia X7 user. I had no problems connecting to my home wi-fi network, as it was not secured. At school however, there is a secured network. I have login information, I have a username and password. When I try to connect, the status changes

  • Address code in PO

    Hello, In PO item level, in delivery address I can see address details are populated but where as address field is empty with no number in it.Could some one let m eknow from where the address number is copied?