OLAP time dimension - how are the weeks allocated

Could someone please help me understand what logic Oracle uses when one makes use of Oracles OLAP time dimension based on weeks.
I am use Oracle OLAP 11.2
I have a Time dimension that has the following hierarchy:-
YEAR
QUARTER
MONTH
WEEK
For calculating the weeks ID I make use ISO week and year i.e. IYYYIW
For calculating the end date I use the following:- NEXT_DAY( l_date, 'MON' ) -1
i.e. the weeks end date is the Sunday.
According to me this is the required result.
Problem is that for some months there are 3 weeks allocated which makes no sense to me.
I cannot understand the logic used in allocating the weeks.
The following is an example:-
the following weeks were allocated to the month February
201306 (end date= 10-2-2013)
201307 (end date= 17-2-2013)
201308 (end date= 24-2-2013)
but the following week was allocated to January which makes no sence to me,
I would have expected it to be found in February
201305 (end date= 3-2-2013)
Week 201309 (end date= 3-3-2013) was allocated to March which according to me is correct..
Another example is week *201030 (end date= 1-8-2010)* that is allocated to July while I would have expected that it should be August.
I would have thought that it uses the end date that is placed in the mapping to determine the month to place it in.
Could some one please explain what the reason for this could be.

Oracle OLAP model/design (in this case, at least) cannot compensate to coverup existing flaws in the relational model/design.
I dont think this is a valid hierarchy even considering relational model/design.
Weeks do not fit in below Months (calendar months).
You can force fit them by making Weeks the source of truth and making all Months logical Months like "Business Month", "Business Quarter", "Business Year" etc. which will be composed of whole weeks but differ significantly from the calendar definition of Month, Quarter, Year etc.
You are better off modeling time as composed of two hierarchies:
H1: DAY -> MONTH -> QUARTER -> YEAR and
H2: DAY -> WEEK
Alternately if you dont want to introduce DAY level (lower granularity), you can split up the Time dimension into 2 different dimensions. And also modify your star schema to add an additional time dimension key to fact table - one key pointing to WEEK and another pointing to MONTH (independently).
TIME_MO: MONTH -> QUARTER -> YEAR
TIME_WK: WEEK
The fact data will need to be split up to correctly identify the coirrect MONTH-WEEK combination for the relational record.
E.g:
Fact table should have 2 dimension Fks for WK_KEY as well as MO_KEY so that a fact figure of 1000 evaluated over 7 days is split up into 300 from 29-31st of previous month and attached to MO_KEY of previous month and another record of 700 covering days from 1-4 and recorded/tied to same WK_KEY but next month (next month's MO_KEY).
HTH
Shankar

Similar Messages

  • How are your Week 40s ?

    So im hoping this week i can go get my ipod touch from bestbuy because its got a better warranty plan than the apple care. So how are the week 40's for you who have one ? any big issues that might be a concern ?

    Hi Bret,
    You can use WLC with Cisco ISE.
    Here is the full deployment guide:
    http://www.cisco.com/image/gif/paws/113476/wireless-byod-ise-00.pdf
    http://www.cisco.com/en/US/products/ps10315/products_tech_note09186a0080bba10d.shtml
    http://www.cisco.com/en/US/docs/solutions/Enterprise/Borderless_Networks/Unified_Access/BYOD_ISE.html
    Hope it helps.
    Regards
    Dont forget to rate helpful posts

  • How is the product allocation  work?

    How is the product allocation  works? (material master: Basic Data 1,) where is the place to maintain the parameters?
    point will given

    Product Allocation
    Configuration Overview; Allocation Specific Usage
    1.Allocation Procedure (OV1Z) The product allocation procedure is the parent of the entire allocation process. All materials that are to be included in the allocation scheme are required to have an allocation procedure assigned to it in the material master. In addition, as of release 4.0, it is in the procedure that the method of allocation is defined. The user has the opportunity to set an indicator to identify their choice of two different methods (discrete and cumulative allocation) to evaluate the quantities to be considered for product allocation.
    2.Allocation Object (OV2Z) The allocation object is the root level of the allocation process where actual data is entered and planned in LIS. The object allows the user to further break down a procedure into smaller parts for future validation of components comprising a specific material
    3.Allocation Hierarchy Mapping (OV3Z) Primarily, this transaction permits the assignment of an allocation procedure to an LIS information structure. Secondly, a character is assigned to the information structure to permit collective planning. Finally, the user can assign a step level to the procedure and information structure to sequence the order in which allocation quantities are checked. This functionality allows the user the opportunity to check product allocation against several product allocation scenarios, before the required quantity is confirmed
    4.Define Consumption Periods (OV5Z) The allocation consumption periods functionality is only valid if the allocation method flag has been set (OV1Z). If you have de-selected the method field, this functionality is not available. The consumption window indicates the number of past and future periods to be used in the allocation check.
    5.Control Product Allocation (OV4Z) In order for the allocation process to function properly, allocation control records are created primarily to map allocation procedure steps to their corresponding objects so that the allocation data records can be located for validation. Secondly, validity periods must be established to indicate when the allocation control records are active. Finally, the user has the option of establishing a conversion factor per allocation control record to accommodate BOM listings of constrained materials
    6.Activate Allocation for Requirement Class (OVZ0) In order to turn on allocation in the standard order processing functionality, the requirements class must have a flag indicating that allocation is relevant.
    7.Activate Allocation for Schedule Line Category (OVZ8) In order to turn on allocation in the standard order processing functionality, the schedule line must have a flag indicating that allocation is relevant
    8.Create Planning Hierarchy (MC61) In order to adequately establish allocation quantities, the user must initially determine the level at which the allocation is to take place and the aggregation factor of the allocation quantities. In this step, the levels for the collective allocation search procedure are also identified.
    9.Generate Masking Character (OV7Z) Upon completion of the level determination for the planning hierarchy, the collective allocation masking character must be generated to allow aggregation indicators to be established. This transaction simply reads the hierarchy established in the planning table and then generates a collective mask character for each level of the hierarchy
    10.Modify Planning Hierarchy (MC62) This step is a repeat of MC61 where the initial hierarchy was established. In order to complete the hierarchical set up, the collective allocation (mask character) hierarchy must now be maintained with the appropriate aggregation factors
    11.Allocation Procedure Assignment to Material Master (MM02) At the root level of the allocation process are the materials. Each material that is to be considered in allocation scenario must be mapped to an allocation procedure. In order entry, then, when a material is entered with a valid allocation procedure in the material master, the allocation data is verified prior to confirming the line item ordered
    12.List of Suitable Structures (OV9Z) This report is used to identify potential LIS information structures that can be used in the product allocation process. This report simply reads through the data dictionary and selects all the active information structures that contain the field product allocation object (KONOB) as the first field. This data can then be utilized in the mapping transaction (OV3Z) to link the allocation procedure step to an information structure (previous step).
    Regards
    Jitesh

  • I am about to purchase an iPad.  I have a Time Capsule.  Are the two compatable?  For example, when I bring the iPad home will it automatically link to my Time Capsule so everything I have on the capsule will be downloaded to the iPad?

    I am about to purchase an iPad.  I have a Time Capsule.  Are the two compatable?  For example, when I bring the iPad home will it automatically link to my Time Capsule so everything I have on the capsule will be downloaded to the iPad?

    sherrycarlin wrote:
    ... will it automatically link to my Time Capsule so everything I have on the capsule will be downloaded to the iPad?
    This is not how it works...
    Suggest you spend a little bit of time here to be able to fully appreciate your iPad...
    http://www.apple.com/support/ipad/essentials/
    http://www.apple.com/support/ipad/apps/
    From here  >  http://www.apple.com/support/ipad/
    More info here  >   iPad User Guide iOS 6

  • So how are the new iMacs? (Reviews, sightings, etc)

    I've been scouring the 'Net for any information about the new Intel iMacs, but hardly a peep from anyone that I've seen. I'm specifically looking for information on the new 24, but any info will do.
    Are they quiet? Fast?
    How are the screens? Are they too big (yeah, right). I read here [http://discussions.apple.com/thread.jspa?messageID=3080026&#3080026] that the screens are dark on the sides. Isolated issue?
    How do the internal speakers/bigger amp sound? I'm looking to get rid of mine to free up desk space and I'd like to confidently be able to put them into storage.
    I've already ordered mine last week (second Mac to own, first iMac), but I'm waiting on it to ship, as it's a BTO with everything upgraded except the RAM is only 2G. This wait is killing me! There is little info on these new Macs. Please, someone post at least a first impression introductory review.
    Any info/pics that anyone can share would be greatly appreciated. I've set up RSS with Flickr, Digg, Google news and the iMac discussions and I've seen 3 different 24" unpacking photo sets with what seems to be cell phone quality snapshots and 0 reviews.
    Someone fill us in and post some quality shapshots so we can see how big this thing is!
    G5 1.6   Mac OS X (10.4.7)  

    Michael,
    Sorry to hear about that however once Apple ships the product it's in the hands of the shipper and Apple loses all control the same as Dell, HP, Acer etc... All the manufacturer's go to great lengths to ensure machines are packaged adequately so they can take the rigors shippers put them through however there are always going to be individual cases where contents are damaged. For example most computer manufactures make their packaging so the computers can be dropped from 10 or more feet onto a concrete floor. However there is no way they can protect a box if it's kicked in or crushed.
    If she bought the computer from Apple's online store simply call AppleCare, explain the issue and they will arrange for a replacement. If it was purchased from another vendor and shipped to you then you will have to deal with that vendor's return policy.
    Either way it's a shame and I'm sorry it happened to you and your daughter but rest assured it's a rare exception.
    Regards,
    Roger

  • How are the pWWN list populated in DCNM even before they are logged-in to the switch?

    Hello All
    DCNM v6.2.3
    I see that the hosts are not logged-in to the switch, however via DCNM when I try to create device alias I find the pWWNs populated which are not logged-in. How are the pWWN list populated in DCNM even before they are logged-in to the switch?
    Thanks
    Chetan

    This is definitely not happening automatically ? would be magic ! you can do it of course manually.

  • How are the org units created

    How are the org units created,say if i have 1000 org units which has to be created,in the PRH, what is the best solution, is it by transport or data upload?

    Hi Tom,
    I think your problem is solved . If not plz do let us know. And let us know which method you have obtained (LSMW or BDC) to upload the ORG UNIT Data??
    Have a great day..
    Regards,
    Sri..

  • How are the IC's calculated in the IIR Cascade Filter with I.C. vi

    How are the IC's calculated in the IIR Cascade Filter with I.C. vi

    Solved this myself.
    Attached llb has subVI that computes the IC's needed to remove transient given a constant value step input to the IIR Filter.
    Computes filter state (see app note 39) for cascade filter using z-transform final value theorem.
    This version works for all filter types, ie lowpass, highpass, bandstop and bandpass.
    Attachments:
    IIR_Filter_with_I.C._set_to_Final_State.llb ‏94 KB

  • How are the summary tables refreshed

    hi all,
    Can you please tell me how are the summary tables refreshed. Does the Oracle databse do it or the discoverer server performs the tasks

    Hi,
    Discoverer summary tables are stored as materialized views in the database. The database refreshes the MV depending on how the MV refresh has been set up.
    Rod West

  • ACI-How are the new advancements in ACI helping the drawbacks in nexus switching?

    ACI-How are the new advancements in ACI helping the drawbacks in nexus switching?

    ACI is a paradigm shift in data centre designs.
    According to this solution overview ACI is the next generation of Software Defined Networking:
    http://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/guide-c07-731461.html
    Having worked with Nexus switches for a couple of years now I haven't encountered any serious drawbacks with these devices.

  • How are the .7z files used and installed for photoshop elements and premier elements?

    How are the .7z files used and installed for photoshop elements and premier elements?

    Hi,
    You can try to extract them to a folder and then try to install using the setup file.
    Or you can try to download the .exe file ( Small File ) for the software you have and then run the .exe file and it will start the installation. Both .exe and .7z file for the application should be in same location.
    Download Photoshop Elements products | 9, 8, 7
    Download Photoshop Elements products | 11, 10
    Download Premiere Elements products | 11, 10
    Download Premiere Elements products | 9
    *** You can either download the .exe file from the above download links or you can also download both .exe (File 2 of 2) and .7z (File 1 of 2) from the above links.

  • I have an HP I7 QuadCore laptop that generates a lot of heat. How are the I7 PowerBooks at generating/dissipating heat?

    Helping my niece get a laptop for college.... I have an HP I7 QuadCore laptop that generates a scary lot of heat. How are the I7 PowerBooks at generating/dissipating heat? Have people been having problems?

    As John indicates, the last PowerBook was discontinued in April 2006 and even that model could do very little in today's web-based computing environment.
    You can ask in the MacBook Pro forums here:
    MacBook Pro
    However, no matter where you ask there are two common factors in heating:
    --The programs/tasks you are doing
    --The fact that no laptop has room for big fans means it will always run hotter doing the same tasks than will a desktop computer with big fans. Few laptops are good gaming platforms as a result.

  • 15 minutes ago I purchased the perfect browser. I'm not experienced with computers and it's more that if can handle at this time. What are the steps I need to do.

    15 minutes ago I purchased the perfect browser. I'm not experienced with computers and it's more that if can handle at this time. What are the steps I need to do.

    It's a browser from App Store. " the perfect browser ". I couldn't find any information for refunds . I'm just learning about ios7 and it's well above my level.at this time

  • How are the gestures used on the iPad2?

    Can someone help me understand how the gestures on the iPad2 are used? I'm having trouble figuring it out myself. Also how are the favorites used?

    Here is a link that may help you better understand gestures:  http://www.macworld.com/article/1163019/ios_5_new_gestures.html

  • How are the asynchronous messages persisted

    How are the asynchronous messages persisted ??
    thanks
    kumar

    HI Kumar
    1. Asynchronous Messages in XI are stored in database permanently
    2. After processing the message, Integration Engine makes a datbase commit explicitly and the processed message is stored in the database.\
    3. Async Messages can be restarted when they go into error
    4. Asynchrous messages while being sent if there is some problem in connectivity or something the message persists and when the connection is up,it tries to send it again
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

Maybe you are looking for