Fix optimization issue
DELETING MY PREVIOUS POST AND SIMPLIFYING IT
i have a member A (stored) FORMULA=B/D/E
B(stored)
HIEARCHY
Z
A+ FORMULA=B/D/E
B+ NO FORMULA
L+
M+
NOW MY CALC SCRIPT
FIX(VERSIONONE,SOURCE,@LEVMBRS(ENTITY,0),@LEVMBRS(LOB,O),FORECAST,2013)
FIX(JAN)
IF(NOT @ISMBR(ENTITY1) AND NOT @ISMBRS(LOB1))
B=D*(PRIOR( A ) * E*F
ENDIF
A;
ENDFIX
FIX(FEB)
IF(NOT @ISMBR(ENTITY1))
B=D*(PRIOR( A )* E*F
ENDIF
A;
ENDFIX.......SO ON ANOTHER 10 FIX FOR MAR,APR TO DEC
tHIS ABOVE SCRIPT WORKS CORRECT
NOW I WANTED TO POTIMIZE IT
SO I WROTE IT IN THIS WAY
FIX(JAN)
IF(NOT @ISMBR(ENTITY1))
B=D*(PRIOR(*A*)* E*F
ENDIF
A;
ENDFIX
FIX(FEB:DEC)
IF(NOT @ISMBR(ENTITY1))
B=D*(PRIOR(A)* E*F
ENDIF
A;
ENFIX
DOES NOT WORK ,thE RESULTS ARE AS FOLLOWS
WHEN I FIRST RAN THE SCRIPT.....DATA IS POPULATED FOR ONLY JAN MONTH
SECOND TIME DATA IS POPULATED FOR ONLY FEB
THIRD TIME ONLY MAR................
SO MY SCRIPT IS CALCULATING B WHICH DEPENDS ON PRIOR( A ),LATER CALCS A WHICH IS BASED ON B.wHEN I AM FIXING (FEB:DEC)IT IS CALCULATING FEB:DEC AT THE SAME TIME SO MISSING THE ORDER OF CALCULATION .
I WANT MY CALCULATION TO HAPPEN IN ORDER ......
ANY SUUGGESTIONS
Edited by: lakshmi on Aug 20, 2012 5:07 PM
Hi,
Not completely sure of following, but you can try it.
Make A simply as stored without any formula.
FIX(JAN)
IF(NOT @ISMBR(ENTITY1))
B=D*(PRIOR(*A*)* E*F
ENDIF
A=B/D/E ;
ENDFIX
FIX(FEB:DEC)
IF(NOT @ISMBR(ENTITY1))
B=D*(PRIOR(A)* E*F
ENDIF
A =B/D/E;
ENDFIX
And howz about using @MDSHIFT(A,-1,"Period") instead of @PRIOR(A)?
Also I think it is due to calculation in cell mode,thought not sure.
You can also try using a member/variable to store prior value of A and then use the member/variable later in calculations.
Hope this helps. Guru's can help us to understand this more properly.
Regards
-SM
Similar Messages
-
After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer and .mac account. Does anyone have any advice on how to fix this issue?
Welcome to the Apple Community.
Which OS are you using. -
I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,000 songs and They are all in my music folder..What can I do to fix this issue? I've looked at all the tutorials on youtube and none of it works. I recently got a new computer and I Back-Up all my music and itunes playlist and I import it on my new computer with the new itunes and I go to play a few songs, it says I'm missing them I locate a few but it's still like 3,000 missing and again they are all on the computer and in one folder..Please Help !
I did that and nothing changed half my songs still have examination marks beside them
I also just tried dragging my folder of music int he playlist and it duplicated all of my songs? My playlist was at 5k now it's at 10k becuz of 3 duplicates of songs. Is there a way to delete multiple duplicate files? -
I am trying to burn an iDVD, but get message menu contains no buttons. How do I fix this issue?
That essentially means that there's been no videos or slideshows added to the project as each of those items will create a button to play. What have you added to the project?
OT -
I recently did an update for my iTunes and now when I try to open it, I get an error that says that my data execution prevention is not allowing it to open. How do I fix this issue?
Try updating your QuickTime to the most recent version. Does that clear up the DEP errors in iTunes?
-
Hi, Firefox on my desktop keeps crashing at just random moments. Sometimes not very often at all, but other times it can happen a few times within an hour.
My Desktop Window Manager also crashes regularly and the dialogue box always pops up saying its stopped working. However, this doesn't seem to effect anything.
It could be realated though, as I just had this desktop built a few weeks ago and a few times it's crashed as well as programs.
If anyone can help me fix this issue with Firefox, that would be great. Thanks in advance.Hi,
I updated the Flash plugin, but I still keep getting crashes.
I will try to disable the hardware acceleration in the Flash Player as you recommended and hopefully this will work.
Although the last crash report I got has a different problem then before,
https://crash-stats.mozilla.com/report/index/6c5d8c66-6789-4b52-94e4-61cdf2110530
Signature: BuildArgArray
If you can please offer any more advice that would be great, thanks. -
My iPhone 5s on ios 8.1.2 is stuck at Apple logo or recovery mode.. To fix this issue, i need to update it to ios 8.2 through itunes.. I want to ask that my data i.e. Photos and other personal data would be removed after updating it or not..?
if yes then how can i save my data or get out of recovery mode.. Is there any safe mode or something like that on which i could access my data..
P.S. I have not taken any backup of my iPhone on itunes..
Please help me sort out this issue..Recovery mode doesn't mean that all your data is already lost. You only lose your data if you restore it.
When you plug the phone is into iTunes hold down the home button. iTunes may then give you the option JUST to update the software first. This should not get rid of any data.
However, if iTunes is only giving you the option to RESTORE and update, then you will lose your data I'm afraid.
Hope that helps! -
I have an older version of itunes stuck on my computer and because of an apparent pathway missing it wont let me uninstall and reinstall the newer itunes....anyone know how to fix this issue?
What's the precise text of that message please, jeremy? (There's a few different ones I can think of that you might be getting.)
-
i got my i phone4s few days back and i created an apple id with a credit card and when i go to the appstore to purchase apps,all have and message stating that "this app is no longer available"..how do i fix this issue?im from singapore by the way
If it is longer available then you can't get the app on your phone.
-
I have a Macbook Pro running 10.6.8 and Firefox 5.0.1
I have had this issue for a while and was hoping that the newest release would solve my problem, it didn't. I looked online for solutions, none of which fixed the issue
*Some pointed the finger at the extension Invisible Hand, which I never had.
*Some suggested putting Firefox into safe mode, this solves the problem, but since it stops me from installing any extensions this is not a workable solution.
*It was advised that I create a new profile, which I tried, this did absolutely nothing, the blank page appeared again after a short period of time and still can't be closed or clicked on, and this was before I added any add-ons. Which leads me to believe that the issue lies with Firefox.
Though on a side note when I quit Firefox, with only my current tab and the "tab that can't be closed" still open, Firefox notices that there are two tabs open and warns me that I am going to be closing both. The only work around I have found is to set the "tab that can't be closed" as an app tab for the current session, but when I open Firefox the next time, the app tab which was the "tab that can't be closed" can now be closed and a new "tab that can't be closed" appears as if it were a new blank tab, just like every other time I open Firefox.I started in safe Mode. I have the default theme. Starting in safe mode still gave me the same problem. I went back to the normal Firefox and still had the same problem. Yesterday I restarted my computer for 11 Windows updates. I am not going to spend all day starting and restarting my computer and removing my History and whatever else. Firefox should have a direct contact to it's users, to assist them instead of having their users work for them as forum responders and trouble shooters. This has already taken up way too much of my time.
I will say in normal Firefox the additional NEW TAB had no URL in it, but it did have the 12 icons on the page. In Safe Mode it had a URL that began with Chrome and it had a blank page, it didn't have the 12 icons as in normal mode. I don't have anything Chrome on my computer. -
am trying to import from macbook to macbook pro using migration assistant...tells me that i need to update old mac but macbook tells me it is up to date???? any hints on how i fix this issue? running 10.4.11 and it wont update further...please help.
JVSThe camera must be plugged in to AC power (not batteries only). And generally, the camera should be set to Play mode, not recording mode.
-
I updated my iphone to OS 5.0.1 and i can not add events to my iphone calendar- does anyone know how to fix this issue?
I updated today to the 5.0.1 and now when I try to sync to ITunes, it doesn't recognize my phone and an error message comes up saying that "This iPhone cannot be used because the Apple Mobile Device service is not started.' What does this mean? Never mind - I found an article in the Support about this very thing! Thanks!
Message was edited by: Peytsmom -
I have a Macbook Pro purchased brand new. I take high quality pictures for customers, these display perfect on my laptop but appear CORRUPT on a USB stick. What is causing this? I can't seem to fix this issue. PLEASE HELP!!
I really need this issue resolved it is driving me insane!!! How can the images appear perfectly fine on my laptop then when transferring over to a USB stick they just corrupt!?Check out this site:
http://osxdaily.com/2012/04/22/format-drive-mac-pc-compatible/
That will show you how to format a USB stick for use on both PC and Mac.
If the problem continues take it to an Apple store and have them check it out.
>Also what s exFAT?<
From:
http://en.wikipedia.org/wiki/ExFAT
"exFAT (Extended File Allocation Table) is a Microsoft file system optimized for flash drives.[3] It is proprietary and patented."
That first site explains it at length. -
Apple tv is giving me a meesage that says... There is a billing problem with a previous purchase. Go to the iTunes Store on your computer and click Purchase History to resolve problem. I have gone to my purchase history but can't seem to fix this issue.
You can contact the iTunes Store Customer Service department at no charge using the form on their Support page (select the category and subcategory closest to the issue you're reporting and you'll find an "Email Us" button) and explain your problem to them.
Copied from Varjak Paw in :https://discussions.apple.com/thread/2598671 -
ANY UPDATES FOR IPHONE 4S to fix WIFI ISSUE
ANY UPDATES TO FIX THE WIFI (UNABLE TO JOIN NETWORK) FOR IPHONE 4S? THERES A NEW OS FOR IPHONE5, WHY NOT BOTHER TO FIX THIS ISSUE FIRST???
Ever since I upgraded my iphone4 to ios6 I can't get stable connection with home wifi. I am sitting less than 5 feets from the router. My iphone either cannot find the hotspot or getting very weak signal. And it's so weak it will break every two minutes. My ipad is running ios5 and it connects instantly. My ipad can find dozens of hotspots; my iphone can't even find my home wifi.
Yes, I have tried every solution on the web, changing my router setting, reset network setting, recover to orginal settings.... NONE OF THEM WORKED. It is obvious a software problem. IOS6 does not support my router as it did in IOS5.
Seriously, if Apple does not fix this problem, I'm gonna switch the system.
Maybe you are looking for
-
Cannot Start Premiere Pro CC in Windows 8.1
Hi, I cannot start Premiere Pro in Windows 8.1, i can use Premiere Pro in the past without problems... I reinstalled but nothing I have the lastest version of my graphic card drivers ¿Could you help me please?
-
How to delete messeges from SMS
MY SMS folder is empty. However when ever i switch off and on a messege comes on screen displaying several old messeges and asking me to save or otherwise I tried to find the messeges but nowhere i could locate it. How to find where the messege is
-
Microsoft C++ Buffer Overflow Error
I have created two movies from iPhoto on my Mac. When I move them to an XP machine, sometime after 30 minutes of playing, I get the Microsoft C++ Buffer Overflow Error message, and Quicktime for Windows aborts. I have no problems playing them to comp
-
HP All in one Volume bar error
Helloo, i have a hp all in one pc ..........from 3-4 days it is resulting a blue volume bar when ever i put the volume up or down from the keyboard .........i have tried to change my settings but unfortunately its not done..................... so plz
-
I would lik to create a park invoice in my program, just simulation the t-code "MIR7", so, i found that there have a BAPI "BAPI_INCOMINGINVOICE_PARK" seems to be fulfill my requirement, after call the BAPI in my program, the result is not as same as