Need a Macro logic

Hi Experts,
My client wants to see accumulation of sales History in a INITIAL column in the planning book.
So could you pls provide any logic and pre requisites for this.
Regards,
Ram

Hi Murali,
You can achieve this scenario interactively by creating a Default Macro (Create regular macro and assign to default so that as soon as you enter a value in KF1 and save, KF2 will be calculated)
Case 1: If you want to adopt a specific percentage (say 75%), the logic is simple,
Row: KF2
= (75/100)*(Row: KF1)
Case 2: If the % keeps fluctuating every period, then create a new Key Figure (say KF3) for the factor
Row: KF2
= ((Row: KF3)/100)*(Row: KF1)
when KF3 = 75 (for 75%).
If KF3 = 0.75, then
Row: KF2
= (Row: KF3)*(Row: KF1)
Hope this helps.
Regards,
JB

Similar Messages

  • We need how to copy macro logic in the system

    Hi Experts,
    we need how to copy macro logic in the system, we have some macros in my friend system,  i need how to copy macro logic , can u send me elaborate.
    Regards,
    BABU

    I'm a bit uncomfortable with you've wanted to do especially you and your friend has a different system (unless its a sister company/industry). If this would be the case you can copy your friend's macro with the help of your basis team to transport them in one system to another.
    if the case is different organization, I'm not sure if that is possible since no industry have same requirements but i may suggest the links below for your reference on how to copy the Macro into external system. Hope the document is relevant to your issue.
    [http://help.sap.com/saphelp_scm41/helpdata/en/82/2101fac5288f4d8c7be7c20e604a8f/frameset.htm]
    Cheers!

  • I need to install Logic X pro in my laptop. My IOS is 10.7.5 and I have 16Mb memory. Shoud I update my IOS to the latest version?

    I need to install Logic X pro in my laptop. My IOS is 10.7.5 and I have 16Mb memory. Shoud I update my IOS to the latest version?

    you can't install logic pro x on a iOS device....you said laptop so i guess you mean OS X not iOS ....you can't have 16mb ram/memory but probably 16gb....but to your question...
    NO DO NOT UPDATE, logic pro x is working better on mavericks then on yosemite!

  • Just bought a new imac, need to take logic off my macbook pro and install onto my imac

    Just bought the new imac, and I need to get logic pro 9 off my macbook pro and onto my imac.  Both my install licenses are used, so will I have to buy a new license as well.  If any and all help would rock.  Thanks,  JASON

    How did you receive Logic?  Reinstall from the distribution media.  You may be able to move the Logic application, but unless you know what and where the support files are it may prove difficult for it to work correctly.
    I would assume you can obtain another license by calling AppleCare Customer  Service unless you are moving Logic to a new computer and removing it from the other  computer.  In this case you do not need to purchase another license.

  • I need to change logic behind Calculate Duration button in Leave of Absence

    Hello,
    I need to change logic behind Calculate Duration button in Leave of Absence creation page.
    How I can do that?
    Please suggest.
    Regards,
    mofizur

    This will be a OAF customization, you have extend this oracle.apps.per.selfservice.absence.webui.AbsenceCO Controller.
    in processFormRequest you have catch event to Calculate Duration Button.
    You need to write custom your requrirement Logic for event to Calculate Duration.
    Thanks, Avaneesh

  • HT4812 I recently fixed my computer and need to reinstall logic pro 9 but I can't find the booklet with my serial number, is there any other way I can get the serial number for logic pro 9 (box)?

    I recently fixed my computer and need to reinstall logic pro 9 but I can't find the booklet with my serial number, is there any other way I can get the serial number for logic pro 9 (box)?

    If you still have the receipt or other proof of purchase, you can ask Apple to send you the serial. Otherwise, bad luck mate.. Good news is, you can now buy Logic Pro 9 from App Store for just 199 USD

  • I need to reinstall logic 8 but lost serial number

    I have had to wipe my hard drive and now need to reinstall logic 8 before i install Logic 9 upgrade, but I have lost the serial number for 8. What should I do?

    Hi
    If you intend to upgrade to Logic 9, you should not need to actually install Logic 8 (unless you want to).
    You will need the 8 Serial number in either case if you are using an upgrade installation disk set for Logic Studio (2).
    Apple may be able to help regarding lost serials:
    http://support.apple.com/kb/HT1861
    CCT

  • Macro Logic

    Hi Experts
    I need to write the based on the below logic:
    Prod1 -
    Cust1 = 100 Qty (forecast for Current Month)
    Prod1-----Cust2 = 200 Qty (forecast for Current Month)
    Prod1-----Cust3 = 200 Qty (forecast for Current Month)
    Prod1-----Cust4 = 200 Qty (forecast for Current Month)
    Totals for the Prod1 with All Customers = 700
    I want to calculate the percentage in the Macro.
    Percentage of the Cust1 with Prod1 = 100/700 * 100
    Cust2 and Prod1 = 200/700 * 100  and so on...
    Please advice me the logic.
    Thanks in advance.Your reply is highly appreciated.
    Thanks
    Vicky

    Hi Mani
    If i use proportional factors for the above logic, system will give unknown numbers, but when we view it shows in percentages.
    I want to get the appropriate values with percentage.
    Is it possible to write the macro for the above logic?If yes how?
    Thanks in advance.
    Regards
    Vicky

  • Copy Marked values forward Macro Logic

    Hi APO-DP Guru's
    I had a issue with DP-Macro, Macro is copy Marked values forward.
    ** Macros in the Macro Book**
      ** Copy Marked Values Forward**
        ** All : ( 1 Iterations :; )**
            **IF**
          ** act_column marked?**
              **COLUMN_MARKED( ACT_COLUMN ) = 1**
          ** Row: Custom Disaggregation Factor ( Frm  ) =*(2nd week)*
              **Row: Custom Disaggregation Factor ( Frm Offset 0 )*(1st week)*
            **ENDIF**This is the Macro i am using.
    I am Marking(selecting) 3 weeks, i.e week 1, week 2, week 3,  week 1 contains the value 20, when i executes this macro, it supposed to copy the value 20 to week 2, week 3 only, but it coping the 20 valu to week 2, week 3 and unmarked week 4 also.
    Could any body tell me  logic for this Macro urgently.
    Thanks in advance.
    Regards
    Ravi Pradeep Raju P

    you need to change the macro processing direction to backward...
    immaterial of your not marking the 4th row it will copy 3rd row to 4th since it is an iterative step
    or stop marking row 3 ... row 2 will anyhow be copied to row 3

  • Alert Macro Logic

    I need a logic to generate an alert, when ever the user executing a macro in monthly buckets.  They should always use the Storage bucket profile (Feature available in 5.0).   Any help is greatly appreciated.
    thx
    Jeff

    I used the Function: BUCKET_DAYS and was able to resolve this issue.
    thx
    Jeff

  • Urgent help needed on Macros

    Hi APO Gurus...
    I want to know how to use Drill_Up and Drill_ Down macros in batch jobs. they work beautifully in interactive mode, but when processed in batch jobs they drill up only for the particular CVC's at the aggregated level specified in the job. We are  selecting all the characteristics in the aggregation level while creating the job. Then we want to drill up on particular characteristic. We are using a collective macro with first macto for drill up and second macro for calculations at the aggregated level. It works fine in interactive mode but drill_up doesnt seem to work in batch jobs.
    Help needed

    Hi,
    You should not be using DRILL_UP and DRILL_DOWN functions in background jobs. Whatever processing you need to do after DRILL_UP should be a separate macro and that should be executed in background at the desired aggregation level (set for the job).
    There is no point in using a collective macro with a DRILL_DOWN, processing and DRILL_UP steps in background job.
    Thanks,
    Somnath

  • I bough a refurbished iMac last year, unfortunately Im in need of a Logic board, but when I search FD093LL/A, no company seems to recognize this model but I do see all models, or at least most, starting with MD...whats the difference?

    I bought a refurbished iMac last year, unfortunately I'm in need of a new/used Logic board, but when I search and contact Company with Mac parts, no one seems to recognize FD093LL/A witch makes it tough to identify parts, but I do see most Part Numbers starting with MD. Any reason why?
    Thank you

    Refurbished models have a different order number. Replace the F with an M and see if the specifications listed match your computer’s.
    (115253)

  • Keys 5-9 no longer work after water damage. Do I need a new logic board?

    I had the smallest amount of water on my fingers when I typed something on my keyboard and now keys 5-9 no longer work. Will I need a whole new logic board for this? I've been into two Apple stores and both say I need to book an appointment online. I've been online and tried to book in at three different Apole stores within my area and I just get 'there are no slots available' how am I supposed to get this fixed if I can't book a session to see some!?! Sort it out Apply, it's why your products cost so bl**dy much isn't it!?

    thanks, but I really don't think its the logic board since I can still plug in head phones and i can hear movies, etc.
    also when i don't have my magicJack plugged in to make calls they now give you a magictalk dial pad to make calls and when i plug in the headphones again i can talk through the speakers and be heard and I can hear them too. Is there something I can used to maybe pull out the connection. I think it thinks the headphones are plugged  in all the time.

  • Noob needs help with Logic and Motu live setup.

    Hello everyone,
    I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
    Here's the scenario:
    I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
    Here's the confusion:
    There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
    Here's the goal:
    All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
    I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
    I want to be able to EQ and balance the ensemble via Logic.
    Here's another question:
    How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
    Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
    Thanks in advance,
    Chris

    You'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
    1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
    2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
    3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro.

  • Help Needed in Relational logic

    Hi
    Working in 2008 R2 version.
    Below is the sample data to play with.
    declare @users table (IDUser int primary key identity(100,1),name varchar(20),CompanyId int, ClientID int);
    declare @Cards table (IdCard int primary key identity(1000,1),cardName varchar(50),cardURL varchar(50));
    declare @usercards table (IdUserCard int primary key identity(1,1), IDUser int,IdCard int,userCardNumber bigint);
    Declare @company table (CompanyID int primary key identity(1,1),name varchar(50),ClientID int);
    Declare @client table (ClientID int primary key identity(1,1),name varchar(50));
    Declare @company_cards table (IdcompanyCard int primary key identity(1,1),CompanyId int,IdCard int)
    Declare @Client_cards table (IdclientCard int primary key identity(1,1),ClientID int,IdCard int)
    insert into @users(name,CompanyId,ClientID)
    select 'john',1,1 union all
    select 'sam',1,1 union all
    select 'peter',2,1 union all
    select 'james',3,2
    Insert into @usercards (IdUser,IdCard,userCardNumber)
    select 100,1000,11234556 union all
    select 100,1000,11234557 union all
    select 100,1001,123222112 union all
    select 200,1000,2222222 union all
    select 200,1001,2222221 union all
    select 200,1001,2222223 union all
    select 200,1002,23454323 union all
    select 300,1000,23454345 union all
    select 300,1003,34543456;
    insert into @Cards(cardName,cardURL)
    select 'BOA','BOA.com' union all
    select 'DCU','DCU.com' union all
    select 'Citizen','Citizen.com' union all
    select 'Citi','Citi.com' union all
    select 'Americal Express','AME.com';
    insert into @Client(name)
    select 'AMC1' union all
    select 'AMC2'
    insert into @company(name,ClientId)
    select 'Microsoft',1 union all
    select 'Facebook',1 union all
    select 'Google',2;
    insert into @company_cards(CompanyId,IdCard)
    select 1,1000 union all
    select 1,1001 union all
    select 1,1002 union all
    select 1,1003 union all
    select 2,1000 union all
    select 2,1001 union all
    select 2,1002;
    Requirement : 
    1. Get the distict Users card details. the reason for using distinct is, user can have same card multiple with different UserCardNumber.
    Ex : user can have more than BOA card in the @usercards table with different UserCardNumber. But though he has two BOA card, my query should take one row.
    2. After the 1st step, i need to check if any details on @company_cards based on Users companyId.If yes then selct the details from @company_cards. if not select it from @client_cards
    In this case we need to make sure that we shouln't have repeated data on @FinalData table. 
    My Logic:
    Declare @FinalData table (IDCard int,CardName varchar(50),CardURL varchar(50))
    declare @IdUser int = 100, @ClientID int,@companyID int;
    select @ClientID = ClientID,@companyID = CompanyId from @users where IDUser = @IdUser;
    insert into @FinalData (IDCard,CardName,CardURL)
    Select distinct c.IdCard,c.cardName,c.cardURL from @usercards UC join @Cards C on(uc.IdCard = c.IdCard)
    where IDUser=@IdUser;
    if exists(select 1 from @company_cards where @companyID = @companyID)
    BEGIN
    insert into @FinalData(IDCard,CardName,CardURL)
    select c.IdCard,c.cardName,c.cardURL from @company_cards cc join @Cards c on(cc.IdCard = c.IdCard) where CompanyId = @companyID
    and cc.IdCard not in(select IDCard from @FinalData);
    END
    ELSE
    BEGIN
    insert into @FinalData(IDCard,CardName,CardURL)
    select c.IdCard,c.cardName,c.cardURL from @client_cards cc join @Cards c on(cc.IdCard = c.IdCard) where ClientID = @ClientID
    and cc.IdCard not in(select IDCard from @FinalData);
    END
    select * from @FinalData;
    the logic produces the valid result. Is there any alternative way to achieve this logic. I feel there might be some proper way to query this kind of logic. any suggestion please.
    [the sample schema and data i provided just to test. i didn't include the index and etc.]
    loving dotnet

    You can simply merge the statements like below
    Declare @FinalData table (IDCard int,CardName varchar(50),CardURL varchar(50))
    declare @IdUser int = 100
    ;With CTE
    AS
    Select IdCard, cardName, cardURL,
    ROW_NUMBER() OVER (PARTITION BY IdCard ORDER BY Ord) AS Seq
    FROM
    Select c.IdCard,c.cardName,c.cardURL,1 AS Ord
    from @usercards UC join @Cards C on(uc.IdCard = c.IdCard)
    where IDUser=@IdUser
    union all
    select c.IdCard,c.cardName,c.cardURL,2
    from @company_cards cc join @Cards c on(cc.IdCard = c.IdCard)
    join @users u on u.CompanyId = cc.CompanyId
    where u.IDUser = @IdUser
    union all
    select c.IdCard,c.cardName,c.cardURL,3
    from @client_cards cc join @Cards c on(cc.IdCard = c.IdCard)
    join @users u on u.ClientID= cc.ClientID
    where u.IDUser = @IdUser
    )t
    insert into @FinalData (IDCard,CardName,CardURL)
    SELECT IdCard, cardName, cardURL
    FROM CTE
    WHERE Seq = 1
    select * from @FinalData;
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • I can't set my Macbook up to my TV.

    Okay, so I've been to the store like eighty thousand times trying to find the cables that I need to hook my Macbook up to my TV, and I was finally told that I would need the following things: -Mini DisplayPort to DVI Adapter -DVI to Video Adapter -S

  • Officejet 8600N will no longer print from second tray in Apple Yosemite

    I recently installed a fresh install of Mac OSX 10.10 Yosemite .  Immediately after, my HP Officejet 8600 all-in-one would not pull from the optional second tray.  There is a 10/22/14 driver update that says it is for OSSX 10.10, but does not fix the

  • External Hard Drive (Seagate) does not appear

    I recently updated to the new Maverics 10.9.2 and now my external hard drive does not show up in finder, or on my desktop.  I have looked using disk utility and disk drill and nothing appears.  I was wondering how I could get the information back fro

  • Installation Error: ApplicationVerificationFailed.

    So I updated my device to iOS 8.3 and now I get this error every time I try to test the app on the device through Flash CC 2014. I've updated my provisioning profile and I've checked that the App ID is the same on Flash than on Apple's website. This

  • Installing APEX without Oracle Text Option

    Hi, Is it possible to install APEX 3.1.2 or 3.2 without the Text Option? The doc says yes, but the apex help can´t be used. The last time i tried it on a customer side, i got an installation error (but i can´t remember the text of the error) After in