Does ago function works at day level in obiee 11g

Hi,
I want to know does AGO function works well at day level in Obiee 11.1.1.6 .
Edited by: user12635494 on May 8, 2012 2:58 AM

Yes, it will work. Just double click the Time level (say year/month/week), mark it as a chronological key (on keys tab). Use that in your AGO function

Similar Messages

  • AGO function is not returning value in OBIEE 11g

    I have 2 tables FIN_MASTER AND FIN_TRANS. 
    FIN_MASTER  is having the following fields org_code, type_code, vr_no, vr_Date, pay_to .FIN_TRANS is having the columns org_code, type_code, vr_no, acct_code. debit, credit.
    PK of FIN_MASTER is org_code, type_code, vr_no
    PK of FIN_TRANS is org_code, type_code, vr_no, acct_code
    I have imported these two tables in to physical layer and created join between these two tables on the following keys. org_code, type_code, vr_no. Then i dragged these two to BMM layer. Now i created 3 new logical columns in DIM_FIN_MASTER as year, quarter, month. These 3 columns are created using the functions year(vr_date), month(vr_date), quarter_of_year(vr_date). Then i created a dimension heirarchy called TIME( structure type is TIME) from this DIM_FIN_MASTER. and set chronological key on month level. Then I applied the AGO function on debit column with month level. After that, repository is uploaded and BI server is restarted. Now amount is not displaying in AGO function column in analytics. That column is appearing as empty. 
    Please advise me.

    Here is the dirty fix, I'm heading off to sleep.
    If the function CurrentAdId doesn't return a number, then
    this will ensure it returns 0 (prevents your error, may not display
    an ad):
    <CFFUNCTION
    NAME="CurrentAdId"
    ACCESS="Private"
    RETURNTYPE="numeric"
    HINT="For internal use. Returns the Id of the current ad in
    rotation.">
    <!--- Return the adId from the current row of the
    GetAdIds query --->
    <cfset var returnVal = ListGetAt(THIS.AdList,
    THIS.CurrentListPos)>
    <cfif NOT IsNumeric(returnVal)>
    <cfset returnVal = 0>
    </cfif>
    <CFRETURN returnVal>
    </CFFUNCTION>

  • 24 hours after setting the erase button on the Find My iPhone option in iCloud the phone was still not erased. Does this function work in a timely fashion?

    24 hours after setting the erase button on the Find My iPhone option in iCloud the phone was still not erased. Does this function work in a timely fashion?

    No. It functions when connected to the Internet.

  • Does ORACLE functions work with Oracle Database 10G

    Hi,
    I am wondering if ORACLE functions work with Oracle Database 10G or is it mandatory to use OCI functions?
    Thanks in advance!

    I was able to run a simple query with ora_* functions using 10g on Windows.
    The Oracle OCI calls used by PHP's ora extension still exist in the Oracle 10g libraries
    But I cannot recommend this obsolete extension.
    -- cj

  • Can we have Slider at dashboard level? - OBIEE 11g

    Hi All,
    We are working on OBIEE 11g (11.1.1.3.0), we have one requirement where we want to have dashboard level slider i.e. slider controlling all the graphs on dashboards.
    Currently we have around 9 charts in dashboard and all of them have their individual slider (section) for customer. We wan to put this slider at dashboard level. Is there any way we can do it in OBIEE 11g? or any workarounds?
    Thanks,
    Uttam

    Hi uttam,
    Sliders are only enabled in charts.But not for whole dashboard its not possible.
    Cheers,
    KK

  • How does ISNULL function works

    I understand that when appy the ISNULL(@MYVAR,0) if  @MYVA is null then the return value would be 0. 
    But how does this works
    ISNULL(5,15)  Value return =5
    ISNULL((@MYvar, 0) Where @ MYvar=3 VAlue returend =3
    I did not get how does two above statements are working.
    Thanksi am a novice and a student

    Hi Zongqing
    The output of below SQL statements is driving me crazy. Please can you help me understand the contradictory behaviour of ISNULL function.
    --starts
    DECLARE @WebBased INT
    SET @WebBased = 0
    SELECT ISNULL(@WebBased, '')
    SELECT CASE ISNULL(@WebBased, '') WHEN '' THEN 82 ELSE @WebBased END
    --ends
    may be this will make you clear 
    DECLARE @WebBased INT
    SET @WebBased = ''
    SELECT @webbased
    since INT has higher precedence over char , therefore the empty string is converted to int with value as 0
    Thanks and regards, Rishabh K

  • Does JSTL functions work in custom Spaces Page Style ?

    I am trying to create a custom page style and have to write some logic where I have to use fn:containsIgnoreCase. When I create pages that use this Page Style, it throws a white page and doesnt work.
    I have also added the below in the root
    xmlns:fn="http://java.sun.com/jsp/jstl/functions"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    When I remove the fn:containsIgnorecase, It works fine.
    My version of Webcenter Spaces is 11.1.1.6
    Edited by: Rohith puchalapalli on Apr 9, 2013 3:39 PM

    Hi.
    You can use JSTL perfectly in ADF. I don't share the opinion of Oracle not recommends... there are a lot of official pages saying how to use JSTL in ADF.
    <af:outputText value="#{fn:length(yourList)}"/>Yannick is saying that you can't mix lifecycles. Take care using $ or # operators :).
    For example if you are using a JSTL c:forEach. Next code is going to crash:
    <c:forEach var="..." value="${list}">
       <af:outputText value="#{list.item}"/>
    </c:forEach>Because # is evaluated in prepareModel phase and $ while rendering.
    I hope this help you.

  • Does sdo_relate function work for 3 dimension geometry?

    Hi,
    I've read in Pro Oracle Spatial book that Oracle spatial operators work only for two-dimensional geometries, except SDO_FILTER (pg 257).
    I always declare geometries data in 3 dimension, like that:
    MDSYS.SDO_ELEM_INFO_ARRAY(1,3,1), MDSYS.SDO_ORDINATE_ARRAY(-42.4149263501948,-19.409108499099,0,-42.4142138531992,-19.4092962878525,0)
    Sometimes SDO_RELATE works, specially if it is a small polygon or a perfect square.
    I need to prove to my boss that we have to work with 2 dimension, but he is arguing that if sometimes it works is because I'm doing something wrong when SDO_RELATE doesn't work.
    Thanks for any help.
    Best regards,
    Luiz Soares
    Message was edited by:
    Luiz Soares

    Hi Luiz,
    If your data is 2d you should only be declaring it as 2d.
    In Oracle 10g and earlier, sdo_relate only works on 2d data.
    If you create a 3d index by explicitly creating your index with sdo_indx_dims=3, then sdo_relate is disabled.
    If you create a 3d index as above, sometimes sdo_filter can actually return the same results as sdo_anytinteract. For instance, if you are using non-geodetic data, there are some cases (rectangular polygons aligned along x,y, and z axis, points, some combinations) where this is currently true.

  • Does Search Functionality work in SAP without having TREX

    Hi,
    Can we have Search functionality in SAP Netweaver without having TREX installed in the landscape because we are facing some problem  installing TREX in Customers' landscape. They are having Windows Server 2008 R2 based on IA64 bit archtecture as OS. Although SAP is proving Trex in Service Marketplace for IAA32 bit machine, but they are not providing any Software packages for IA64 bit. Is there any other alternatives we have to get the search service in SAP.
    Our ECC is in EHP5 environment.
    Thanks in advance.
    regards,
    Soumen

    Hi Soumen,
    If you are using e-Rec or Talent Management then you need TREX for searches. STVN SuccessionPlanning uses Talent Management searches, so indirectly it also needs TREX.
    Best regards,
    Luke

  • Grand Total Level in OBIEE 11g

    Hi ,
    I had a report with product name , order number , order quantity , order amount as columns .
    Now i want add a new column at the bottom level as grand total for ordered amount.
    Can some one please tell me how to do that ,,,I am in hurry
    Thank you

    Hi,
    If you already had the aggregation rule of the ordered amount as sum, then in the table, you can enable row level summation. In the table editor, just on top of the rows section, there is a summation icon that you can click on and set the option as 'after'.
    If you have already tried this thing and if it does not work then you may want to try the narrative view option. Here are steps for it.
    1. Create a new column.
    2. Change the function as RSUM(order quantity).
    3. In the narrative view use this column as @5 (I think you already have 4 columns and hence this might be 5th column)
    Hope this helps.
    Thank you,
    Dhar

  • Action link not working in Direct db request(OBIEE 11g)

    Hi all ,
    My Requirement.. is...
    From direct db request .. i  need to navigate to detail report and it should be display the results(detail report results) based on the value,which user click's on the summary report.
    For the above requirement ..
    I have done below steps..
    Summary report(Direct db request) columns:
       Diet no,diet name
       a.I have created a action link on diet no column.
    Detail report columns:
       Diet No ,Diet Name,Material Name
       a. I have set diet no as is prompted
    when i click on the diet no value  in summary report  ,we are able to navigate to detail report but it's not filtered based upon diet no value , which i have clicked in summary report.
    It is  displaying all results(detail report).
    Note: if both are normal reports(not direct db request) it's working fine.
    If one of the report is direct db request..Action link is not working properly.
    Is it action link working in direct db request.........or not
    If any one having any ideas pls share me ..
    Regards,
    Bharath

    Hi,
    It's known bug. this issue fixed in 11.1.1.7.0 (coming soon).
    bug 13852263 - ACTION LINKS - NAVIGATION TO BI REPORTS DOESN'T WORK ( OPEN IN NEW WINDOW)
    for now : to uncheck the "Open in New Window" checkbox and go to the detail report in the same Window.
    Note: this bug has been fixed by applying the patch 14003822 (u need to get the latest patch)
    Thanks
    Deva
    Edited by: Devarasu R on Feb 14, 2013 4:05 PM

  • Ago function not working properly with time dimension

    Hi all,
    In OBIEE 11g we have the following issue:
    We have a fact which contains transaction's sum for the last day of each month.
    We use ago function like this : ago(<fact.column>,1)When we want to see the result from the time hierarchy the fact with the ago function works properly for quarters and half years but for the months shorter than the previous one can't take the right value /equals to NULL/.
    For example :
    sum for YEAR: 10000
    sum for Half Year 1 : 4000
    sum for Half Year 2 : 6000
    sum for Quarter 1: 1000
    sum for Quarter 2: 3000
    sum for Quarter 3: 2000
    sum for Quarter 4: 4000
    sum for month... - here the ago function is confused with the last day of previous month if it's shorter than itself: For example - for march it cannot take value for end of February ..etc.
    Any ideas?
    Thanks in advance,
    Alexander.

    Hi,
    I faced some issues previously with month, so I used month+year as id instead of month id. Instead of tragging month id 1-12 into your hierarchy, create another column into your table like month+year - 201201, 201202 which creates unique month_year_id and drag this column into month level instead of month_id. So the problem might be solved.
    Regards,
    Anitha.B

  • [HELP] AGO function return wrong result

    Hi, i try to implement ago function in OBIEE, but the result is not as expected. Please help me to configure Time Dimension to get this work.
    My case:
    - I have a time dimension with this configuration:
    [http://i264.photobucket.com/albums/ii176/necrombi/NEO/1-1.png]
    Time Hierarchy: Total > Year > Quarter > Month > Day
    Year:
    Primary key: Calendar_year_cal_year_code
    Chronological key: Does not define
    Quarter:
    Primary key: Calendar_quarter_description
    Chronological key: Does not define
    Month:
    Primary key: Calendar_month_description
    Chronological key: Calendar_month_description
    Day:
    Primary key: Dimension_key
    Chronological key: Day_day_code
    My ago function: AGO(expression, mywh.D_qn_thoigianDim."month", 1)
    I do not understand why i get this wrong results:
    [http://i264.photobucket.com/albums/ii176/necrombi/NEO/2.png]
    Does anyone know how to solve this?
    Edited by: 864451 on Jun 8, 2011 5:11 AM

    Hi, thanks for your reply.
    I implemented Time dimension with your recommend, and have time dimension like this:
    Time Hierarchy: Total > Year > Quarter > Month > Day
    Year:
    Primary key: Calendar_year_start_date
    Chronological key: Calendar_year_start_date
    Quarter:
    Primary key: Calendar_quarter_start_date
    Chronological key: Calendar_quarter_start_date
    Month:
    Primary key: Calendar_month_start_date
    Chronological key: Calendar_month_start_date
    Day:
    Primary key: Day
    Chronological key: Dimension_key
    And Ago function works fine with month level: AGO(expression, mywh.D_qn_thoigianDim."month", n)
    But return sum result of 12 month with: AGO(expression, mywh.D_qn_thoigianDim."year", 1)
    In my case, i just use AGO(expression, mywh.D_qn_thoigianDim."month", 12) to get year ago value. But i still don't understand clearly about OBIEE Time Serries functions.
    Thanks,
    Dung Nguyen

  • Error on AGO function

    I'm using AGO function to calcuate the Month ago value of the fact. But I get following error:
    [nQSError: 14026] Unable to navigate requested expression: Ago(Proforma Usage:[DAggr(Pro Ancillary Usage and Revenue Monthly Fact.Proforma Usage by [ Period.Month Name, Period.Year] )], [Level Month], 1). Please fix the metadata consistency warnings. (HY000)
    The Period dimension is joined with the fact at month level. there are no metdata consistency warnings in the repository.
    I have another fact in the same Subejct area joining similarly to the dimensions and hte AGO function works fine there. I can not figure what I'm doing wrong that I'm getting this error.

    I was abel to fix this issue on my own. I needed to set the Chronological Key for the Time dimension. Once that was set, the error was gone.

  • Ago Function gives NULL values

    Friends,
    I need help regarding Ago function available at column level in BMM.
    I am not at all receiving any error. Unfortunately after Ago function implementation i am getting NULL values for that particular column.
    Here are my implementation steps for getting "Month Ago" values for "Amout column" in Sales table.
    1. i have created Time dimension hieararchy.
    It is like this - Year - > Quarter - > Month - > Actual Date
    2. Defining Keys and making them chronological are also done.
    3. Actual Date is the PK and joins with my Fact.
    4. "Amount" Column in Fact is set to 'Sum'.
    5. i created a new column named " Amount Month Ago" and set following logic to its expression builder.
    Ago("AR Reserve"."Fact - AR Reserve Calc Dtl"."Amount" ,  "AR Reserve"."Dim - TimeDim"."Month" , 1)
    I have not received any error.
    Once i pull this new column (Amont Month Ago) into the presentation layer and try to create a Tabular report. It is not showing any value. Other column values are OK as expected.
    I know i am missing something important here.
    Requesting you all to guide me. I am working on OBIEE 10g.

    Hi,
    Hitting a 'NULL' value in the report hints me of some issues with the Hierarchy/Content setup of the LTS. I suggest you to enable level 7 log and see if the AGO(<measure>) is being nullified by the BI Server due to incompatible facts.
    If it is, then you got to revisit your Period hierarchy and content settings in the Fact LTS. Some generic suggestions are,
    1. Create hierarchies for all dimensions available.
    2. Set the granularity of the sources in the fact to all available hierarchies.
    Hope this helps.
    Thank you,
    Dhar

Maybe you are looking for