OBIEE - calendar 10g

Hi, experts,

is it possible to build a calendar of any type of report including the features below?

(1) able to show an event that runs through several days (such as the billboards in microsoft outlook)
(2) able to show the event highlighted with different colors.

Thank you very much!

Forreging,

See the link below is very useful for your needs

http://hiteshbiblog.blogspot.com/2010/04/OBIEE-showing-data-on-calendar.html

Thank you
Oldia...

Tags: Business Intelligence

Similar Questions

  • Days between dates based on a 360-day calendar (10g)

    Hello
    does anyone know how to calculate days between dates based on a 360-day calendar (12 months to 30 days, used by merchants)? I use Oracle 10 g.

    Thank you for the help
    Best regards
    Carsten
    SQL*Plus: Release 10.1.0.4.2 - Production on Thu May 26 10:28:15 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta
    
    ANTON@XE>with t as (
      2    select date '2011-04-04' as date_to, date '2011-02-02' as date_from from dual union all
      3    select date '2011-04-01', date '2011-02-02' from dual union all
      4    select date '2011-03-18', date '2011-02-02' from dual union all
      5    select date '2011-02-04', date '2011-02-02' from dual union all
      6    select date '2011-02-01', date '2011-01-31' from dual union all
      7    select date '2011-02-02', date '2011-02-02' from dual
      8  )
      9  select date_from, date_to
     10       , least( extract( day from date_to ), 30 ) - least( extract( day from date_from ), 30 )
     11       + 30 * ( extract( month from date_to ) - extract( month from date_from ) )
     12       + 360 * ( extract( year from date_to ) - extract( year from date_from ) ) days360
     13  from t
     14  /
    
    DATE_FROM       DATE_TO            DAYS360
    --------------- --------------- ----------
    02-FEB-11       04-APR-11               62
    02-FEB-11       01-APR-11               59
    02-FEB-11       18-MAR-11               46
    02-FEB-11       04-FEB-11                2
    31-JAN-11       01-FEB-11                1
    02-FEB-11       02-FEB-11                0
    
    6 rows selected.
    
    ANTON@XE>
    

    See also http://en.wikipedia.org/wiki/360-day_calendar

  • Alert on OBIEE

    Hello

    I want to display warning on the page if the user select more than 3 values using multiple selection in the command prompt.

    Is it possible, if so can you sat me on this.

    OBIEE Version: 10g

    Thank you

    Hello

    These features are provided not out-of-the-box. However, you can implement custom Javascript to achieve what you are looking for.

    In fact, we had implemented JS custom quick validation purposes and code below is a modified version of what could help you achieve what you're looking for. Basically the code validates a special multiple selection prompt and throws an error in case there are more than 3 values selected by the user. Validation occurs when the user clicks the GO button.

    Code:

    < script type = "text/javascript" >
    var multiSelCol = ' 'D2 market '. "" M01 market ' '.
    var errMsg = "you cannot select more than 3 values;
    var maxVals = 3;

    var s = document.getElementsByTagName ('td'); var pass = "";
    for (var i = 0; i < s.length; i ++) {}
    {if (Check (s [i]. GetAttribute ('GFPBuilder'), multiSelCol))}
    TID = getTable (s [i]); Col = s [i]; var el = document.getElementById (tid) .getElementsByTagName ("td");
    for (j = 0; j < el.length; j ++) {if(el[j].className=='GFPSubmit') {var goButton = el [j] .getElementsByTagName ('a ') [0];
    var oldHandler = goButton.onclick; goButton .onclick = function() {if (customValidate ()) {oldHandler.apply (this, arguments) ;}}}
    }}}}}

    function customValidate() {}
    var str = document.getElementById (col.getAttribute ('sID')) .value;
    if(STR!="") {if (str.split("',_'").length > maxVals) {alert (errMsg);} return false ;}} return true ;}

    function check (inp, pat) {if(inp == null) {return false ;} var str = inp; var patt = new RegExp ("pat");}
    François var = str.replace (new RegExp ('\\\x22', 'g'),'"'") match (patt); if(matarr == null) {return false ;}; else {return true ;}}}

    function getTable (elem) {}
    While (elem. ClassName! = 'GFPBox') {elem = elem.parentNode ;}
    Return elem.getAttribute ('id') ;}

    < /script >

    Steps to implement the above code:
    -Go to edit the dashboard and place a text object below the area where the guest is placed.
    -Open the properties of the text object and paste the above code into it. Check that you check the option "contains the HTML markup.
    -In the above code, you need to make changes to the first 3 variables.
    * multiSelCol - holds the formula in the column that must be validated (inside the single quotes).
    * errMsg - error message to display if the user selects more than max no.. values and hit the GO button
    * maxVals - values number Maximum, the user can select the multiple selection prompt.

    I tested this code in IE, and it seems to work very well. Let me know if it works the way you want that there. Note also that this code does not work once you upgrade to 11g.

    Thank you

  • Place a gradation of OBIEE 10.1.3.4 to 11

    Hello

    I already OBIEE (10.1.3.4 version) installed. Now, I want to improve OBIEE from 10g to 11g. I'm looking for documents related to this. Please give links and other things to note all by improving to 10-11g.

    Thank you
    Sirjacobs

    Hello
    You mean you want to upgrade OBIEE10g installed to 11g or update your catalog of 10g and RPD?
    If its on the upgrade of your 10g RPD and catalog look into this: http://www.rittmanmead.com/2010/08/23/oracle-bi-ee-11g-upgrading-from-bi-ee-10g-repository-web-catalog/

    Kind regards
    Srikanth

  • Tool OBIEE

    Hello

    Is it available any Express edition or any trial version of the tool OBIEE for study purpose.
    If anyone knows any source please answer?





    Regarding
    Ngoyi.

    Hi Ngoyi,
    You can download website oracle OBIEE

    10g:
    http://www.Oracle.com/technetwork/middleware/BI-Enterprise-Edition/downloads/business-intelligence-10G-165415.html

    Download free one, it installs

    The most recent version is 11g

    http://www.Oracle.com/technetwork/middleware/BI-Enterprise-Edition/downloads/index.html

    Thank you
    saichand.v

  • How to change the number of values in the hour that are restricted.

    Hello

    May I know how to change the number of values in the hour that are restricted.

    In fact, we have improved of obiee in obiee 11g 10g. Data base is the same for Both.In 10 g the prompt value is limited to show only 35 records per page. As we passed it shows only 35 Records in 11g also. How can I change this limit to 11g.

    Please suggest me! Its urgent!

    Thanks and greetings

    Navnitha

    Hello

    In the advance tab we have the XML of the upgraded report, copy it into a Notepad and try to find the line beginning as below

    In 10g, we have something like below, simply remove the choicesPerPage = '35' from 11 g OBIEE XML report

    Thank you

    RAM

  • Concept of calendar in OLIVIER / OBIEE

    Concept of calendar in OLIVIER / OBIEE:

    Could you please explain or point me to resources on the following questions:

    1. What is the significance of using the Gregorian calendar, tax and business?

    2. I know Gregorian and fiscal power have different departure date. But could you explain how this affects the reporting.

    A fiscal year ( fiscalyear or sometimes budget year) is a period of calculating annual ("yearly") financial statements in businesses and other organizations. In many jurisdictions, the regulatory provisions regarding accounting and taxation require such reports once every 12 months, but don't require the period considered as a calendar year (i.e. January 1 to December 31). Exercises vary between companies and countries. The "exercise" can also designate the year used for the income tax return.

    Some companies choose to end their fiscal year, the same day of the week, this day being the closest to you at a given date (for example, Friday closest to December 31). In such a system, some exercises will have 53 weeks 52 weeks and others. A large corporation that has adopted this approach is Cisco Systems.

    Source: Wikipedia

    Make a simple example: company chooses to go start of their fiscal year on April 1.

    Selecting "Horizon 2015" in the Gregorian calendar would produce days of 01 January 2015 to 31 December 2015.

    Selecting 'Horizon 2015' in the calendar tax would produce days 01 April 2015 to 31 March 2016.

  • Link to OBIEE 11 g Page dashboard of a 10g dashboard Page

    Hi all
    Is it possible to place an object of link on a page of dashboard (in OBIEE 10 g) and who have to navigate to a page of dashboard OBIEE 11 g?
    If so, how that is implemented?
    Our 11g and 10g environments are on different servers.

    For commercial reasons (and budget) we are not migrating our environment integer 10 g to 11 g immediately.

    Thank you.

    You can use URLS to go as long as they are on the same network domain [go URL | http://docs.oracle.com/cd/E21043_01/bi.1111/e16364/apiwebintegrate.htm#i1005050]

    http://sureshotstrategies.WordPress.com/2008/12/13/integrating-Oracle-OBIEE-content-using-go-URL-syntax-2/

    http://www.iwarelogic.com/2010/09/integrating-Oracle-OBIEE-content-using-go-URL-850/

    I hope this helps.

    -
    SVS

  • OBIEE 10g BI Administration Tool Installation

    Dear gurus,

    I know it's old fashioned, but where to find the full installation doc to install BI Admin tool 10g?

    Thank you

    Concerning

    JOE

    Hello

    Please do step below

    If you want to install the client only, please select the option ' oracle business intelligence customer tool ", and then install it.
    FYI, http://allaboutobiee.blogspot.com/2012/03/obiee-101342-installation.html
    in this link, look at the screen 3 select the installation type as "customer oracle business intelligence tool.
    what you want to install.

    Concerning
    Deva

  • Installation of 10g of OBIEE

    Hello

    I do the installation of 10g of obiee. I will have two boxes unix as primary and secondary and want to make it as NAS is shared between the two servers of the cluster. So I need to install it on a box mmee or both boxes.

    Thank you

    Hi RM,.

    Yes, you must install OBIEE on both boxes. However, you will need to a part of the cluster with a box including the cluster controller running BI servers on both boxes. You can use the NAS to store the global cache.

    I hope this helps.

    Thank you
    Diakité

  • (Load balancing) cluster in obiee 10g implementation

    Hi all

    We must apply the clustering (active for load balancing) in our project. We use both analytical and bi publisher. You must also deploy Analytics/bipublisher in weblogic aimed SSO server.

    Now we have two machines.

    From now on, we did the obiee10g installation (installing, we selected the button 'Finish') on both computers. Could any body tell us how to implement w.r.t. clustering for weblogic.
    More to know...

    + 1. Is normal clusrtering method in 10g with oc4j server is different when deploy us application in weblogic server... ? +

    + 2. Can I use one of the two machines to create a shared folder and place the RPD to give the path in REPOSITORY_PUBLISHING_DIRECTORY or should I use a third machine other than these two machine..... ??? +

    Any help is greatly apprciated.

    Thank you and best regards,

    Hello

    1. do you have normal method of clustering in 10 g with oc4j server is different when deploy us application in weblogic server... ?

    A. Yes, that some difference.

    2. can I use one of the two machines to create a shared folder and place the RPD to give the path in REPOSITORY_PUBLISHING_DIRECTORY or should I use a third machine other than these two machine..... ???

    A. you can use both ways but note are all systems must be same domain only.

    I've implemented clustering successfully Setup for last week.

    http://oraclebiblog.blogspot.in/2009/07/configure-OBIEE-in-cluster-mode.html

    http://www.clearpeaks.com/blog/Oracle-BI-EE/OBIEE-10G-high-availability

    http://prolynxuk.com/blog/?p=100---c' is good one.

    Good luck.

    post me if have to deal with any problem.

    Allocation of points, it is useful.

    Thank you

    Satya

  • How to view the report by using the style of calendar in obiee

    Hello
    Can someone tell me how to view the report as the calendar?
    When I choose chrystelle, it displays 31 days. 7 column, from Sunday to Saturday, and each cell displays the detailed information, such as sales from today!
    Thank you!

    Hello

    Please foloww the below blog...

    http://bischool.WordPress.com/2010/10/22/calendar-view-in-OBIEE-and-applications/

    Thank you
    Vincent

  • [10g] Best to fill and update multiple calendars work?

    I would like to create multiple calendars working and be able to update as needed. Each work schedule would be for 5 years at the most (right now), but it is possible that at some point in the future, I might want to extend that.

    A work schedule can be applied to a single resource or group of resources. Each individual belongs to a group of resources. What I think, is that if an individual resource has a calendar of work involved, this calendar is used, but if not, it uses the calendar of its resource group, and if the group does not have one, the default schedule is used. Theoretically, each resource can have its own schedule of work, and there would be probably 500 resources to the maximum. In practice, many resources will have the same or similar work schedules.

    Each calendar will be based on one of the 3 standards: all calendars days are working days, on a daily basis, but weekends are working days, or every day except weekends and holidays are working days. (Weeks begin on Sunday and Saturday and Sunday are weekends). The standard calendar would be then modified to create each unique timing as required. For example, if a resource has been used, their calendar is perhaps the standard of works not on weekends and holidays, but could also include a stay of one week in February and stay for a week in July. I'm not sure what the best approach is to define a calendar in the first place and then be able to update an employee decides to holiday (or any other situation that may affect the working days).

    In addition, I really want to be able to integrate the working hours, which can vary daily, but would probably would be pretty standard. I don't know if this information is part of the work table, or as something separate to be combined with work table.

    My ultimate goal in doing all this is to try to plan a project of great amongst the many resources.

    Some examples of data showing where I am so far:
    CREATE TABLE     work_groups
    (     group_id     VARCHAR2(5)     NOT NULL
    ,     group_name     VARCHAR2(25)     
    ,     group_desc     VARCHAR2(200)
    ,     CONSTRAINT     work_groups_pk     PRIMARY KEY (group_id)
    );
    
    INSERT INTO     work_groups
    VALUES     ('A','Group A','Group A description');
    INSERT INTO     work_groups
    VALUES     ('B','Group B','Group B description');
    INSERT INTO     work_groups
    VALUES     ('C','Group C','Group C description');
    INSERT INTO     work_groups
    VALUES     ('D','Group D','Group D description');
    
    CREATE TABLE     resources
    (     resource_id     VARCHAR2(20)     NOT NULL
    ,     type          VARCHAR2(1)
    ,     description     VARCHAR2(200)
    ,     group_id     VARCHAR2(5)     
    ,     CONSTRAINT     resources_pk     PRIMARY KEY (resource_id)
    ,     CONSTRAINT     group_id_fk     FOREIGN KEY (group_id)
                             REFERENCES  work_groups (group_id)
    );
    
    INSERT INTO     resources
    VALUES     ('A001','M','text here','A');
    INSERT INTO     resources
    VALUES     ('A002','M','text here','A');
    INSERT INTO     resources
    VALUES     ('A003','M','text here','A');
    INSERT INTO     resources
    VALUES     ('B001','M','text here','B');
    INSERT INTO     resources
    VALUES     ('B002','M','text here','B');
    INSERT INTO     resources
    VALUES     ('C001','M','text here','C');
    INSERT INTO     resources
    VALUES     ('C002','M','text here','C');
    INSERT INTO     resources
    VALUES     ('C003','M','text here','C');
    INSERT INTO     resources
    VALUES     ('D001','M','text here','D');
    INSERT INTO     resources
    VALUES     ('12345','L','text here','A');
    INSERT INTO     resources
    VALUES     ('12346','L','text here','A');
    INSERT INTO     resources
    VALUES     ('12347','L','text here','B');
    INSERT INTO     resources
    VALUES     ('12348','L','text here','B');
    INSERT INTO     resources
    VALUES     ('12349','L','text here','C');
    INSERT INTO     resources
    VALUES     ('12350','L','text here','C');
    INSERT INTO     resources
    VALUES     ('12351','L','text here','D');
    I don't know if I should have a separate table to define a relationship between a resource or resource groups and a calendar id (each resource or group would be able to assign 1 calendar unique id, although several resources/groups could share the same schedule id), or if I have to add an additional column to each table above to assign the calendar id.
    CREATE TABLE     calendars
    (     cal_id          NUMBER(4)     NOT NULL
    ,     cal_title     VARCHAR2(25)
    ,     cal_desc     VARCHAR2(200)
    ,     CONSTRAINT     calendars_pk     PRIMARY KEY (cal_id)
    );
    
    INSERT INTO     calendars
    VALUES     (1,'Default','This is the default calendar to use for workdays');
    INSERT INTO     calendars
    VALUES     (2,'All Days','This calendar treats all days as workdays');
    INSERT INTO     calendars
    VALUES     (3,'Weekends Off','This calendar gives weekends off, but no holidays');
    INSERT INTO     calendars
    VALUES     (4,'Holidays Off','This calendar gives weekends and holidays off');
    
    CREATE TABLE     workdays
    (     cal_id          NUMBER(4)     NOT NULL
    ,     cal_date     DATE          NOT NULL
    ,     cal_year     NUMBER(4)
    ,     work_day     NUMBER(3)
    ,     work_date     DATE
    ,     work_week     NUMBER(2)
    ,     work_year     NUMBER(4)
    ,     work_days     NUMBER(5)
    ,     cal_days     NUMBER(6)
    ,     CONSTRAINT     workdays_pk     PRIMARY KEY (cal_id, cal_date)
    ,     CONSTRAINT     cal_id_fk     FOREIGN KEY (cal_id)
                             REFERENCES  calendars (cal_id)
    );
    cal_id - refers to the calendars table
    cal_date - the date of the current calendar
    cal_year - the actual year of calendar for the calendar date
    work_day - work in this year of work (resets every year, starting from 1 is 0 if this calendar date is not a working day)
    work_date - if a day of work, date calendar, otherwise, the date of the schedule for the last day of work (or the first week of the calendar, the next working day)
    work_week - the work date work week (numbered from 1, reset each year the first Sunday of the year, before the first Sunday will be the week last year, and the first year of the calendar will be every day before the Sunday included in the first week, until the first week of a calendar may be more than 7 days)
    work_year - year of the work date
    work_days - day of work shop (except in the first calendar week, before the first shop day is 0), starts at 1 (initially), cumulative (does not reset each year)
    calendar cal_days - day of the work date, starts at 1 (initially), cumulative (does not reset each year)

    Assuming that the calendar starts on 01/01/2010 (these values are less correct - I just do my best guess to provide the sample data):
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/01/2010','mm/dd/yyyy'),2010,0,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,0,1);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/02/2010','mm/dd/yyyy'),2010,0,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,0,2);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/03/2010','mm/dd/yyyy'),2010,0,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,0,3);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/04/2010','mm/dd/yyyy'),2010,1,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,1,4);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/05/2010','mm/dd/yyyy'),2010,2,TO_DATE('01/05/2010','mm/dd/yyyy'),1,2010,2,5);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('12/23/2010','mm/dd/yyyy'),2010,250,TO_DATE('12/23/2010','mm/dd/yyyy'),51,2010,250,357);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('12/24/2010','mm/dd/yyyy'),2010,0,TO_DATE('12/23/2010','mm/dd/yyyy'),51,2010,250,358);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/01/2011','mm/dd/yyyy'),2011,0,TO_DATE('12/23/2010','mm/dd/yyyy'),51,2010,250,366);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/02/2011','mm/dd/yyyy'),2011,0,TO_DATE('12/23/2010','mm/dd/yyyy'),1,2011,250,367);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/03/2011','mm/dd/yyyy'),2011,1,TO_DATE('01/03/2010','mm/dd/yyyy'),1,2011,251,368);
    I tried Googling work calendars, and similar things, but I can't seem to find something that fits my situation. If someone could point me in the right direction, I would appreciate it.

    I work in 10g (XE).

    Published by: user11033437 on July 19, 2011 15:05

    Also, I do not know if it would be better to store just somehow days, each group of resources/doesn't work and generate a schedule on the fly as needed, rather than trying to eventually store thousands of dates in the database?

    Hello

    Interesting problem!

    I don't know exactly what you want, however. Are you are looking for a way to answer such questions "resource A001, what are the first 6 days of work or after January 4, 2010?" or "how many working days does have resource A001 between January 4 and January 12, 2010? Post a few examples of the questions that you might ask, as well as desired outcomes, given the sample data you posted.

    user11033437 wrote:


    I would like to create multiple calendars working and be able to update as needed. Each work schedule would be for 5 years at the most (right now), but it is possible that at some point in the future, I might want to extend that.

    A work schedule can be applied to a single resource or group of resources. Each individual belongs to a group of resources.

    Is a 'group resouce' identical to a 'working group '?
    If a resource moves from one group to another, you need to keep track of historical information? For example, if the resource is A001 not havfe its own calendar and is part of the work_group A Juanuary 1, 2010, but then moves to work_group B July 1, 2010, you will need to answer questions like "how many days have you A001 have in 2010", where it must be remembered that the work_group has apllied calendar during the first half of the year , but work_group Schedule B has been used for the second half?

    What I think, is that if an individual resource has a calendar of work involved, this calendar is used, but if not, it uses the calendar of its resource group, and if the group does not have one, the default schedule is used. Theoretically, each resource can have its own schedule of work, and there would be probably 500 resources to the maximum. In practice, many resources will have the same or similar work schedules.

    Each calendar will be based on one of the 3 standards: all calendars days are working days, on a daily basis, but weekends are working days, or every day except weekends and holidays are working days. (Weeks begin on Sunday and Saturday and Sunday are weekends). The standard calendar would be then modified to create each unique timing as required. For example, if a resource has been used, their calendar is perhaps the standard of works not on weekends and holidays, but could also include a stay of one week in February and stay for a week in July. I'm not sure what the best approach is to define a calendar in the first place and then be able to update an employee decides to holiday (or any other situation that may affect the working days).

    It seems that the easiest thing would be to save only the base calendar exceptions. In other words, because the employee normally respect the calendar ' no weekend or holidays ", simply enter 5 rows for that particular employee Mark 5 days of work, he will be missed in February. If the emplyoee will work Saturday in June (in addition to its regular schedule), then enter a line for each Saturday in June.
    >

    In addition, I really want to be able to integrate the working hours, which can vary daily, but would probably would be pretty standard. I don't know if this information is part of the work table, or as something separate to be combined with work table.

    It depends on what you want exactly. Post a couple opf examples of questions you do not want to answer and the real answers, given the sample data that you post.

    My ultimate goal in doing all this is to try to plan a project of great amongst the many resources.

    Some examples of data showing where I am so far:

    CREATE TABLE     work_groups
    (     group_id     VARCHAR2(5)     NOT NULL
    ,     group_name     VARCHAR2(25)
    ,     group_desc     VARCHAR2(200)
    ,     CONSTRAINT     work_groups_pk     PRIMARY KEY (group_id)
    );
    
    INSERT INTO     work_groups
    VALUES     ('A','Group A','Group A description');
    INSERT INTO     work_groups
    VALUES     ('B','Group B','Group B description');
    INSERT INTO     work_groups
    VALUES     ('C','Group C','Group C description');
    INSERT INTO     work_groups
    VALUES     ('D','Group D','Group D description');
    
    CREATE TABLE     resources
    (     resource_id     VARCHAR2(20)     NOT NULL
    ,     type          VARCHAR2(1)
    ,     description     VARCHAR2(200)
    ,     group_id     VARCHAR2(5)
    ,     CONSTRAINT     resources_pk     PRIMARY KEY (resource_id)
    ,     CONSTRAINT     group_id_fk     FOREIGN KEY (group_id)
                             REFERENCES  work_groups (group_id)
    );
    
    INSERT INTO     resources
    VALUES     ('A001','M','text here','A');
    INSERT INTO     resources
    VALUES     ('A002','M','text here','A');
    INSERT INTO     resources
    VALUES     ('A003','M','text here','A');
    INSERT INTO     resources
    VALUES     ('B001','M','text here','B');
    INSERT INTO     resources
    VALUES     ('B002','M','text here','B');
    INSERT INTO     resources
    VALUES     ('C001','M','text here','C');
    INSERT INTO     resources
    VALUES     ('C002','M','text here','C');
    INSERT INTO     resources
    VALUES     ('C003','M','text here','C');
    INSERT INTO     resources
    VALUES     ('D001','M','text here','D');
    INSERT INTO     resources
    VALUES     ('12345','L','text here','A');
    INSERT INTO     resources
    VALUES     ('12346','L','text here','A');
    INSERT INTO     resources
    VALUES     ('12347','L','text here','B');
    INSERT INTO     resources
    VALUES     ('12348','L','text here','B');
    INSERT INTO     resources
    VALUES     ('12349','L','text here','C');
    INSERT INTO     resources
    VALUES     ('12350','L','text here','C');
    INSERT INTO     resources
    VALUES     ('12351','L','text here','D');
    

    It seems that all lines have the same description. If the description of the issues in this problem, would not better illustrate how this is important, having different descrioptions which appeared in different outputs? However, if the description plays no role in this problem, then why include in the sample data at all?

    I don't know if I should have a separate table to define a relationship between a resource or resource groups and a calendar id (each resource or group would be able to assign 1 calendar unique id, although several resources/groups could share the same schedule id), or if I have to add an additional column to each table above to assign the calendar id.

    CREATE TABLE     calendars
    (     cal_id          NUMBER(4)     NOT NULL
    ,     cal_title     VARCHAR2(25)
    ,     cal_desc     VARCHAR2(200)
    ,     CONSTRAINT     calendars_pk     PRIMARY KEY (cal_id)
    );
    
    INSERT INTO     calendars
    VALUES     (1,'Default','This is the default calendar to use for workdays');
    INSERT INTO     calendars
    VALUES     (2,'All Days','This calendar treats all days as workdays');
    INSERT INTO     calendars
    VALUES     (3,'Weekends Off','This calendar gives weekends off, but no holidays');
    INSERT INTO     calendars
    VALUES     (4,'Holidays Off','This calendar gives weekends and holidays off');
    

    What is cal_id = 1? How is it different from the other three?

    
    CREATE TABLE     workdays
    (     cal_id          NUMBER(4)     NOT NULL
    ,     cal_date     DATE          NOT NULL
    ,     cal_year     NUMBER(4)
    ,     work_day     NUMBER(3)
    ,     work_date     DATE
    ,     work_week     NUMBER(2)
    ,     work_year     NUMBER(4)
    ,     work_days     NUMBER(5)
    ,     cal_days     NUMBER(6)
    ,     CONSTRAINT     workdays_pk     PRIMARY KEY (cal_id, cal_date)
    ,     CONSTRAINT     cal_id_fk     FOREIGN KEY (cal_id)
                             REFERENCES  calendars (cal_id)
    );
    

    I suspect that there is a simpler way, especially if there is a regular order to types of day (e.g., people who take vacations outside normally get weekeneds, too).
    You may have a table like this, that was a line a day:

    CREATE TABLE  days
    (       a_date      DATE     PRIMARY KEY
    ,     day_type    NUMBER (1)              -- 1=Weekend, 2=Holiday, 3=Other
    );
    
    INSERT INTO days (a_date, day_type) VALUES (DATE '2010-01-01', 2) /* New Years Day */;
    INSERT INTO days (a_date, day_type) VALUES (DATE '2010-01-02', 1) /* Saturday */;
    INSERT INTO days (a_date, day_type) VALUES (DATE '2010-01-03', 1) /* Sunday */;
    INSERT INTO days (a_date, day_type) VALUES (DATE '2010-01-04', 3) /* Monday - back to work */;
    ...
    

    Another table (I'll call him work_sched) shows what resources are not working when:

    CREATE TABLE  work_sched
    (       p_key          NUMEBR     PRIMARY KEY     -- Arbitrary Unique ID
    ,     group_id         VARCHAR2 (5)          -- Exactly one of the columns group_id or ...
    ,     resource_id      VARCHAR2 (20)          --     ... resource_id will always be NULL
    ,     a_date              DATE
    ,     works_on     NUMBER (1)          -- works when days.day_type >= this value
    ,     remarks          VARCHAR2 (40)
    );
    

    To indicate that work_group 'L' is working normally on type 3 days only (i.e., weekends and public holidays):

    INSERT INTO work_sched (group_id, a_date, works_on) VALUES ('L', NULL, 3);
    

    (Assume that p_key is filled by a trigger).
    The NULL value in the column a_date indicates that it applies to every day, unless another line in the work_sched table. Instead of NULL, mabe some date impossible (for example, January 1, 1900) would be more convenient to specify default values.
    Exceptions to this schedule would be indicated by other lines in work_sched. For example, if "12345" is an employee who is on vacation for a week in February:

    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-02-08', 4, 'Vacation');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-02-09', 4, 'Vacation');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-02-10', 4, 'Vacation');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-02-11', 4, 'Vacation');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-02-12', 4, 'Vacation');
    

    And if that employee works Saturday in June:

    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-06-05', 1, 'Fiscal year-end crunch');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-06-12', 1, 'Fiscal year-end crunch');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-06-19', 1, 'Fiscal year-end crunch');
    INSERT INTO work_sched (resource_id, a_date, works_on, remarks) VALUES ('12345', DATE '2010-06-26', 1, 'Fiscal year-end crunch');
    

    Where to find the number of days of work, we would join work_sched in days using these two conditions:

    ON   work_sched.date           = days.a_date
    AND  work_sched.works_on  <= days.day_type
    

    cal_id - refers to the calendars table
    cal_date - the date of the current calendar
    cal_year - the actual year of calendar for the calendar date
    work_day - work in this year of work (resets every year, starting from 1 is 0 if this calendar date is not a working day)
    work_date - if a day of work, date calendar, otherwise, the date of the schedule for the last day of work (or the first week of the calendar, the next working day)
    work_week - the work date work week (numbered from 1, reset each year the first Sunday of the year, before the first Sunday will be the week last year, and the first year of the calendar will be every day before the Sunday included in the first week, until the first week of a calendar may be more than 7 days)
    work_year - year of the work date
    work_days - day of work shop (except in the first calendar week, before the first shop day is 0), starts at 1 (initially), cumulative (does not reset each year)
    calendar cal_days - day of the work date, starts at 1 (initially), cumulative (does not reset each year)

    There is a large amount of denormalized data. in other words, you should be able to easily deduct cal_date cal_year, but sometimes it is convenient store denormalized data.

    Assuming that the calendar starts on 01/01/2010 (these values are less correct - I just do my best guess to provide the sample data):

    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/01/2010','mm/dd/yyyy'),2010,0,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,0,1);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/02/2010','mm/dd/yyyy'),2010,0,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,0,2);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/03/2010','mm/dd/yyyy'),2010,0,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,0,3);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/04/2010','mm/dd/yyyy'),2010,1,TO_DATE('01/04/2010','mm/dd/yyyy'),1,2010,1,4);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/05/2010','mm/dd/yyyy'),2010,2,TO_DATE('01/05/2010','mm/dd/yyyy'),1,2010,2,5);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('12/23/2010','mm/dd/yyyy'),2010,250,TO_DATE('12/23/2010','mm/dd/yyyy'),51,2010,250,357);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('12/24/2010','mm/dd/yyyy'),2010,0,TO_DATE('12/23/2010','mm/dd/yyyy'),51,2010,250,358);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/01/2011','mm/dd/yyyy'),2011,0,TO_DATE('12/23/2010','mm/dd/yyyy'),51,2010,250,366);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/02/2011','mm/dd/yyyy'),2011,0,TO_DATE('12/23/2010','mm/dd/yyyy'),1,2011,250,367);
    INSERT INTO     workdays
    VALUES     (3, TO_DATE('01/03/2011','mm/dd/yyyy'),2011,1,TO_DATE('01/03/2010','mm/dd/yyyy'),1,2011,251,368);
    

    I tried Googling work calendars, and similar things, but I can't seem to find something that fits my situation. If someone could point me in the right direction, I would appreciate it.

    I work in 10g (XE).

    Published by: user11033437 on July 19, 2011 15:05

    Also, I do not know if it would be better to store just somehow days, each group of resources/doesn't work and generate a schedule on the fly as needed, rather than trying to eventually store thousands of dates in the database?

    That's what I thought, too.

    Post some sample data (if it is not what you have already posted), some examples of questions and the right answers you want from each question given that the sample data.

  • OBIEE Metadata Plugin cannot loaded with 10g DB and 10.2.0.3 AWM

    Hello
    I use database 10g R2 with awm10203A_win32 (10g AWM) downloaded from OTN to configure my cube. Cube, measure and configured axis fine but even if I put the obieeplugin.jar file into the location of the Plugin and configure the same path in my AWM interface after reboot of the AWM I still don't export to the OBIEE Admin submenu.

    However, I don't have this problem when I'm under database Oracle 11 g R2 with 11g AWM. It was perfectly well at this time.

    Is it because of the version of the database for which 10 g MN does not support the OBIEE plugin? I can see information below:

    Supported Oracle database versions
    OBIEE plugin for Analytic Workspace Manager supports Oracle Database 11 g,
    Release 1 (11.1), version 11.1.0.7 and later versions and Oracle Database 11g Release 2 (11.2).

    So, I want to confirm. Also if I am not able to get out the UDML generated by 11g AWM is possible to get these cube set in the repository OBIEE 10 g?

    Thanks in advance,
    Paiva

    Your quotation comes from the OBIEE plugin (http://www.oracle.com/technetwork/database/options/olap/awm-plugin-user-guide-for-obiee10g-303148.pdf) user guide

    So, Yes, you can use this if you use the database 11.1.0.7 or later and if you create a style of 11g AW.

    You can map style 10g AWs to OBIEE, but it's a complex and manual task. You must first generate views (for example) using the generator to view OLAP (10.2.0.3) available on http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html. After that, you will need to manually create the mapping metadata in OBIEE.

  • Version 10g, OBIEE and Weblogic

    1. can I use OBIEE 10 g with Weblogic that comes out of the box with OBIEE 11 g?
    2. can I use OBIEE 10 g with Weblogic support only (no box of OBIEE 11 g)?

    We strive to deploy in env Xnix.

    OC4J is the default value, which comes in 10g and we want to use the existing weblogic application server that the management considers a scalable solution.

    Pointers or links in this regard is highly appreciated.

    Thanks in advance
    Kris

    Hello

    I think this link might help you:

    https://community.altiusconsulting.com/blogs/altiustechblog/archive/2009/12/12/OBIEE-on-WebLogic-step-by-step.aspx

    Kind regards
    Gianluca

Maybe you are looking for