Doubts about time series measures

Hello

In my case, I have two calendars

(1) Calendar Fiscal Enterprise (gold) (August to July)

2) of the Gregorian calendar (Jan-Dec).

So now my question is if we apply the function to this day using two calendars, how it will work.

For ex: if I create a function of year to date using the Gregorian calendar, then it will pick up the results of Jan. 1 so far until. And even if I used the factory calendar then it will pick up the results of August 1 so far until.

Is my above correct understanding. Correct me if am wrong anywhere.

And now I have a requirement, my client wants to change the dates in the calendar, I mean for the Fiscal Calendar, they won't leave (August to July), but (Dec-Dec) is this possible, if so please specify how and where...


Help is greatly appreciated.

Raj,
For your condition, I've written a procedure in which the date of 1 January 2010 ' he converted to the exercise of December 26, 2009 "and the same is updated within your calendar_table in the fis_dat column based on which you can easily find your fiscal_year, month and so on." The same can be much simplified and I'll update if find the time... Check and to go me back.

Create or replace procedure fin_cal
as
Start
DECLARE
date of temp_date;
date of fisc_date;
date of temp_fisc_date;
date of previous_date;
int pre_year;
int year_date;
cursor c1 is select trunc (date_time) of dates1 where time_key > = 20100101 and time_key<= 20120101="" order="" by="" trunc(date_time);="" calculated="" from="" 1st="" jan="" 2010="">
Start
Open c1;
loop
Fetch c1 into temp_date;
When exit c1% notfound;
year_date:=TO_NUMBER(to_char(to_date(temp_date,'dd-mm-yy'),'yyyy'));
pre_year: = year_date-1;

If to_char (temp_date, 'dd') = '01' and to_char (temp_date, 'mm') = '01' and then
fisc_date: = to_date(pre_year||) e 12-24', 'YYYY-MM-DD'); the initial date is 24-12-title...
dbms_output.put_line (fisc_date);
Update dates1 set fis_dat = fisc_date where trunc (date_time) = trunc (temp_date); fis_dat is the column in the table
on the other

Select fis_dat in the previous_date of dates1 where trunc (date_time) = trunc (temp_date)-1;
temp_fisc_date: = to_date (to_char(previous_date,'YYYY-mm-DD'), 'YYYY-mm-DD') + 1;
Update dates1 set fis_dat = temp_fisc_date where trunc (date_time) = trunc (temp_date);
temp_fisc_date: = ";
end if;
end loop;
end;
end;

Start
fin_cal();
end;

Kind regards
Anitha.B

Tags: Business Intelligence

