OBIEE - TODATE and YTD Graphing

Dear all,
This is a difficult one I'm having.
I've got three measures. Income, Forecast and Variance. They've all got "TODATE" wrapped round them at RPD level and work fine in reports, alongside my "weekly" Income, Forecast and Variance measures.
I have a dashboard prompt with a single week at the top of my dash. When selected, it passes this week to an intermediate "week number driver" report which calculates -4/+4 weeks of the selected date.
I have my Income, Forecast and Variance measures in a line graph, which uses the following logic; "where Week Number is greater than or equal to any Start Week Number in Week Number Driver Report" and "where Week Number is less than or equal to any End Week Number in Week Number Driver Report".
This shows a graph with my selected week in the middle, four weeks back and four weeks forward from that date (e.g. Week 12 shows Weeks 8 to 16).
My problem is; For weeks 1 to 7 the YTD line values are correct over all measures. They show the YTD values I'm expecting. However, when I go to Week 8 onwards (so Week 8 is the first shown in the graph), the YTD values are incorrect. I guess this is because the system is "YTDing" using 8 as the starting week, instead of using Week 1 - can't confirm though.
Could anyone shed any light on this problem? How do I get the graph to calculate from Week 1, regardless of which -4/+4 period of weeks are shown?
Many thanks,
Alasdair
UPDADE: Doh! Wrong forum! My bad. Please see OBIEE forum and ignore this post!
Message was edited by:
Ally

Analyze the physical query being generated for the report and you will have a clearer idea of what the engine is doing.

