Time Series in Discoverer.

Hi, wondering if anybody knows how I can use time series functionality in Discoverer3.1 and 3i?

Thanks a lot for the responses.
I looked at the 11g Pivot operator and is altogether a new feature compared to the Time series of 8i.
I would like to explain with an example.
1) The following query creates a table named stockdemo_calendars and defines a calendar
named BusinessDays. The BusinessDays calendar includes Mondays through Fridays,
but excludes 28-Nov-1996 and 25-Dec-1996. Explanatory notes follow the example.
CREATE TABLE stockdemo_calendars of ORDSYS.ORDTCalendar (
name CONSTRAINT calkey PRIMARY KEY);
INSERT INTO stockdemo_calendars VALUES(
ORDSYS.ORDTCalendar(
0
’BusinessDays’,
4,
ORDSYS.ORDTPattern(
ORDSYS.ORDTPatternBits(0,1,1,1,1,1,0),
TO_DATE(’01-JAN-1995’,’DD-MON-YYYY’)),
TO_DATE(’01-JAN-1990’,’DD-MON-YYYY’),
TO_DATE(’01-JAN-2001’,’DD-MON-YYYY’),
ORDSYS.ORDTExceptions(TO_DATE(’28-NOV-1996’,’DD-MON-YYYY’),
TO_DATE(’25-DEC-1996’,’DD-MON-YYYY’)),
ORDSYS.ORDTExceptions()
-------------- How can I create such calendars in 11g?
2) For example, the following statement returns the last closing prices for stock
SAMCO for the months of October, November, and December of 1996:
select * from the
(select cast(ORDSYS.TimeSeries.ExtractTable(
ORDSYS.TimeSeries.ScaleupLast(
ts.close,
sc.calendar,
to_date(’01-OCT-1996’,’DD-MON-YYYY’),
to_date(’01-JAN-1997’,’DD-MON-YYYY’)
) as ORDSYS.ORDTNumTab)
from tsdev.stockdemo_ts ts, tsdev.scale sc
where ts.ticker=’SAMCO’ and
sc.name =’MONTHLY’);
This example might produce the following output:
TSTAMP VALUE
01-OCT-96 42.375
01-NOV-96 38.25
01-DEC-96 39.75
3 rows selected.
--------------------- How can I get the above ouput without Time series functions and calendars in Oracle 11g?

Similar Messages

  • Discoverer 4i - Time Series Data type support

    Does Discoverer 4i support time-series data type i.e. the ability to store an entire string of
    numbers representing for example daily or weekly data points?
    Thanks & Regards,
    Deepti

    Hi O G-M,
    Each model must contain one numeric or date column that is used as the case series, which defines the time slices that the model will use. The data type for the key time column can be either a datetime data type or a numeric data type. However, the column must
    contain continuous values, and the values must be unique for each series. The case series for a time series model cannot be stored in two columns, such as a Year column and a Month column. For more information about it, please see:
    http://msdn.microsoft.com/en-us/library/ms174923(v=sql.100).aspx
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • Time Series for Chart

    I have a requirement to generate a Time Series Graph based on 3 tables:
    Time Series containing Period ID
    Costs containing Period ID and Project, Activity
    Project containing Project Data.
    The structure is:
    Period -----< Costs >------- Project
    With Period Outer Joined to Costs, so that if there are no costs for a Period the Time Series still displays.
    The problem I have is that when I select data for a specific project then the inner join causes my Periods to no longer display.
    ie.
    Required Result
    <pre>
    2008-Jan 10 Project A
    2008-Feb 20 Project A
    2008-Mar
    2008-Apr 20 Project A
    2008-Jun
    2008-Jul 10 Project A
    </pre>
    Actual Result
    <pre>
    2008-Jan 10 Project A
    2008-Feb 20 Project A
    2008-Apr 20 Project A
    2008-Jul 10 Project A
    </pre>
    I have tried to engineer the result, I've Cartesianed Project and Period together in a custom folder and done a single outer join, which results in something close to the result, however performance suffers - and if I select one of the further columns in the 'Costs' table (Activity) it then breaks, I am beginning to think that the only way to achieve this is to generate 0 cost rows for the missing periods into the Costs table.
    Unless there is a way in Discoverer to have achieve what I require?

    Hi,
    Try creating a complex folder in the EUL taking the items you need from product and cost. Then outer join this folder to the period folder. You would then select all your product and cost details from the complex folder and the timeseries from the period folder. As you are only joining 2 folders in the workbook, the outer join with a project selection should still work.
    Rod West

  • Balance for open periods in a time series enabled cube

    Hi,
    We have a request to calculate balance for open periods in a time series enabled cube, I don’t there is any inbuilt function for this.
    Any ideas on how to calculate this without adding new members/formulae in the time dimension. Currently we compute this in the report
    EX:
    BOY(May) = Jun+Jul + … + Dec
    Thanks,

    You will have to add a member somewhere. Suppose you add it in scenario, then you could use sumrange for the current member range offsetting the current monthe by 1 and use null for the end month wich gives you the last month in the time dim.

  • How to get the execution time of a Discoverer Report from qpp_stats table

    Hello
    by reading some threads on this forum I became aware of the information stored in eul5_qpp_stats table. I would like to know if I can use this table to determine the execution time of a worksheet. In particular it looks like the field qs_act_elap_time stores the actual elapsed time of each execution of specific worksheet: am I correct? If so, how is this value computed? What's the unit of measure? I assume it's seconds, but then I've seen that sometimes I get numbers with decimals.
    For example I ran a worksheet and it took more than an hour to run, and the value I get in the qs_act_elap_time column is 2218.313.
    Assuming the unit of measure was seconds than it would mean approx 37 mins. Is that the actual execution time of the query on the database? I guess the actual execution time on my Discoverer client was longer since some calculations were performed at the client level and not on the database.
    I would really appreciate if you could shed some light on this topic.
    Thanks and regards
    Giovanni

    Thanks a lot Rod for your prompt reply.
    I agree with you about the accuracy of the data. Are you aware of any other way to track the execution times of Discoverer reports?
    Thanks
    Giovanni

  • Order Series key figure is considered as Time Series

    Hi Gurus,
    I'm adding a new Key FIgure (Order type) into a copied version of SNP Planning Area.
    I have assigned category and therefore category group and, applied similar settings like other KFs (Planning Area, Planning Bokk...). The thing is when going into Data View, it's not behaving as an Order Type and saves its data as a Time Series. Thus no "detailed information" appears when I right-click in the bucket.
    Do you have any idea where my settings are wrong?
    PS: I'm using SCM 7.0 module version
    Many thanks & regards,
    David

    Hi David,
    You defined the keyfigure as order keyfigure.So when enter value in this keyigure system tries to create order as per keyfigure function which is assigned to this keyfigure.please note that not all the keyfigure functions creates the order.
    If your keyfigure function is anyone of the following then system creates the stock transaport order:
    4001
    4015
    4002
    4007
    4006
    4013
    4018
    4019
    4020
    If your keyfigure function is anyone of the following then system creates planned orders:
    2001
    9020
    2007
    If your keyfigure function is anyone of the following then system creates forecast:
    1002
    1003
    1004
    Hope this information will helps you.
    Regards,
    Sunitha

  • How to change Refresh Time in  a Discoverer Portlet?

    Hi,
    I have added a discoverer portlet to my main portal page. The minimum refresh time for the discoverer page i could set is 1 hour. Is there any way i could change it to 1 min as this is getting real time data in the database which i would like to display immediately.
    Any help/suggestion is most welcome. Thanks in advance.
    Regards
    Goutam

    Hi, i have the same problem.
    i have searched both metalink and here but found nothing .. doesnt anybody know how to change the discoverer portlets refresh time interval anything other than 1 hour,1day,1week etc. (they are the only options available)
    Any help would be appreciated.

  • Time-series Chart

    Warning, CR Newbie here so this may be a stupid question. I am evaluating the trial version of CR to see if it will be a good fit for an upcoming project. I've seen some related posts in the SCN, but no answers that quite fit.
    I'm looking to create a line chart (or a scatter chart) with time-series data. My dataset includes a time stamp field (yyyy-MM-dd hh:mm:ss) and some floating-point temperature values like this:
    2014-05-01 08:00:00, 123.4, 115.1, 109.2
    2014-05-01 08:00:10, 123.6, 116.0, 109.8
    The desired outcome has the date / time along the X-axis with data points spaced proportionally in the X dimension and plotted in the Y-dimension according to the temperature. The interval between the time stamps is not always the same, so numerical scaling is required on both axes. The desired chart would show a temperature scale along the vertical axis, three trend lines for the three series of temperature data and times shown on the X axis label.
    I've played with several options in an attempt to make this work. On the data tab, it would seem I would want to select "on change of" and then my time-stamp field. However, with this selection, I can only use summary values and end up with a chart with a single data point for each series. I don't need or want any summary calculations carried out on the data, I just want to plot it so I can look at a trend over time. I can get trend lines if I select "for each record" on the data tab of the wizard, but then my X-axis is meaningless and the horizontal scaling is misleading unless the interval between my samples is constant.
    I would welcome any suggestions on how best to accomplish this with Crystal Reports.
    Thanks for reading.

    Jamie,
    Thanks for continuing to reply. I am getting close, but still no success.
    Here is the procedure I've followed and problem:
    Put chart in RF section
    Start Chart Expert
    Chart Type = Numeric Axes, subtype = Date axis line chart
    Data tab
    On change of datetime field
    Order... ascending, printed for each second
    Values avg of my data fields (must select summary when on change of is used)
    Right-click on X-axis label, select Group (X) Axis Settings
    Scales tab: base unit, major unit and minor unit can only be set to days, months or years
    I cannot set the minimum and maximum date with resolution other than day
    Right-click Chart, select Chart Options...Axes tab: show group axes set to show time scale
    No matter the setting I use, I can't find a way to adjust the resolution of the time scale lower than days.
    I tried using a formula to extract only the time portion of my datetime field. I used that as my "on change" data series, hoping maybe CR would automatically recognize I was looking at a fraction of a day if I did that. No good - now it gives me a date scale with the dates showing up as the beginning of the epoch, but I can still only get resolution of integer days.
    Thanks for your patience and persistence.
    - Max

  • TODATE time series function in OBIEE 11g

    Hi,
    I have a problem with time series function. I have month level in time dimension hierarchy.
    I have used below expression to get month to date results in my reports.
    column
    expression----> TODATE(fact.measure, hierarchy.Month level);
    when i am using this column in my reports it is showing null values. The below error i am getting in view log files
    ----------------> Converted to null because it's grain is below query's grain
    Note: Here i have measures, year,qtr,month,day,shift,hour in single physical table in physical layer.
    Is it a problem to have measures and time columns in a single physical table?
    Please let me know if you have any solution.
    Thanks,
    Avinash

    Yes, it shud be a prob. Try using seperate tables for fact n timedim

  • Regarding Time Series Graph in OBIEE 11g

    Hi,
    I need to create a time-series graph in OBIEE 11g. However, the value for time on the x-axis of the graph automatically comes for days.
    Is there any way to change it to hours or minutes?
    Thanks,
    Naman Misra

    Yes, it shud be a prob. Try using seperate tables for fact n timedim

  • Error in Source System, Time series does not exist

    Hi Guys,
    I am loading the data from APO system and i am getting the below error after scheduling the info Packs.. can you analyze and let me know your suggestions
    Error Message : Time series does not exist,
    Error in Source System
    I have pasted the ststus message below
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Thanks,
    YJ

    Hi,
    You better search for the notes with the message ""Time series does not exist". You will get nearly 18 notes. Go through each note and see the relevence to your problem and do the needful as it is mentioned in the note .
    Few notes are:
    528028,542946,367951,391403,362386.
    With rgds,
    Anil Kumar Sharma .P

  • Issue in new macro calculating values in time series in CVC

    Hi friends.
    I'm new in APO.
    I have a problem with a new macro in CVC which calls up a FM to calculate and store data.
    This new macro calculates the selected data in time series (TS) and e.g. we select 3 days to make calculation with this macro, the first selected day in TS is ignorated.
    We created this macro to do this calculation when user enter some manual values and want it to be calculated in the deliver points in CVC, by TS.
    This macro calls up my Z function which internally calls up a standard FM '/SAPAPO/TS_DM_SET' (Set the TS Information).
    Sometimes, this FM, raises error 6 (invalid_data_status = 6), but only when I user 'fcode_check' rotine together.
    After that, we call the FM '/SAPAPO/MSDP_GRID_REFRESH' in mode 1 and 'fcode_check' rotine in program '/sapapo/saplmsdp_sdp'.
    Firstly, I thought it could be dirty global variables in standard FM so I put it inside a program and called it by submit and return command. But now I think could not be this kind of error because it did not work. And inverted the results, and now only first line os TS get storted and change in CVC.
    It's a crazy issue. Please friends. Guide me for a solution!
    thanks.
    Glauco

    Hi friend. Issue still without a correct solution yet.
    A friend changed the macro adding another step calling the same function. Now this macro has two calls in sequence to same FM. Now it's working, but we can't understand why it's working now.
    It's seems like dirty memory in live cash.
    Nobody knows how to solve this!
    Glauco.

  • How to set Dynamic Time Series in Planning application

    Dear All,
    I am having an issue by setting up dynamic time series (Y-T-D). I have set up at generation level 4. In our application the hierarchy of dimension Period is as follows.
    Yeartotal -> HY1 -> Q1 -> Jan, Feb, Mar
    Consider the following example
    Jan -> 100
    Feb -> 200
    Mar -> 300
    If I want to retrieve "Y-T-D Feb" the result should show me the sum of Jan & Feb in this case it should be 300. What is the syntax of retrieving YTD in smartview.
    In our application "Year" dimension name is "Year". How can I rename this dimension name if this is the requirement.
    Thanks in advance.
    Regards,
    Sami

    The format in Smart View would be Y-T-D(feb) more info at http://docs.oracle.com/cd/E17236_01/epm.1112/sv_user_11121102/ch17s02s02.html
    you will need to rename Year to something like Years, it depends if it is a classic or EPMA to how you rename it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to apply time series function on physical columns in OBIEE RPD

    Hi,
    I know a way to apply time series function(Ago and ToDate) by using existing logical columns as the source. I have set the chronological key and created time dimension. In the expressiion builder for the same Time Dimension appears at the Top so that we can use its level.
    But I couldn't apply a time series function when i have to create a logical column using physical columns. In the expression builder for the same, Time dimension does not appear in the list. Neither can i use any column from the time dimension. Please let me know a way to do it.
    Thanks.

    Time series functions are - by design and purpose - only valid for derived logical columns and not useable inside physical mappings.
    If you want / need to do it on a physical level, then abandon the time series functions and do it the old-school way with multiple LTS instances.

  • Drilldowns on measure columns based on time series functions.

    Guys,
    I am new to OBIEE and i need your Help!! I have a dashbaord report which shows the sales USD for the colums below.
    REGION , PRIOR MONTH , CURRENT MONTH PRIOR YEAR , CURRENT MONTH PRIOR YEAR MTD , CURRENT MTD , ACTUALS YTD.
    All the measures are logical columns caluculated in the RPD using the Time Series Functions. The dasboard report has a Prompt Calender Date and all the measure values are caluclated based on the date entered in the prompt.
    For example if the Calender Date on the prompt is 5/31/2011 then the value for the PRIOR MONTH will the sales for APR-2011 and the value for CURRENT MONTH PRIOR YEAR will be MAY-2010 and so on.
    The business requirement is to provide the drill down capability on these measure columns. When i click the sales number on the prior month column it should give me all the detailed transactions for the month of APR-2011 considering the prompt for calender date is 31-MAY-2011.
    I have provided drilldowns based on the Navigation using the column interatcion but i am unable to understand how to provide the drilldown on the measure columns using the time series functions to caluclate the sales for PRIOR MONTH. CURRENT MONTH PRIOR YEAR...etc.
    Please Help!!!
    Thanks,
    Sandeep.

    1. Create an alias fact table (Year Ago) to pull last year value.
    2. Extend your fact table to store another measure (last year sales)
    3. Based on volume of granular data and query pattern on year ago measures, you may create aggregate fact tables.
    hope this helps.

Maybe you are looking for

  • Re: Camileo S10 - very slow when SD card is in.

    My Camileo S10 was working fine for months with my 8GB ScanDisk Ultra II memory card. Now, when I start the camera it is very slow to start and to operate (a few seconds delay for each operations). When I remove the SD card and trun on the camera, it

  • How to use selction option in reporting

    hi experts, my source file contains data like this     ID       QUANTITY     YEAR   101        25KG              2005   102        20KG              2005   103        28KG              2005   101        32KG              2006   102        22KG       

  • Xfce4 Edit The Window Buttons Panel Menu?

    Hi, new Arch Linux user here. I dabbed a little in Ubuntu and stuff before but finally took the plunge and wiped my WIndows partitions and started running solely Linux a few days ago. There's still a few things I haven't been able to work out (figure

  • Is there firefox 64 bit for windows 7 64 bit?

    I have firefox version 20 32 bit and noticed on java that there is 64 bit browsers and I like firefox so I was hoping there is a 64 bit version of firefox for windows. Also what is the firefox nightly? I dont wana download and install something that

  • Using refine edge tool

    Followed YouTube videos etc.  but I find hair selection virtually impossible.  Initially put it down to my skills.  But now tried on my friends machine.  With great success.  Even the defringe tool works beautifully on his machine but does nothing on