Similar Questions

  • Functions of time series

    I added a time series measured in SPR

    Year ago sales = there is ("Business Analytics" "." ") Sales facts ".» "The sale $", "Business Analytics". «Time hierarchy ".» ("" Exercise ", 1).

    If I shoot "Sales there of the year" in the answers, it takes forever to run - (5 - 6 minutes) - the result is correct.

    If I simply pull - "Business Analytics". "Facts sale '." "" Selling the $'s ' running in 5 seconds.

    Is their anyway I can optimize the timeseries functions?

    Any response would be greatly appreciated!

    We are the Oracle Business Intelligence 11.1.1.6.5 version.

    Published by: ann 2012 March 14, 2013 14:13

    That's why I often make an alias of the fact table and join the in the time dimension with year - 1. For me the SQL out readable and performs generally better than the version that comes with AGO.

    Scott

  • Calculation of the variation without time series?

    Hi all.

    I have a pivot table like the one below. Time series is not implemented in the RPD, for performance reasons. Is it possible to calculate the difference between two measurements on two different dates in a pivot table (column difference below), similar to what we achieve by using the function of timeseries AGO(). The dates are chosen by the user from a dashboard prompt, so I don't know if the calculated item apply here and the dynamic elements ($1, $2) does not work too. The PivotTable contains more columns and rows as the example below.

    ___Dates
    Product___01/10/11___02/10/11___Difference
    A__________10_________15___________5
    B___________8__________6___________-2
    C___________8__________8___________0

    Thank you.

    Kind regards

    Published by: user10634835 on October 3, 2011 01:54

    Published by: user10634835 on October 3, 2011 02:06

    Published by: user10634835 on October 3, 2011 02:08

    Hello
    With the help of $2 - $1 in the news of the elements calculated under pivot table view.
    Ex:

    10/01/2011 diff name 10/03/2011

    423 400 23 dev

    Let's date = 10/01/2011 see as $1

    to date = 10/03/2011 referd $2

    * $2-$1 will get a difference of two date... fully automatic *.

    * 100% it will work... I have also implemented the same *.

    Thank you

    Deva

    Published by: Devarasu on October 3, 2011 17:18

  • Time series: finding max and min for each month

    Hello world. I'm working on a datasheet that has collected the data points for all day for the past 15 years.

    A column stores the date and column B contains a numeric value.

    I want to do the following:

    Create a new table (call it table #2) that:

    (1) is now a time series on a monthly basis (column A contains "year month"). This is why the table contains a header and 15 * 12 = 60 rows of data

    (2) B Col contains the Max value of this month.

    (3) C Col contains the value this month min

    Table #2 should be calculated automatically because I need to find these values for several series. Any ideas?

    Here is a way that I came up with

    In the table above, your original data is in columns B and C.

    I've added three additional columns (A, D and E):

    D2 = Year (B2) & NUMTOBASE (MONTH (B2), 10, 2)

    It's shorthand dethrone select D2, and type (or copy and paste it here) the formula:

    = Year (B2) & NUMTOBASE (MONTH (B2), 10, 2)

    E2 = IF (D1≠D2, 0, E1 + 1).

    Select copy of D2 to E2,

    Select cells D2 at the end of column E, block

    A2 = D2 & NUMTOBASE (E2, 10, 2)

    Select A2, copy

    Select A2 at the end of the A2 column, paste

    now create a second table summary as shown:

    For 'Summary Table 2016:

    the first four lines are the lines of header

    There are 35 total lines

    Enter the year in cell B1

    A5 = −4 LINE)

    B5 = SIERREUR (VLOOKUP ($B$ 1 & NUMTOBASE(B$4,10,2) & NUMTOBASE($A5,10,2), data: $A:$ C, 3, 0), "")

    Select cell B5, copy

    Select cells B5 at the end of row 5, dough

    Select A5 thru M5, copy

    Select cell A5 at the end of the M column, paste

    B2 = MIN (B)

    B3 = MAX (B)

    Select the cells B2 to B2, copy

    Select the cells B2 through M3, dough

    now duplicate the table and change the year to 2015 for the next year.

    You can duplicate this table as necessary to summarize a year

  • Best approach to model Time series Calc

    Hello comrades,.

    Please let us know the best way to use the calculation of time series in the reports (IE last YEAR, BAT etc.).

    Since many developers odious at this stage

    to share your ideas and suggestions how to model side RPD and reports, while it would be easy to avoid any mistakes or false calculations.

    Thanks in advance...

    Hello

    The easiest is to simply use the provided time series functions out of the box: to use it all you need to do is set up correctly your time dimensions (levels and keys) and the function will do the job.

    Another option may be to model the time series you need as physical join and amounts by a natural aggregations of the rows returned. For this one, you have 2 options: create the values on the side on the side of time dimension or fact. Depending on how you will you need to add additional columns in your MDB to represent the values of time series.

    It really depend on several things to decide which option to use. Start with the output of the function box and there are many chances it will be just enough for most needs.

  • Dynamic members time series (In a BSO Application) can be used in other formulas of Member, rules of business or Calc Scripts?

    I am building an application of OSI to refer to values for a YEAR in several calculations. Before you enable the DTS, I wanted to make sure that they can be referenced in the formulas (used in IF conditions to check the values against a value of Member A-T-D)

    Dynamics of time series can be used only to display values DTS EN reports or in smart view retrieves. You cannot use them in the form of Member or Calc. I think the best way would be to add a version with a formula that adds every month until this month for CDA or a different scenario.

  • Time series by using Oracle Data Mining? Is there any equivalent of ARIMA in the MDGS?

    Hello

    I followed the extraction of data from Oracle Press book. I applied regression models to predict continuous variables.

    My use case is to predict the market price of stocks based on historical data.

    I see there R packages to do. Some popular methods that are widely used are ARIMA (Autoregressive integrated mobile average).

    Is there such an offer out-of-the-box in the MDGS?

    Pointers / whitepapers, or do we use component regression?

    Thank you

    Chrystelle

    Hey Lulu,

    MDG does not have an implementation of time series which is precisely part of the SQL in the algorithms of db.

    But AAO (Oracle Advanced Analtyics, ODM is a part of) has an implementation of time-series Oracle which may be useful for you:

    See ore.esm model, documented with examples here: https://docs.oracle.com/cd/E57012_01/doc.141/e56973/procs.htm#BEIEGCDG

    We also have the preparation of data for time series capabilities, listed here: https://docs.oracle.com/cd/E57012_01/doc.141/e56973/procs.htm#BEIJHHCG

    May also be interested to Marcos Campos blog on time series using the current characteristics of ODM/DB: Oracle Data Mining and Analytics: time series Revisited

    Hope it will be useful.

    THX, mark

  • Bit confused about time zones

    I am running the DB on my home machine. I have a few questions about time and time zones...

    SQL > select double dbtimezone.

    + 00:00

    So I guess it's UTC time zone 0:00

    SQL > select to_char (sysdate, ' hh) twice;

    05:43:53

    So why is it an hour before the time UTC when I check on the internet

    SQL > select sessiontimezone double;

    + 01:00

    We are London/GMT with active DST so it makes sense.

    SQL > select to_char (current_date, ' hh) twice;

    05:44:30

    1 hour before the time UTC, as expected.

    I would have expected the time DB and session of differ from 1 hour, since the DB timezone is UTC, and the session is UTC + 1:00 (due to the DST).

    When I check the server time is his 1 hour before and yet the time zone UTC + 0:00... confused.

    > select to_char (sysdate, ' hh) twice;

    SYSDATE is not aware of time zone & reports based on what is obtained from the operating system on which Oracle DB is installed.

  • SmartView and dynamic time series

    All,

    I just heard this:

    Dynamic time series is used in other applications on the reports and work as expected in the financial information. However, it does not correctly work with SmartView.


    Is this true? You cannot get DTS reports in SmartView? Version 11.1.2.1

    Have a read of http://docs.oracle.com/cd/E17236_01/epm.1112/sv_user/sel_dts.htm
    or are you saying EN reports in Smart View does not work

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Doubts about licenses

    Hi all

    I have a few doubts about the price of licenses.

    I understand, I can deploy an APEX Server 11g XE free of charge, but what happens, if I want to install, a version no XE?

    Imagine a billing application, for 10 users, and I will assume that a Standard is sufficient. With the help of [this price list | http://www.oracle.com/us/corporate/pricing/technology-price-list-070617.pdf], how much exactly will cost?

    I understand I can get a license by user or server, or I have to license user and server too?

    Kind regards.

    Hello
    metric license is named plu user or license CPU (see the table of the core).

    for a quote, you can take a look in the oracle store or ask your dealer for an exact price oracle.

    concerning
    Peter

  • Beta Analytics: what units the "time spent" measured in?

    Hello team DPS,

    I have 2 questions:

    (1) I have searched but cannot find in what units the "time spent" measured in. I think it's in the years . Please add this to both graphics and mouse-over-discriptions.

    2) also have the folio Total time spent: 17018 units, but for the same period total for all the items of the same folio to addition the: unspecified: one is 14885 units. I understand that clean up statistics 'unspecified' will also correct these Total time spent for the folio number.

    > We will be solve this in our next realease by cleaning the "not specified".

    -This means in R30, R29 was just realeased?

    Thank you

    Gennady

    Gennady salvation,

    Thanks for the comments, the total time spent is in seconds and it would be included in the release of the phase 2 of R29 coming out in early January.  #2 in will be also fixed in the release of the phase 2 of R29.

    Shikha

  • Dynamic time series in a form

    It seems to allow me to add it. Click on the Member, A-T-J of medium-sized options. He then Let's save me it.

    But then not let me open the form (errors).

    Anyone know if this is a bug or if there is something missing.
    DTS works in reports
    I use version 11.1.2.1

    It may depend on the form design
    for example 10226960 - cannot open a data form that includes members of the time series dynamics (DTS) and has the option to remove the missing blocks selected.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Time series graphics display data inappropriate for a continuous analysis

    Hi all
    I've marked in months as chronological key in my MDB layer, but I still cannot display data correctly in my chart of time series, because it shows data for analyses continuously when you create the chart. Can someone help me with the same.


    Thank you

    What type of data is your key? The chronological key is required for time series formulas (there etc.).

    The time series graph requires a date or datetime data type work - maybe a new column with the first of the month / help? Kind regards

    Robret

  • I have a doubt about the file .folio and publications

    Hello, I m new here.

    I want to start working with DPS, but I have a doubt about which version to buy.

    At the moment I have one customer just wants to publish a magazine, but my intention is to have more customers and publish more magazines.

    If I buy the unique edition of DPS, I read that I can publish a single file .folio. What it means? Each folio file represents a publication?

    Please, I need help to understand this before you purchase the software.

    Thank you very much

    Paul

    Here's a quick blog I wrote to compare the simple edition and

    multifolio apps:

    http://boblevine.us/Digital-Publishing-Suite-101-single-Edition-vs-multi-Folio-apps/

    Bob

  • Doubts about event handlers

    Hello

    I had some doubts about the event handlers in the IOM 11.1.1.5...

    (1) I want to use the same event handler for the message insert and update Post task... Can I use the same handler for this... If Yes, then how can I make...

    (2) can I create the single class of Plugin.xml and add all the jar files in IE single lib folder and zip them all together... If yes then what changes I need to do? Need only add that the plugin tags for different class in the plugin.xml file files? OR need to do something extra too...?

    (3) if I need to change something in any class handler... Is it need to unregister the plugin and register again...?
    If Yes... Is it need to delete the event handler using the weblogicDeleteMetadata command?

    (4) that we import the event handler of the path as event manager/db /... If we add all the evetn handler.xml files in this folder... As when importing weblogicImportMetadata called recursively all files in this folder... Now, if I need to change anything in one of the event handler class... so if import us from the same event manager/db folder... What to do... Create the copy of the eventhandlers? OR should I not add Eventhandler.xml files to class files, I made the changes...

    (5) given that I need to create emails on the creation of the user while recon and identification of email updated as a first name or surname updates... I had to use in the event handler.xml (entity-type = 'User' operation = "CRΘER") or something else...


    Help me clarify my doubts...

    Yes, on the update post you need to be check first if the first and last name change to update the mail electronic id, rather then calculation always email identification. So, you can check the path name are updated through the previous code.

    -Marie

Maybe you are looking for

  • Recovery drive D

    I accidentally formatted my recovery drive D on my laptop Envy.  Is there a way to restore this drive?  I did the recovery disc, but want to restore my drive if possible.

  • 2010 Highway

    Help! I bought Highway 2010 a couple of months. Put it on my PC and everything is OK. Put on the laptop and it will not work properly crashes. I did a complete restore of the system RAM memory added to the laptop and it still doesn't bevause it has 1

  • What is each connection push the need to go through the BES Blackberry?

    Hello This is a general question for any expert answer. I have boost registered midlet that accepts streaming connection on a given port, registered as socket: / /: 1234 The intention is for a browser in the device you can connect to this application

  • Notification of individual visitor

    I feel stupid asking.  A sales representative will get instant notifications when a known individual (not a company) hits our website?  Not so interested to know that we see notifications of visitor to company.

  • CPU patch vs PSU in R12

    Hello:Asked me to apply patch PSU April 2014. I just applied CPU January 2014. I thought that we can apply only CPU or power supply. Can I apply PSU?We have 12.1.3, 11.2.0.3 on Linux.Thank you for the clarification