Similar Messages

  • TODATE and YTD Graphing

    Dear all,
    This is a difficult one I'm having.
    I've got three measures. Income, Forecast and Variance. They've all got "TODATE" wrapped round them at RPD level and work fine in reports, alongside my "weekly" Income, Forecast and Variance measures.
    I have a dashboard prompt with a single week at the top of my dash. When selected, it passes this week to an intermediate "week number driver" report which calculates -4/+4 weeks of the selected date.
    I have my Income, Forecast and Variance measures in a line graph, which uses the following logic; "where Week Number is greater than or equal to any Start Week Number in Week Number Driver Report" and "where Week Number is less than or equal to any End Week Number in Week Number Driver Report".
    This shows a graph with my selected week in the middle, four weeks back and four weeks forward from that date (e.g. Week 12 shows Weeks 8 to 16).
    My problem is; For weeks 1 to 7 the YTD line values are correct over all measures. They show the YTD values I'm expecting. However, when I go to Week 8 onwards (so Week 8 is the first shown in the graph), the YTD values are incorrect. I guess this is because the system is "YTDing" using 8 as the starting week, instead of using Week 1 - can't confirm though.
    Could anyone shed any light on this problem? How do I get the graph to calculate from Week 1, regardless of which -4/+4 period of weeks are shown?
    Many thanks,
    Alasdair

    Analyze the physical query being generated for the report and you will have a clearer idea of what the engine is doing.

  • TODATE and AGO function errors in OBIEE

    I have aggregated time dimension. The time calendar comprises of the following structure with a physical table for each level in the Physical Layer -
    Year -> Half Year -> Quarter -> Month -> Week -> Day
    These tables form the calendar. The RPD works fine until I use the TODATE and AGO based fields in the query.
    When I use the AGO and the TODATE time series function to generate the YTD and PY YTD calculations in the Business Modelling Layer. The system gives the following error on Answers -
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22045] AGO function is used on a time dimension which is logically snowflaked. (HY000)
    SQL Issued: SELECT "- Retail Calendar"."Year Identifier" saw_0, "- Sales"."Gallons Sold" saw_1, "- Sales"."Profit Amount" saw_2, "- Sales"."Sales Quantity" saw_3, "- Sales"."Retail Sales Amount" saw_4, "- Sales"."Licensee Sales Amount" saw_5, "- Sales"."% Retail Sales Amount" saw_6, "- Sales"."% Licensee Sales Amount" saw_7, "- Sales"."Store Average Profit" saw_8, "- Sales"."Sales Amount - Last Year" saw_9 FROM "Reporting Objects" ORDER BY saw_0
    Let me know what I am doing incorrect here?
    I have checked all the joins to see if the time calendar has been incorrectly joined, but I can't find anything. Please help.

    Below are the physical tables involved -
    Year - TIME_YEAR_DM
    Half Year - TIME_HALF_DM
    Quarter - TIME_QTR_DM
    Month - TIME_MTH_DM
    Week - TIME_WK_DM
    Day - TIME_DAY_DM
    Each of these tables has an Identifier key (for example, YR_IDNT, HALF_IDNT, QTR_IDNT, etc.) that uniquely identifies the rows. I am using these IDNT fields as my hierarchical keys.

  • How to get Last Year Sales and YTD Sales without using AGO and TODATE?

    Hi all,
    I have got Company and Time dimensions and Sales Fact. My requirement is to get Last Year sales for each company without using AGO function and YTD without using TODATE function. (Due to performance issue as AGO and TODATE do not insert a Cache entry).
    Can someone please help me to achieve my requirement? Thanks in advance.

    Hi Satya,
    Thanks again for your reply. To start with I don't have data for the years 2012 and 2011 to test as I am using SH sample schema from Oracle. I have applied your solution but it does not seem to be working for the previous years like 2000, 2001. My requirement is to have a dashboard prompt "YEAR" and let the user choose whatever year he wants.
    Please have a look at the column formulas of my analysis (As per your solution) :
    ***here B_YEAR is replaced by CALENDAR_YEAR.  
    Amount: "F1 Sales"."Amount"
    AmountYTD:  FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE))
    Amount LY: FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE)-1)and the physical query generated by BI Server: (as you can see I have got a filter CALENDAR_YEAR= 2000)
    WITH
    SAWITH0 AS (select sum(T1074.AMOUNT_SOLD) as c1,
         sum(case  when T1035.CALENDAR_YEAR = TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') then T1074.AMOUNT_SOLD end ) as c2,
         sum(case  when TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') - 1 = T1035.CALENDAR_YEAR then T1074.AMOUNT_SOLD end ) as c3,
         T1035.CALENDAR_MONTH_DESC as c4,
         T1035.CALENDAR_YEAR as c5,
         T1035.CALENDAR_MONTH_ID as c6
    from
         TIMES T1035 /* D1 Time */ ,
         SALES T1074 /* F1 Sales */
    where  ( T1035.CALENDAR_YEAR = 2000 and T1035.TIME_ID = T1074.TIME_ID )
    group by T1035.CALENDAR_MONTH_DESC, T1035.CALENDAR_MONTH_ID, T1035.CALENDAR_YEAR)
    select distinct 0 as c1,
         D1.c4 as c2,
         D1.c5 as c3,
         D1.c1 as c4,
         D1.c2 as c5,
         D1.c3 as c6,
         D1.c6 as c7
    from
         SAWITH0 D1
    order by c3, c2 Thanks in advance.

  • Difference Between OBIEE 10g and OBIEE 11g

    Hi everyone,
    I have a doubt when choosing two versions of OBIEE, 10g and 11g.
    Actually, is there any big difference between 10g and 11 version ?
    From the point of view of easiness finding tutorial in internet, simplicity of using the tool, and other considerations, which one is better ?
    I hope you guys could also explain with your arguments.
    Thanks

    Hi,
    Few differences..
    Architectures-
    OBIEE 11g architecture...http://www.rittmanmead.com/2010/07/09/obiee-11gr1-architecture-and-use-of-weblogic-server/
    OBIEE 10g architecture....http://gerardnico.com/wiki/dat/obiee/obiee_overview
    Features-
    New features in OBIEE11g...Re: OBIEE 11g
    http://blogs.oracle.com/robreynolds/2010/07/new_administration_features_of.html
    I have a doubt when choosing two versions of OBIEE, 10g and 11g.If you are new to OBIEE its best to start with 10g,there are lot changes in 11g.It takes time to get used to it and you many not get enough docs or material to read,may face some new issues also.
    Actually, is there any big difference between 10g and 11 version ? Yes there are some differences between them...you can see them in above links.(many things like graphs,server)
    From the point of view of easiness finding tutorial in internet, simplicity of using the tool, and other considerations, which one is better ?For sure obiee 10g as 11g is new many of them just started using it,so you may get less help on this if you face issues & may not get enough tutorial in internet and OBIEE10g is bit easy to use.
    Its best to you go for OBIEE10g,parallely you can try 11g.
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 7, 2010 11:08 AM

  • OBIEE Report and Dashboard development best practice

    Hi All,
    Is there any best practice available on OBIEE report and dashboard development? Any help would be appreciated.
    Thanks,
    RK

    http://forums.oracle.com/forums/thread.jspa?messageID=2718365
    this might help you
    Thanks

  • Scheduling a report in OBIEE 11g and BI Publisher

    HI Everyone,
    I have a report. Now i want to schedule this report on monday, tuesday for first week, and monday , tuesday, wednesday for second week , monday, tuesday, wednesday for third week.... etc., like this i want to schedule. Can anyone please help me how This i have to implement for a report in OBIEE 11g, And another report , i have to schedule in the same manner in BI Publisher. Please help me out .,.,.,.
    Regards
    ....

    Hi Everyone,
    I dint get the proper answer to schedule a report which i want it exactly. Let me explain clearly.., Take a month of march, if a schedule a report, it has to schedule like, iin 1st week of march it has to deliver for first two days, in 2nd week, it has to deliver for first three days etc.,.,.,.
    Regards...

  • How to create bar and pie graph from a backing bean in ADF

    HI,
    my requirement is to populate a line and pie graph based on a collection in a backing bean.
    I got the solution for the bar graph with setTabularData(list data) method in one of the thread.
    For bar graph,
    i constructed the list for the setTabularData(list) method but it is not working with the line and pie graph.Coul'd you explain why?..
    Is it different for the line and pie graph.I don't want to use adf bindings.
    thanks in advance.
    Anil.G

    HI,
    my requirement is to populate a line and pie graph based on a collection in a backing bean.
    I got the solution for the bar graph with setTabularData(list data) method in one of the thread.
    For bar graph,
    i constructed the list for the setTabularData(list) method but it is not working with the line and pie graph.Coul'd you explain why?..
    Is it different for the line and pie graph.I don't want to use adf bindings.
    thanks in advance.
    Anil.G

  • Obiee 11g and custom j2ee app using the same cookie name

    Hi,
    I wrote a same j2ee web application. i'am using authentification through a realm configured in the web.xml.
    This web app is deployed in the same weblogic than obiee 11g. What i want to do is to embed my application in a dashboard using an iframe tag, and use the same login from analytics to my custom web app.
    In this article http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1039551, it is said that by default, all web apps in the sames weblogic server are using the same cookie name so that they share authentification between them. However, i have read in the web that analytics in obiee 11g is using a cookie with the name "ORA_BIPS_NQID".
    In the weblogic.xml of my custom application, i set the cookie-name parameter to ORA_BIPS_NQID. However, in the dashbord, it still prompt for authentification to my custom web app.
    How can we share authentification between analytics and a custom web app in the same weblogic ?
    NB : I dont want to pass the username et password through the url.
    Thanks.

    By default, if you don't specify a cookie-name in the weblogic.xml configuration file, the weblogic server create a cookie named JSESSIONID for your application. For exemple, if two applications use the default configuration, both of them will use the same cookie name which is JSESSIONID. In this case, when you log in the first application, your are automaticaly logged in the second application with the same credentials. I have already test this kind of integration and it works perfectly. You only need that the two applications are deployed in the same weblogic server.
    Now, i want to have the same behaviour between obiee 11g and my custom application deployed in the same weblogic server. I read somewhere in the web that obiee 11g presentation service (analytics) is configured with a cookie-name value = "ORA_BIPS_NQID". So in the weblogic.xml configuration file of my web app, i specify a cookie-name value = "ORA_BIPS_NQID" to have the same cookie-name between the two application. But, it still not work. It prompt for authentification in the dashboards.
    I now, that such an integration is possible, because the other bi applications (mapviewer, bipublisher,...) are actually other web applications. However when using, for exemple, maps in dashbords, the mapviwer application automaticaly user the credentials of the user connected in analytics.

  • Problem in Server Admin: cpu and network graphs not updated or empty after lion server update

    Hi!
    Just for archive purpouses because i've already solved that!
    After upgrading from OSX Server 10.7 to 10.7.1 my CPU and Network graphs in Server Admin stop being updated.
    In 24h the graphs where blank (disk usage graph seem to keep working).
    First i read about "what is the application responsible for this"; it's called ServerPerfLog, and you can see if it's running that way:
         # ps ax | grep ServerPerf
    If you don't see anything else than your own "grep", that means that no application is running, no data is being collected.
         41324 s000  R+     0:00.00 grep ServerPerf
    A positive response for this (meaning that the service is running) should be something like that (2 lines: your grep and the service app itself):
         94   ??  Ss     0:04.71 /usr/libexec/ServerPerfLog
         41344 s000  R+     0:00.00 grep ServerPerf
    Later i read about "where is the config file for this service app", and you can find it here:
         /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
    If you edit this config file, check that the "Key > Disabled" is set to "False"
         # vi /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
            <key>Disabled</key>
            <false/>
    After that, i try to launch the service that updates this graphs again, by hand, performing the following command:
         # sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
    And the service got launch!!! yeeeepa!! i see a first update in graph data.
    Also the "ps" query reply that the service was running!!
    The bad things came a day after, when i saw that the graphs stop again....
    I check if the service was running executing again the "ps" command, and that show me that the service was stopped again; no ServerPerfLog process was running.
    But r e l a x, because the process hang because of a permissions problem.
    You should know, I run "Repair permissions" within "Disk Utilities" over the running system disk, eeee... voila!
    I hope that helps someone to get his fancy graphs back!
    Regards,
    t

    You are God like!!! Wooo hooo! Thanks bud!

  • Automate OBIEE stop and start services.

    Hi All,
    We are using OBIEE10.1.3.4 version on windows envorinment.In Production instead of doing manual start and stop services we need to automate one batch file that batch file has to bounce all the OBIEE services.And we need one batch file for clear all the cache enties.
    can u advice me how to make this batch files .
    Thanks,
    Vijay.

    Hi Vijay,
    Create a file PurgeAllCache.sql and add the SAPurgeAllCache ODBC Function in it.
    {call SAPurgeAllCache()};
    And save this file in a directory (for instance OracleBI_Home\Cache).
    Then from a command dos, call nqcmd with this statement :
    OracleBI_Home\server\Bin\nqcmd.exe -d AnalyticsWeb -u Administrator -p Password
    -s "OracleBI_Home\Cache\PurgeAllCache.sql" -o "OracleBI_Home\Cache\PurgeAllCache.log"
    It will purge your all cache entries..

  • Excel & ActiveX: Insert arbitrary columns from 2D array and create graph problems

    Hi there,
    I want to insert data from either a 1D or 2D array from LabView into Excel and create graphs.
    I used the information from the following example:
    http://www.ni.com/example/28934/en/
    and was able to create a new Excel file (I'm using Excel 2010), writing data from an 1D array to a column in excel by creating a while loop and using the first element of the array to write it to a specific cell. I use the counter of the loop to write to the next cell when the loop starts over and always delete the first value, which I write to the cell, from the array until it is empty.
    Now I also would like to write a 2D array - so the first column in Excel should be the first column from the array and so. Here I cannot use the loop counter directly as Excel only counts 1,2,... for the rows, but uses A,B,... to count columns. Also I do not know in advance how many columns my 2D array will contain, so creating a lookup table like (A means 1, B means 2,...) is not really an option (except there really is no other way). Is there a possibilty to convert numbers into letters or some way to 'explain' to the program that column 2 in the array means column B in Excel for example, or is there a way to insert new columns?
    I figured out how to add new Worksheets and as I also need to create a certain number of Worksheets and I know that on standard 3 sheets are present when creating the file, I use the 'add' methode to create every new worksheets before worksheet 3 - I could use the same methode to create new columns in Excel, but so far I didn't find a methode to do so. Or is there a way to enter the whole 2D array at once?
    Then I'd like to create a graph (in case of the 1D arrays a bar plot, when using 2D arrays a 3D plot) to view the data. I found this example:
    http://www.ni.com/newsletter/51339/en/
    -> as I do not have the toolkit I'd like to do it using ActiveX directly, so I tried to do things like shown under the headline 'DIY ActiveX/.NET'
    I tried to load the snippet to a new Excel file but got the error message 'microsoft.office.interop.excel.dll not found' and hence the code is not working. That confuses me a little as I would guess when this dll is not present I cannot access Excel from LabView at all, though my understanding of what I'm really doing so far is quiet limited. ;-)
    Also - as far as I understand from the snippet - when creating a new chart object I should be able the create methodes for it, however when I do a right click on the chart object of an ActiveX Worksheet symbol there are none listed.
    To explain my problems better I added a snippet showing my two problems: The inner of the two while loops shows how I import a 1D array. In the outer loop I seperate the columns. I know that currently this is not working as all data end up in column A of the Excel sheet - so I would need to convert the number of the outer counter to A, B,... or find a different solution.
    Moreover on the snippet I placed an ActiveX Worksheet Property with the Chart Object - as I can see the difference to the Chart Object in the example code from the last link above is the color. However I'm not sure what that means and how to change/ solve this.
    And just to make sure - I know this way the VI does not run as the Chart Object is placed completely wrong - I just did it, so it is included in the snippet.
    I'd be thankful for any suggestions,
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    ExcelAreaScan.png ‏60 KB

    Hello everyone and thanks for the answers.
    I only have the LabView Student Edition available here - is the toolkit included in it too. How can I check if it is installed/ available and in case it is installed - where can I find it?
    Today I had time to take a look at the example
    Create via ActiveX Labview a XY Scatter plot graph on an excel sheet
    It almost does what I want in terms of creating a graph. The only problem I could not fix, is that in this example a sheet is created where only the graph is present. i'd like to add the graph to a previously created worksheet. Today I tried get this working but it seems I stilll don't really understand what I'm doing, I'll post a snippet of my code as soon as I can access the PC with LabView on it again.
    I also took a look at the other example for inserting 2D attays - it seems to be what I need, I just had no time so far to test it, I'll post an update when I could test it.
    Thanks for the help so far!

  • Read data from XML file and plot graph on Ms Words

    Hi,
    I'm using Visual Studio 2010, what I want to do is written in the title.
    so far i was able read and plot graph on a Form but i unable to use the same method on Crystal Reporting.
    The method plotting in Crystal Reporting is complicated and it require a fix data set or database which is not suitable for my case because every time the number of column and row or data will be different. (this is what i think base on what i found)
    is there a way for me to display the output on a ms words?
    and what is the method.
    thanks.

    Hi Huangcongmazhananzi,
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss the VS IDE.
    I might not have the correct detailed answer you need, but I might lead you into the right direction to solve your problem.
    If this issue is related to the Windows Forum app, this forum would be better:
    http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    But if it is related to the Crystal Reporting, you could post the issue here:
    http://forums.sdn.sap.com/forum.jspa?forumID=313&start=0
    is there a way for me to display the output on a ms words?
    If it is related to the Office, maybe you could select the correct forum here:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev
    Best Regard,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Original and current budget together with PTD,ITD,MTD and YTD labor...

    Hi experts:
    I need a Project Accounting Report that shows Original and Current budget together with PTD,ITD,MTD and YTD labor amount, labor cost, non-labor cost, and revenue on the same line for all the task_id for a project. I know these are coming from these ,PA_BUDGET_VERSIONS V, PA_RESOURCE_ASSIGNMENTS A,PA_BUDGET_LINES L, main tables. But I am unable to break down the amounts according to PA and GL periods. Can anyone help please?
    Thanks a million , in advance.

    Help you with what?
    No database version number.
    No application name or version number.
    No DDL.
    Do you, for some reason, think we have any idea what PTD and ITD are? If so why?
    Do you think we all have your version of a table named PA_RESOURCE_ASSIGNMENTS on our hard disks?
    Perhaps you have some version of e-Business Suite. Perhaps you have SAP. Perhaps you have something we've never even heard of.
    Your task is as follows:
    1. If this question relates to an Oracle product change the subject of the post to "Please Ignore" and post your question in the correct forum.
    or
    2. Provide us with sufficient information that we can duplicate those portions of your environment required to understand what you are asking.

  • Diffrence between OBIEE 10g and 11g Architecture

    Hi
    Please help me by providing either the differences between the OBIEE 10g and 11g Architecture or a pointer/link.
    Thanks

    Hi,
    There are some!!
    Check here;
    http://www.rittmanmead.com/obiee11g/
    http://www.biconsultinggroup.com/images/VideoAlbum/WhitePapersFAQ10-31-10.pdf
    http://blogs.oracle.com/robreynolds/2010/12/security_in_obiee_11g_part_1.html
    http://blogs.oracle.com/robreynolds/2010/12/security_in_obiee_11g_part_2.html
    This will give an indication of all the changes.
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

Maybe you are looking for

  • How to make an URL link in tabel connected to text or image?

    I have a tabel with cells. in each cell is a picture and the name of twitter accounts. Just like a Vcard Now I want to link the image or/and the accountname to the webpage of that twitter account. This doesn't seem to work in the normal link way opti

  • RFC Call in Message Mapping

    Hi there I am trying to do a table lookup from XI in my message mapping by calling an remote RFC. The return values must return ALL the value for a specific column. The code I have here returns a blank value. Can someone see what my problem may be? M

  • SampleImage() in 4-color gradient issue

    hi there I am trying a technique for logo/element removal that I saw in a post from a couple years back, where a tracked, solid "patch" is placed over the unwanted element, and a 4 color gradient effect is applied to the patch, which then uses the sa

  • Importing from DVD not showing full video

    I'm trying to import a video (VOB file) from a DVD, but the full frame of the video is not showing. The frame size that is importing seems to be importing as a different frame size than the video is and I can't seem to change it. The import seems to

  • Exception win32 not handled

    When i open one file ASP appears this error message "Eccezione win32 non gestita in Dreamweaver.exe [2108]" After when i run Debug appear this error message "Exception 0x00adb777 occurred" when i close the pop-up window dreamweaver CS3 program shut-d