When I Flip the Sign using script, additional data appears

I flipped the sign and it became a negative and that is correct. But it is adding some additional data to the flipped member. Both members are expenses. I am putting it in one bucket as a debit and another bucket as a credit, so that they will eliminate each other. Example below:
/*** Clear any data in accounts 79400 and 79415 ***/
FIX("Jan":"Dec",&BudYr,"System","Dollars","Budget","Input","7100")
          CLEARDATA "79400";
          CLEARDATA "79415";
ENDFIX
/*** This will debit by month 7100 to account "Interco. Alloc. In (79400)" ***/
FIX("Jan",&BudYr,"System","Dollars","Budget","Input","7100","79400")                                   
AMC = "000"->"TOT_SGA_EXP" * "ALLOCATION_PCT" ->"AMC"->"BegBalance";     
ENDFIX
/***This will credit by month 7100 to account "Intra. G/A Admin Alloc. Out (79415)" ***/      
FIX("Jan",&BudYr,"System","Dollars","Budget","Input","7100","79415")                                   
AMC = ("000"->"TOT_SGA_EXP" * "ALLOCATION_PCT" ->"AMC"->"BegBalance") * -1;     
ENDFIX
RESULTS:
Interco. Alloc. In (79400)     Admin (000)     Compliance (7100)     American Managed Care     January     97,578
Intra. G/A Admin Alloc. Out (79415)     Admin (000)     Compliance (7100)     American Managed Care     January     (146,367)
DIFFERENCE (48,789)
Any help would be appreciated.

Of course there is. This is the kind of calc script that only gets run once, so make usre you test it well before doing it on production and make a backup of production before doing it.
It would be something like
Fix(time frame, accounts to be flipped, level zero other dimensions)
actual = actual * -1;
EndFix
Cal dim dimensions
Note, I chose actual, but you could do it for any dimension that has a single or only a couple of members. What ever dimension you choose to do the calculation on, it can't be included in the fix statement

