How to calculate the monthly variances in the query

Hi Gurus;
I need to design a query which calculates the variance of costs with respect to the previous month. I want to select a fiscal period range and only show the variances for these selected periods. However when I enter a range the calculations for the first period dont work. Also If I add the fiscal period characteristic over the structure the formulas are not calculated for the previous period.
Need help?
How can I calculate the variance of costs with respect to previous months and display them monthly?
Thanx a lot in advance,
Duygu Sile

Hello Duygu,
restrict the original cost keyfigure with a variable which is based on fiscal period (this will be actual cost). And then create a new keyfigure(copy of original keyfigure) and use same variable but in detail of restriction use -1 for offset( this will be previous). And then define a new formula and subtract actual from previous or opposite)
Sarhan.

Similar Messages

  • Hi there, I made the monthly payment for the Adobe apps, i managed to download Illustrator and Photoshop but can't seem to download Indesign. It says that "file seems to be corrupted... try later". How do I solve this problem?

    Hi there, I made the monthly payment for the Adobe apps, i managed to download Illustrator and Photoshop but can't seem to download Indesign. It says that "file seems to be corrupted... try later". How do I solve this problem?

    Hi shuster9,
    It seems the downloaded setup for InDesign has got corrupt.
    Could you please clear the TEMP from your computer and then retry.
    Thanks,
    Manish Sharma

  • How can you view an event's time in the month mode of the calendar without clicking on it?

    How can you view an event's time in the month mode of the calendar without clicking on it?

    bbmca,
    Have you tried enlarging the month view window?

  • How to calculate a total based on the expense category?

    If i am keeping a ledger for each month in a seperate table, with expense categories like gas, groceries, work expenses etc... Am i able to, in another table, run a total that automatically updates everytime i choose that specific category. So at end of month i can see total I spent on each category?

    tlanghauser,
    I would create a 14 column table headed 1) Category, 2-13) the twelve months (Jan-Dec), and 3) Total. Then, each row would contain one of the categories. Be careful to spell these categories exactly as in the monthly tables.
    The basic formula for each cell is: =SUMIF(Jan :: Category,$A2,Jan :: Cost)
    (Note comma between $A2 and Jan)
    and, of course, the Total is: =SUM(B2:D2)
    This approach not only give your totals to-date, but an analysis of expenses by month.
    pw

  • In ICal is there a way to see all of the text in all day events on the month view of the calendar.  Seems to wrap text only if there is a time on the event

    In ICal is there a way to see all of the text in all day events on the month view of the calendar?  Seems to wrap text only if there is a time on the event

    The paths won't agree on the two OSs so a simple XML import isn't likely to work.
    See Sync iPod/iPad/iPhone with two computers and, if needed, Make a split library portable. The techniques in the first link will work when moving the library between Windows and OS X as long as the library is "portable", but iTunes takes quite some time checking the database when the library is opened under a different OS.
    tt2

  • Where is the "month" view on the calendar in iOS7?

    The subject is my question.
    What happened to the month view on the calendar in iOS7? I really liked my MONTH view. Mine is showing only 3 options: Today, Calendars, Inbox.
    I really liked being able to see what is scheduled for the month.  Now I have to push on each day to see if there is something going on, and the calendar only shows the week.
    Apple reminds me of Coke.  You have something that works really well and everyone loves it (real Coke), and then they decide to completely change it (fake Coke LOL) and one can never get the old stuff back -- even as an option.
    So I liked my old calendar and wanted to keep it.  LOL

    Okay, just found this thread for anyone else who has this question: https://discussions.apple.com/message/23043066#23043066

  • If I purchase a phone online can I get the monthly payment without the two year contract?

    If I purchase a phone online can I get the monthly payment without the two year contract?

    There is the Edge payment option to spread the full retail price of the phone over the course of two years. It is a payment contract and not a service contract.

  • How to calculate a column bases on the result of another column?

    Hello folks, i need some help with this senario.
    I don't know to explain this in a simple way, but i'll give it a go.
    I display a report in ApplicationExpress like this
    Each row displays a product where the user are going to make a forecast for 18 months ahead.
    [productname] [Stock] [sales] [PMonth] [NewstockMonth] [salesmonth1]      [ProductionMonth1]     [NewstockMonth1] ....
    [product1]______[10]____[5]____[0]_________[5]__________[10]_________[10]______________[5]
    [product2]______[2 ]____[0]____[0]_________[2]__________[5]__________[10]______________[ 7]
    [product3]______[30]____[20]___[0]_________[10]_________[5]_________[10]______________[15]
    Stock and sales are results of a function i have in my select.
    productionmonth is a text field where the user can edit the production and is saved in the table.
    So when the user has entered some inputs in the textboxes, and pressed the submit buttom, the newstockmonth columns
    should be calculated from the result i get from the previous month.
    newstockmonth = (stock-sales)+productionMonth
    newstockmonth1 =(newstockmonth-salesmonth1)+productionmonth1
    At this point my submit process has update in a for loop for each row. But i don't quite know how i can calculate every newstockmonth columns.

    Hi Klaus,
    your condition only works if the Shop is in the query. If I understood it correctly you have one query with
    Country   Shop   Total Sales
    and one with
    Country   Number of Shops   Total Sales
    and you don't want to restrict the second Total Sales but the Total Sales from the first query.
    Best regards
       Dirk

  • How to calculate and update value of the field2 based on what user enters i

    I have a field1 (date type) in page1, while saving this value to the table, I also need to update other field (field2) based on field1 on the same table. (for ex. field2 is 60 days greater than field1).
    Also on next page I want to display field2 as read only (grayed out)...
    I tried to display value of field2 on next page using "ITEM" of page1, but that is not what I need..
    While proccesing page1 I need to calculate and save value of field2, and then on next page display it from the table (not from previous page's item)
    Could you please either help or point me to the document that has a similar example?
    Thank you very much.

    how are you updating the row..
    if its using the commit button then have an actionlistener and then derive and assign the value to the particular column of the row..
          DCIteratorBinding dciter;
          BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
          dciter = (DCIteratorBinding) bindings.get("lineItemIterator");
            dciter.getCurrentRow().setAttribute("column4", value);

  • How to calculate circle number and distinguish the two kinds of circle

    Hello everyone,
    Now, there is a problem to find the calculate circle number and distinguish the two kinds of circle in the following picture. You will find that there is two kinds of hole in the following picture, one is blind hole(3 holes), the another is through hole(19 holes).
    That is to say, the first task is to calculate circle number, the second task is to distinguish the two kinds of circle in the following picture.
    Can you give me some advice how to deal with this problem in the NI Vision Development Module or  NI Vision Assistant. 
    Thank you.
    Kindly Regards
    kevin.wang
    Attachments:
    instruction.png ‏106 KB
    Original.png ‏35 KB

    Yes, you are right. The  through holes is overlay by the  the green square point, and tge blind holes is marked by red circle. Please find the original picture and analyzed picture in the attached files.
    Attachments:
    original f.png ‏346 KB
    Analyzed f.png ‏482 KB

  • How can i use month dynamically in the report?

    Hi Xperts,
    i have requirment that i need to display the data on the report output only for one month.
    and it will dynamically change in every month with out using any selections in the selection screen.
    i found that i have to use customer exits for it.
    can any one please tell me where and what is to be written in that code?(as i don't have any ABAP knowledge).
    Regards,
    sat
    Edited by: SAP534 on Dec 30, 2010 8:07 AM

    There are SAP Standard Variable Exits that will pick the current month based on the report execution date.
    You just have to activate them from standard content and use those variables in your query. You dont have to write any code to use this.
    you can even use variable offsets to pick prior month or next month or even a range of last 12 months etc.
    0CMONTH is a SAP Standard Variable that needs to be activated from standard content and used in the query. There are some other SAP Standard variables such as 0LMONTH for last calendar month 0CMQUAR for current quarter etc that may also come in handy for reporting.
    Similar variables are also available for 0FISCPER infoobject if your fiscal year is different than the calendar year.
    Good luck.
    MP.

  • How to substitute a month abbreviation for the posting period in a query

    Hi,
    I have a query that lists the Posting Period (0FISCPER3) characteristic in the rows and key figures across the columns.  Is there a way to display the Posting Period as a month abbreviation instead of a number? 
    So for example, instead of displaying the periods 01, 02, 03, 04... in the rows, I would like to display the abbreviation of the corresponding month, for example Jun, Jul, Aug, Sep... etc.
    Thanks,
    Mustafa.

    Hi,
    Thanks for the suggestions.  If the master data texts are updated for characteristic "0FISCPER3", this would assume that all Company Codes have the same Fiscal Year Variant.  What happens in a situation where there are multiple Company Codes with different Fiscal Year Variants, a case which is common for multinational companies?
    Can such a manipulation be performed in the query itself based on the Fiscal Year Variant?
    Regards,
    Mustafa.

  • How to display Last month close as the footer

    Hi all,
    We are in the process of building a report that will have a footer that says "Last month Actuals loaded into the database: September FY13"
    I can do this by adding a data column (then hide it), change the period to CurMth subvar, which we update every month after loading the latest actuals then use the following function:
    Last month Actuals loaded into the database: <<MemberName("Grid1", A,"Period")>>
    This would work if the Period dimension was already in the Column but it is not.  If I go with this option then we would have to change the layout of all our reports.
    Is there an easier way?  Maybe a function that calls a value of a SubVar?
    Thanks,
    Mehmet
    p.s. We are on 11.1.2.2.300.  This is an Essbase connection

    Mehmet,
    I don't think there is a function to get the value of subvar. Another option you can try is to add another grid which can be used for all these activities. I do that most of the times
    You can save that one and link all reports to that one, so in case if you have to add more then change that at one place and all reports will start picking the change.
    Regards
    Celvin

  • How to calculate with holding tax for the open item

    Dera all,
    Can you tel me how to simulate with holding tax for the open item? i will try do it using FI_WT_F110_CALCULATE FM  but it dosnt work. plz help me
    regard
    nawa

    Hi Sushil,
    can you please elaborate on how you resolved it. we are facing the same issue with BAPI not calculating the withholding tax data.
    Thanks,
    Sanket

  • How to Calculate column (Month, Year) from date or timestamp

    Hi,
    Name
    SQL Data Type
    Dimension
    Column Store Data Type
    Key
    Not Null
    Default
    Comment
    T_STAMP
    TIMESTAMP
    LONGDATE
    How to generate Month and Year from timestamp field in Analytic View.
    Please provide me some valuable input. I have searched SCN before posting this discussion.

    Hi KD,
    You can apply the following formulas in the expression:
    For Year :
    leftstr(string("Timestamp"),4)
    For Month:
    midstr(string("Timestamp"),6,2)
    Regards,
    Krishna Tangudu

Maybe you are looking for