Counting values back in time with a split in the Time dimension

Hi there,
I would like to calculate how many sales months we had during the past half year. For every month in the past 6 months where there is sales > 0 this should be counted. On the account Sales Months I would like to see the result.
Lets say I had sales in 01 + 02 +03 + 05 but not on 04 and 06, the value on 07->Sales Months should be 4.
The seperated Years dimension makes it hard to calculate this for the first 6 months because the formula has to look back a year and the Months dimension is tagged as Time so I cannot use @PRIOR.
Maybe you guys have some great idea!
Regards,
Thijs
{color:#0000ff}Essbase version 7.1.6
3 dimensions
Years
- 1999
- 2000
- 2001
Months
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
Accounts
- Sales
- Sales months{color}

1. shutdown and backup your database (!!!).
2. start in umount mode
3. rman target sys/manager@EON1 catalog rman/rman@rman
4. at the RMAN prompt perform a point in time restore/recover, e.q.:
restore database until time "to_date('19.01.2009 13:00:00','DD.MM.YYYY HH24:MI:SS')";
recover database until time "to_date('19.01.2009 13:00:00','DD.MM.YYYY HH24:MI:SS')";

Similar Messages

  • My mac froze in an application so I shut it down by powering off with button, now when I try to turn it on I have a grey screen with Apple loge and the timer swirling but it doesn't get past this, please help!

    I Shut down my Mac by holding in the power button after my iMac froze and now when I try to turn it back it on all I get is the grey screen with Apple loge and the timer and doesn't get any further.  I have tried the diagnostic test but nothing was found.

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • I have just installed a 2TB time capsule on my iMac i7, it see my second 1TB hard drive but the 256 SSD doesn't come up in the list of hard drives I can back up. How can I enable the time machine to see my first SSD 256gb hard drive?

    I have just installed a 2TB time capsule on my iMac i7, it see my second 1TB hard drive but the 256 SSD doesn't come up in the list of hard drives I can back up. How can I enable the time machine to see my first SSD 256gb hard drive?

    iLife is preinstalled on all the Macs. If you purchased iLife in the App Store or your computer came without DVDs, open App Store > Purchases and download the applications. If your Mac came with discs, insert the Applications DVD and install iLife applications

  • Document Splitting at the time of Bill of exchange

    Dear All,
    issue is related to Document Splitting at the time of Bill of exchange
    I booked  2 different Customer Sales through FI, but both invoice have different Profit centre.
    Entry is like
    Customer A/C Dr 1000   Pc 1100
      To Sales A/C     1000     PC 1100
    Customer A/C Dr 2000   Pc 1200
      To Sales A/C     2000     PC 1200
    Now from customer  we received a single bill of exchange, so that we booked from  it from f-36
    Now at the time of Discounting  through T-code F-33 when we mentioned both the bill with system not able to split the document.
    And showing the error Balancing field "Profit Center" in line item 001 not filled.
    Regards,
    Shyam

    Hi,
       Document splitting there in item category  001 check  and put profit center is optional.
    Regards,
    Srikanth.Madani

  • Back button only works about 50% of the time. Have to hit it twice, sometimes three times before it works. Problem is intermittent. Firefox 3.6.10 on Mac OS 10.6.4 (same on both MacBook and iMac machines).

    Back button only works about 50% of the time. Have to hit it twice, sometimes three times before it works. Problem is intermittent. Firefox 3.6.10 on Mac OS 10.6.4 (same on both MacBook and iMac machines).

    You can try http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Can I back up my iPad and iPhone onto the Time Capsule?

    Can I back up my iPad and iPhone on the Time Capsule? If so, how do I do this?

    You also have the option to backup using iCloud
    More details in this Apple support document:
    http://support.apple.com/kb/ht1766

  • Having problems with ipad mini and Siri. Works sporadically, will work once and then the second time not. Worked all the time with the original Mailbox app. Then started doing the same thing when I installed the new update so wondering if it is software?

    Having problems with ipad mini and Siri. Works sporadically, will work once and then the second time not. Worked all the time with the original Mailbox app. Then started doing the same thing when I installed the new update so wondering if it is software?

    Hi,
    I have the check box on a second Partition  but not on the Time Machine one
    I forget what I did now to get this called "Recovery HD"
    For the rest try https://discussions.apple.com/docs/DOC-4055  User Tip that links to Pondini's work on Time Machine.
    10:17 pm      Friday; May 2, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • MAC OSX 10.3.6 having Boot Problems(Gray Screen with Spinning wheel all the Time) ,How to restore all the files without Mac Startpup Disc,still is not possible i want to download full CD from Apple Site, Is It Possible to Download!

    Hi Frnds,Small Favour for me,...
    MAC OSX 10.3.6 having Boot Problem(Gray Screen with Spinning wheel all the Time) ,How to restore all the files without Mac Startpup Disc,still is not possible i want to download full CD from Apple Site, Is It Possible to Download!, Windows 7 is working perfectly , can i restore any files in MAC OSX 10.3.6 through Windows 7, or i need the MAC OSX 10.3.6 Bootable Files i need to enter the MAC OSX....

    Hi Frnds,Small Favour for me,...
    MAC OSX 10.3.6 having Boot Problem(Gray Screen with Spinning wheel all the Time) ,How to restore all the files without Mac Startpup Disc,still is not possible i want to download full CD from Apple Site, Is It Possible to Download!, Windows 7 is working perfectly , can i restore any files in MAC OSX 10.3.6 through Windows 7, or i need the MAC OSX 10.3.6 Bootable Files i need to enter the MAC OSX....

  • HT1178 I have set up Time Capsule to use with Time Machine.  When I open Time Machine it 'cannot find' the Time Capsule and I have the Select the Disk each time.  In the Next Backup tab it always says "When disk is connected" even though the disk is alrea

    I have set up Time Capsule to use with Time Machine but when I open Time Machine it 'cannot find' the Time Capsule and I have to 'Select the Disk' each time. In the Next Backup tab it always says "When disk is connected" even though the disk is already connected.

    Your pro doesn't matter.. I presume it is happily working.
    Your imac setup has got messed up because you changed from a local (my book being USB type I presume) to network drive. Did you do a clean install of Lion?
    Did you use the backup from the Pro on the imac? Otherwise I don't see how the Pro shows up in use previous disk. Where is Pondini when you need him??
    You cannot download Time Machine as an App and replace the current version. It is built into the OS.. the only way to do it is a clean install. Unfortunately that might be the only way around the issue.
    There is a number of issues that Pondini has covered in the setup issues of troubleshooting.
    This is the most relevant I think. http://pondini.org/TM/B6.html
    But look at the whole section B setup problems.
    http://pondini.org/TM/Troubleshooting.html
    If it was me, I would store all the info you need.. not using TM but using a straight copy of files.
    Then clean install Lion. I doubt any of these issues would exist if you had not installed Lion over existing setup or used a different backup.
    See if you can get Pondini to respond.. !!

  • TS3694 My iPhone will not restore the process starts and then a message pops up saying 'we are unable to continue with your activation at the time'  I have tried a few times now and the same. What can I do ? As I can't use iPhone at all now!!

    My iPhone will not restore the process starts and then a message pops up saying 'we are unable to continue with your activation at the time'  I have tried a few times now and the same. What can I do ? As I can't use iPhone at all now!!

    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743

  • How can I change the time zone while not changing the time

    Let me preface this by saying I know this may seem tiddling to many but it is somthing I am rather obsessive about.
    I took many photos while I was in Los Angeles.  I had changed my camera's clock and the clock in the MacBook Pro to Pacific Standard Time and my iPhone automatically did the same thing. When I loaded photos into Aperture on my MacBook Pro the time information was all correct, all photos tagged in PST.  I had some photos I took on my last day that I did not load into Aperture until I got home to Denver.  When I loaded these images into Aperture they still have the correct time that they were shot but now show as being taken on Mountain Standard Time.  If I change the time zone in Aperture then the image time is also adjusted to be one hour earlier.
    Is there any way I can change the time zone in Aperture while leaving the actual image time alone?

    Hello Mark,
    Aperture will display the "Date created" with respect to the time zone your system is set to, but the "Date" using the time zone the image was taken in.
    You can adjustthe Time Zone for individual images either on import or afterwards using batch change:
    Select the images you want to adjust, then select "Metadata -> Batch Change" from the Aperture Application menu:
    Click: Adjust Time Zone
    Set the Camera's Time Zone to the Time zone you set your camera to when you took the images, and the Actual Time Zone to the zone you want Aperture to use to display the date.
    Regards
    Léonie
    P.S:
    This works with most cameras, but there seems to be a bug with canon cameras when importing directly from the camera. Frank Caggiano recently started a thread, but right now I cannot find the link.

  • Since I upgraded to Mavericks, Time Machine no longer finds the Time Capsule Disk on my network

    Hi,
    Since I upgraded to Mavericks, Time Machine no longer finds the Time Capsule Disk on my network.
    Five minutes before upgrading it however performed successfully a last backup.
    I found several posts on this forum and proposed solutions:
    - restarted both the mac and capsule
    - deleted the /Library/Preferences/com.apple.TimeMachine.plist (twice rebooting in between)
    Still have the issue.

    What brand of drive is it?
    Disks You Can Use
    Troubleshooting backup issues
    Time Machine Can’t Find Backup Disk

  • Time capsule staying on all the time

    Should I worry about my new 2TB time capsule staying on all the time?

    no.
    it's designed to run 24/7.

  • Long motor test error did not reach target speed in time.  fan runs all the time.  sensor is connected.  do I have a bad fan?   speed in time speed

    ran apple hardware diagnostics.  fan - master - long motor test error:  did not reach target speed in time.  fan runs all the time.  sensor is connected.  do I have a bad fan? 

    ran apple hardware diagnostics.  fan - master - long motor test error:  did not reach target speed in time.  fan runs all the time.  sensor is connected.  do I have a bad fan? 

  • Cost component not splitting at the time of Rune the tine of Cost Estimate

    http//
    Hi,
    We are in developing phase for Product costing for coal mine project ,
    we have raise coal material with Non component BOM , and Routing is only one activity with 400- Raised Coal Qty-MT ,
    We upload the plan with Production cost center -activity type and cost element ( as per cost component -we have 10 cost component  as per below )
    RM - Blasting
    Production Overhead
    Power - Main
    Stores,Spare,Consum
    Repairs & Maint
    Lease & Hire Char-PM
    Power - Auxiliary
    Depreciation
    Over Burden
    Development
    we done the plan for Amount and Qty by KP06,KP26  and update plan price but system not calculate the cost component splitting in cost estimate as per planning while only one item showing for all cost to Production Overhead cost component
    Production Overhead cost component which assign the secondary cost element which is assign to activity type 400
    can any one help me to how we can resolve this issue
    Please find attached document

    Hi,
    Here I am providing the necessity and importance of splitting structure, will share the configuration steps once you go through the following and get the comfort level.
                        Expense Analysis and Splitting in Manufacturing Cost Centers
    Introduction In SAP Cost center work as a cost responsibility center, where all the expenses and cost are stored and analyzed for the purpose of management decision making.
    The cost could be fixed or variable in nature. The difference between variable and fixed costs can be made in various ways in product costing in CO module.
    Fixed costs represent the static costs incurred by the organization, which doesn’t change on the basis on manufacturing activities, which remain constant irrespective of production activities like rent for the premises, salaries of office staff etc.
    On the other hand, variable cost varies based on the level of production activities; if production activities increase then variable cost also increased like electricity consumes raw material charges etc.
    However all the variable cost doesn’t vary in direct proportion by quantity of goods produced.
    In this document will try to define; how the Expenses analysis and splitting of cost done in manufacturing cost centers.
    From controlling prospective, fixed cost remain constant regardless of operating activities, but if these factor changes, variable cost will fluctuate.
    Basically raw material costs represent variable cost, but in this document main focused will be given to distinguish fixed and variable activity cost.
    The segregation between fixed and variable cost is optional and is derived from the configuration and master data configured in cost center accounting and overhead accounting.
    Activity Price:
    There are different methods that could be used in cost center accounting to determine the activity price. The simple way is the manually enter “Fixed” and “Variable” Activity cost (KP26).
    However there are other methods used in Cost center Planning and Budgeting that automatically calculate the fixed and variable activity price.
    Here the focused will be given on Planning and Budgeting activity and automatic calculation of plan activity rate in cost center.
    This method aggregate planned costs by cost element and capacity by plan unit to calculate the activity price.
    Activity independent costs are segregated among different activities based on Splitting Structure, while activity dependent cost directly used for the purpose of variable activity rate calculation.   
    Fixed Activity Cost:
    In product costing all those cost, which doesn’t vary based on the activities in manufacturing cost will represent fixed cost.
    In a manufacturing cost centers there may be two or more activities performed.
    To calculate the activities rate, the fixed costs are distributed to various activities on the basis of Splitting Structure defined for cost center.  
    Variable Activity Cost:
    Variable activity cost, which directly depend upon the activity type and fluctuate based on increase or decrease in manufacturing activities. In SAP variable activity cost are directly linked to the respective activity.
    Activity Prices: Fixed and Variable Split
    In Cost Center Accounting dividing the cost between Fixed and Variable requires appropriate split to be made in the cost entered for the activity. The process is described below:
    i.  Variable cost would be planned at activity level and expenses should be maintained at cost element in the manufacturing cost center by assigning activity and cost element combination.
    In other word, the expenses should be planned on Activity type at the time of primary cost planning (KP06).
    Then the variable activity rates are calculated on Total cost planned at Activity divided by Total number of activity planned at that cost center (i.e. capacity in KP26)
    ii. Fixed cost would be planned at independent of activity type. These costs are maintained in KP06 at cost element level on manufacturing cost center.
    Then the fixed costs are distributed on various activity types on the basis of Splitting structure defined at OKEW.
    In Splitting Structure we define the rules, how the fixed cost will be distributed to Activities. For the purpose of this document, considering split of fixed cost on the basis of Capacity maintained in KP26.
    Regards,
    Pavan kumar Arvapally

Maybe you are looking for

  • Issue using BAPI_MATERIAL_SAVEDATA

    hi I am using BAPI_MATERIAL_SAVEDATA to create a material master record its a ANUB (Non Valued Material) i ma facing one prblem that when i am mentioning plant in PLANTDATA      LIKE     BAPI_MARC i just want to mention its plant and profit center bu

  • Resetting PRAM with new aluminum keyboard

    I just updated the firmware to my aluminum keyboard via Software Update. I still cannot reset the PRAM by the old tried-and-true method of holding down command, option, PR. Lately resetting the PRAM has been needed. Anyone have any idea on how to do

  • Problem in installing Discoverer Admin. Edition

    During the installation of the admin. edition, an error occured. It prompted that "unbound variable", then I clicked the "OK" button. It would totally stop installation and quited. Does anyone know what is the problem, is the problem of the download

  • Nokia E65 - Firmware upgrade

    Hiya I have an E65 with the following firmware version: 1.0633.18.01 11-01-07 RM-208 With Vodafone software as well. It runs rather slow and sluggish. Is there a new version which will make it quicker? I have to re-boot the phone as some of the funct

  • Error -- Balance in transaction currency (J1IIN)

    Hi all, When I am trying to SAVE Excise invoice (To.code J1IIN), I am getting following error. Please suggest me the solution for this and also let me know if any Notes need to be applied for this? ERROR MESASAGE -->  Balance in transaction currency