Similar Messages

  • How to Flip the Sign using Calculation script for historical data

    I am currently using Essbase 9.3.1. Its required to flip sign for a specific set of accounts for that i am currently using UDA's to flip the sign.
    But now i need to flip the sign for the historical data too. Is there any possible way to flip the sign using calculation scripts for historical data. Kindly let me know your suggestions.
    Many thanks in Advance...
    Edited by: [email protected] on Jul 30, 2009 9:37 PM
    Edited by: [email protected] on Jul 30, 2009 10:58 PM
    Edited by: [email protected] on Jul 30, 2009 11:01 PM

    Of course there is. This is the kind of calc script that only gets run once, so make usre you test it well before doing it on production and make a backup of production before doing it.
    It would be something like
    Fix(time frame, accounts to be flipped, level zero other dimensions)
    actual = actual * -1;
    EndFix
    Cal dim dimensions
    Note, I chose actual, but you could do it for any dimension that has a single or only a couple of members. What ever dimension you choose to do the calculation on, it can't be included in the fix statement

  • Formula flip the sign between child and parent account member

    I have created two accounts as below which is parent to the child (670122) and child (670122.01) account and my account dimension looks as below
    Account    PARENTH1     GROUP          ACCTYPE     RATETYPE
    670122        670120         Profit & Loss            EXP           AVG
    670122.01  670122         Profit & Loss            EXP          AVG     
    PRETAX        INCOME         Profit & Loss            INC          AVG     
    Now I have added the simple formula in the child account 670122.01 in the formulah1 column as [Account].[PRETAX] Which is Income account but when I retrieve the data  using EVDRE(), the Values are shown as below
    670122.01     670122
    3,398,006.86      (3,398,006.86)
    Why do the parent and child has different sign when both accounts are same account type as Expense. Instead of formula if I put hardcoded value, then both parent and child accounts has the same value (not flipping the sign)

    We are using BPC 5.0 and SQL Server 2005
    The hierarchy is like this
    670120 -> 670122 -> 670122.01
    The dimension formula is in 670122.01 as like this ( [Account].[PRETAX]-[Account].[665000] ), 665000 is a expense account and pretax is income account
    When I do the EVDRE on those above accounts
    670120     670122     670122.01
    (13,228,910.18)     (13,228,910.18)     13,228,910.18
    When 670122.01 is rolled up to next immediate level, the value in 670122 has negative value. 670122 is rolled up to 670120, but they both have same value - Is this a known issue in the BPC 5.0?

  • When I log in to hotmail, the sign in boxes do not appear.

    When I log in to hotmail, the sign in boxes do not appear. I have to sign in explorer (and I would prefer to use Mozilla). When I sign in in explorer the sign in boxes do not appear straight away - but I am given a line of text that allows me to click to overide some block.

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Windows Accessibility settings.
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • How to get the handle of all text fields in the subforms, using script

    Hi Friends,
    I have around 20 fields in a subform, how can i get the names of all the fields using script.
    I wish to enhance the following script where the field names are hard coded
    thereby the script itself will get the names of the field names.
    var f1 = this.parent.somExpression + ".TextField2" + ",";
    var f2 = f1 + this.parent.somExpression + ".DropDownList1" + ",";
    var f3 = f2 + this.parent.somExpression + ".NumericField1";
    xfa.host.resetData(f3);
    Any help will be greatly appreciated..
    Thanks
    JJ

    Hi Paul,
    Thanks for your comments.
    I achieved the clear contents by resetting, by taking input from your thoughts..
    form1.sub1.sub2.sub3.table_1.addDelete_Top.addDelete.deleteRow::click - (JavaScript, client)
    //Here is my code finally look like..
    //row 1, table_1 are also subforms
    for (var i=1;i<10;i++){
    var myRow = this.resolveNode("table_1.row1[" + i + "]");
    if(myRow.presence == "hidden"){
    i = i-1;
    var myRowDelete = this.resolveNode("table_1.row1[" + i + "]");
    if(i!=0){
    xfa.host.resetData(myRowDelete.somExpression);
    myRowDelete.presence = "hidden";
    break;
    if(i==9){
    xfa.host.resetData(myRow.somExpression);
    myRow.presence = "hidden";
    break;
    Thanks
    JJ

  • I am using iMac OS 10.7.2 with Garageband'11 6.0.4. I can't record sound from  mixer Behringer X1622USB using USB out. when I connect the mixer to iMac via USB  appears USB Audio CODEC on Sound and preferences but no sound from mixer to iMac. Need help.

    I am using iMac OS 10.7.2 with Garageband'11 6.0.4. I can't record sound from  mixer Behringer X1622USB using USB out. when I connect the mixer to iMac via USB  appears USB Audio CODEC on Sound and Preferences but I can't get no sound from mixer to iMac only sound from iMac to mixer. I only can record sound using microphone line in. Please help.

    Eric,
    Thanks for your reply. Realtek audio works only in playback. There is a stereo mix in the mixer but the recording controls are not operable with no sliders in the mixer for any recording option. Slider controls appear to be grayed out. Can't figure out how to enable them. Downloaded newest drivers to no avail.
    The M Audio control panel has no apparent option for recording stereo mix. Adobe ignores the sound from the DVD or CD and shows flatline.
    I'm trying to record the sound from the DVD not rip the track.
    When I go to Audio Driver Setup and select Audition 3.0 windows sound, there is no input device installed.
    I'm thinking of going back to a decent internal Soundblaster card like I have on my 8 year old machine I am replacing.

  • When I change the color using windows 7 color, I get a prompt to change back to firefox default or everything is very slow. Isn't there another way to fix the i

    When I change the color using windows 7, apparently firefox runs slower. The videos I watch are spotty and looking like it's in slow motion. Sometimes I get a prompt to use firefox colors and this fixes it. But why can't I use other colors, and are there settings to help me fix this problem? Thank you for any information you can give me. Joyce

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • I created a spreadsheet using Microsoft office 2010 Excel.  When I open the sheet using Numbers, the formatting changes.  How do I fix this?

    I created a spreadsheet using Microsoft office 2010 Excel.  When I open the sheet using Numbers, the formatting changes.  How do I fix this?

    If you plan to share or work with people who regulary use MS Excel you should not try to use this in Numbers.  You will have constant problems with how each program translates the formatting.
    If you want to use Numbers, use it exclusively.  If it is for your job use the tool your company uses.

  • I take a .NEF file and a .JPG file with every click. When I transfer the files using a flash drive to another computer I never get all of the files to transfer. I get some of the .NEF and some of the .JPGs but not all

    I take a .NEF file and a .JPG file with every click. When I transfer the files using a flash drive to another computer I never get all of the files to transfer. I get some of the .NEF and some of the .JPGs but not all. How come?

    If you're exporting a project then you'll only get the images in that project. Also if any of the masters are referenced then you won't get those masters unless you check Consolidate masters into exported library
    It might be best if you started from the beginning and explained what it is your are trying to do and how you're going about doing it. Also a description of you're hardware/software setup would be helpful.

  • HT2506 Is there any way to view a signed PDF where the signed uses Windows/Adobe and I am viewing it preview?...I do not see the signature in  "signed" docs

    Is there any way to view a signed PDF where the signed uses Windows/Adobe and I am viewing it preview?...I do not see the signature in  "signed" docs

    I have already reinstalled both Adobe Reader and the full version of CS5 which includes Adobe Pro.  Neither of those steps worked. 
    Thanks,
    GiGi

  • Can i buy a smaller macbook air (64gb) but use the time capsule for additional data ?

    can i buy a smaller macbook air (64gb) but use the time capsule for additional data ?

    If you plan to store important "original" or "master" files and documents on the Time Capsule, then you might want to think about a way to back up those files to another hard drive.
    Why? If the Time Capsule has a problem...and you have no backups....you lose everything.

  • When im accessing the internet using my iphone i cant use it because i am having a grey screen and the phone disables itself. how can i fix it. thanks.

    when im accessing the internet using my iphone i cant use it because i am having a grey screen and the phone disables itself. how can i fix it. thanks.

    You must have a valid form of payment for the app store in the country you are using. Most app stores are separate legal entities to comply with local laws. It is possible to have an account without a credit card, however; see: http://support.apple.com/kb/HT2534

  • Nothing happens when i hit the sign in link

    Nothing happens when I hit the sign in link in app store

    Which Mac OS X is installed on your Mac?

  • Why my iPad 4 become very lag after upgrade to iOS 8.0.2 and not sensitive anymore when press the keyboard and programs it didn't respond when I type the word using the keyboard  fast it lag until I cannot locked or switch off the phone

    Why my iPad 4 become very lag after upgrade to iOS 8.0.2 and not sensitive anymore when press the keyboard and programs it didn't respond when I type the word using the keyboard  fast it lag until I cannot locked or switch off the phone

    Same issue here both with my iphone 5S as well as my iPad2. THe sync to my macbook air does not complete and it shows a large overcapacity level when connected, but once I disconnect there is plenty of room (4 GB) available, not a 20 GB overage. 

  • I just downloaded the latest OS upgrade and since I can not connect to the internet using my cellular data plan.

    I just downloaded the latest iOS.7 upgrade on my ipad2, and since I can not connect to the internet using my cellular data plan.  I have checked my data plan and it's both current and over 2GB remaining.  However the indicator shows no service, thus would be the best steps to recover.  Thanks much for any support that can be provided.

    Hello Kmart2@3
    Check out the troubleshooting article below to get cellular to start working again. 
    iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS4249
    Regards,
    -Norm G.

Maybe you are looking for

  • Report for materials with shortage (GATP)

    Hi, We are using GATP for the cofirmation process. If you go to the CO09 transaction in the SAP-ERP system, it will take you to an APO screen. There are 2 fields (Receipts and Confirm quantities) on this screen; when Confirm quantities is greater tha

  • Windows 2012 R2 RDWEB on a different port number

    Hi All, I am having a big problem at the moment. When I launch apps on the Windows 2012 Remote Session Host server it keeps prompting for credentials. I have 2 VMs under Hyperv-2012 R2: VM1 is an Exchange 2010 server with OWA on port 443 VM2 is a Win

  • I reloaded my vaio from vista and to windows  8 and i recently loss my itunes from vista

    here is my question: i reloaded my sony vaio from window vista to windows 8 and then i lost my itunes during the change. How should i handle this problem.

  • Can I save PS edits in an xmp file to be read by LR?

    The reason I ask this is I have hundreds of photos that were taken on a 5D with a scratched filter, so I am treating the marks as dust bunnies and getting rid of them in the same way, using spot healing and for the scratches, whtever the feature is c

  • Using a HDD connected to airport base station

    I have a usb HDD connected to my Airport and would like to use it as the time machine disk for my macbook. However, time machine set-up cannot detect the drive. So is it possible to do this? Cheers Waddo