Key figure comparision between current year and previous year

Hello collegues,
I have created a WEB Intelligence report with key figure ROI (return on investment which is calculated out of three other key figures (capital, revenue and costs). I would now like to calculate the percentage period (year) differences between key figure ROI - between current year (month) and previous year (month).
Do I have to add coding within a key figure formula within WEBI Rich Tech client or within universe builder.
The key figures were extracted from SAP BW and added to a universe which is basis for WEBI rich tech client report.
thanks and regards,
Christian

Hi Stratos,
so I see - i have to use the variable Editor and then define a measure and add coding in the formula field. Do you have an e-mail address ín order to send you the report and explain in more detail what I would like to see - here it is not possible to upload a report...
thanks and regards,
Christian

Similar Messages

  • Difference between current row and previous row in a table

    Hi All,
    I am having a problem with the query. Can some of please help me?
    I need to get difference between current row and previous row in a table. I have a table, which have data like bellow.
    TABLEX
    ================
    Name Date Items
    AAA 01-SEP-09 100
    BBB 02-SEP-09 101
    CCC 03-SEP-09 200
    DDD 04-SEP-09 200
    EEE 05-SEP-09 400
    Now I need to get output like bellow...
    Name Date Items Diff-Items
    AAA 01-SEP-09 100 0
    BBB 02-SEP-09 101 1
    CCC 03-SEP-09 200 99
    DDD 04-SEP-09 200 0
    EEE 05-SEP-09 400 200
    Can some one help me to write a query to get above results?
    Please let me know if you need more information.
    Thanks a lot in advance.
    We are using Oracle10G(10.2.0.1.0).
    Thanks
    Asif

         , nvl (items - lag (items) over (order by dt), 0)like in
    SQL> with test as
      2  (
      3  select 'AAA' name, to_date('01-SEP-09', 'dd-MON-rr') dt,  100 items from dual union all
      4  select 'BBB' name, to_date('02-SEP-09', 'dd-MON-rr') dt,  101 items from dual union all
      5  select 'CCC' name, to_date('03-SEP-09', 'dd-MON-rr') dt,  200 items from dual union all
      6  select 'DDD' name, to_date('04-SEP-09', 'dd-MON-rr') dt,  200 items from dual union all
      7  select 'EEE' name, to_date('05-SEP-09', 'dd-MON-rr') dt,  400 items from dual
      8  )
      9  select name
    10       , dt
    11       , items
    12       , nvl (items - lag (items) over (order by dt), 0)
    13    from test
    14  ;
    NAM DT             ITEMS NVL(ITEMS-LAG(ITEMS)OVER(ORDERBYDT),0)
    AAA 01-SEP-09        100                                      0
    BBB 02-SEP-09        101                                      1
    CCC 03-SEP-09        200                                     99
    DDD 04-SEP-09        200                                      0
    EEE 05-SEP-09        400                                    200
    SQL>

  • DP Local Key Figure Discrepancy between Aggregated level and lowest level

    Dear,
    Here is my issue.
    Forecast (key figure)
    Life Cycle Factor (key figure)
    Final Forecast (Local Key figure)
    Final forecast = Forecast * (1- LCF (%) )
    Example :
    Product 1 = 100
    Product 2 = 200
    Product 3 = 300
    TOTAL FORECAST = 600
    If I assign a life cyle factor to Product 1 = 60
    Total LCF appears  = 20 (60 + 0 + 0) => OK
    Final Forecast Product 1 = 40        => OK
    Final Forecast Product 2 = 200      => OK
    Final Forecast Product 3 = 300      => OK  
    Total Final Forecast =  480  (600 * (1-20%)        => NOK 
    I have a very strange situation because  at the product level, the formula is OK   => Final Forecast = Forecast * (1 - LCF(%) )
    BUT Total Final Forecast should be the sum of the each product Final forecast = 40 + 200 +300 = 540.
    Can you help me to understand what I have to correct for  this aggregation ?
    Thanks a lot for your help
    PE

    Hi Arnaud,
    My macro is running "interactively" because it is placed into the Default basket of my planning book.
    (macro executed  for each save / change)
    I agree, calculation is done at each level.
    Here is the parameters of the macro... should I change something ?
    Thanks for your help
    Pierre

  • Days difference between current row and previous row

    I was able to obtain the date in the previous row and put it in the current row as below,
    EVALUATE('LAG(%1,1) OVER (ORDER BY %1)', "- Response Date".Date)
    but, when I try to calculate the difference between the two dates as below, I got the error message..
    TIMESTAMPDIFF(SQL_TSI_DAY, EVALUATE('LAG(%1,1) over (order by %1)',"- Response Date".Date),"- Response Date".Date)
    Error message says;
    _State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 30483, message: ORA-30483: window functions are not allowed here at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)_
    Please help~ Thanks in advance, gurus~~~

    http://obieeone.com/2010/04/27/use-of-evaluate-function-for-analytics-function-oracle/
    the link might provide you with some additional insight into the error.
    Let me know if that was helpful
    -bifacts
    http://www.obinotes.com

  • Need sql querry for records between Current Year First day and Current Day

    Hi,
    I have a table like this...
    Empid     Empname     DOJ
    TEST1     ERDDF     19-Jun-2011
    TEST2     AA     22-Mar-2011
    TEST3     SS     22-Oct-2011
    TEST4     VV     01-Jan-2012
    TEST5     HH     01-Apr-2012
    TEST6     AS     18-Jun-2012
    TEST7     ER     26-Jun-2012
    TEST8     ERDDF     28-Jun-2012
    My output like this...
    Empid     Empname     DOJ
    TEST4     VV     01-Jan-2012
    TEST5     HH     01-Apr-2012
    TEST6     AS     18-Jun-2012
    TEST7     ER     26-Jun-2012
    Logic:
    records between Current Year First day and Current Day(sysdate)

    937506 wrote:
    Hi,
    I have a table like this...
    Empid     Empname     DOJ
    TEST1     ERDDF     19-Jun-2011
    TEST2     AA     22-Mar-2011
    TEST3     SS     22-Oct-2011
    TEST4     VV     01-Jan-2012
    TEST5     HH     01-Apr-2012
    TEST6     AS     18-Jun-2012
    TEST7     ER     26-Jun-2012
    TEST8     ERDDF     28-Jun-2012
    My output like this...
    Empid     Empname     DOJ
    TEST4     VV     01-Jan-2012
    TEST5     HH     01-Apr-2012
    TEST6     AS     18-Jun-2012
    TEST7     ER     26-Jun-2012
    Logic:
    records between Current Year First day and Current Day(sysdate)Probably you are looking for :
    where DOJ between trunc(sysdate,'YYYY') and sysdateRead {message:id=9360002} and always provide details mentioned in this thread.

  • Parameter for Current Month and Previous Month

    I'm trying to create a parameter for current month and previous month based on the ex_date, but not sure what i'm doing wrong. 
    where ex_date = @SelectDate
    I created a second dataset below for the values in the parameters.
    SELECT Month(CURRENT_TIMESTAMP) AS 'Month', 'Current Month' as 'Current Month'
    union all
    SELECT Month(CURRENT_TIMESTAMP)-1 AS Month, 'Previous Month' as 'Previous Month'
    Results
    Month Current Month
    3 Current Month
    2 Previous Month
    Once I preview it I get "Conversion failed when converting date and/ or time from character string" I changed the data type to "date/Time" but that did not make a difference. The date is convert (varchar(10), ex_date, 101) so looks like
    11/12/2014. 
    I've also tried expressions like =month(now()) to pull current month with same error so i'm not sure what i'm doing wrong. Any ideas?

    i tired this real simple report
     in the first dataset - my main report query - select name from sysdatabases where month(crdate())=@month
    in the second dataset - select month(getdate()) as Month1
    in the parameters - choose int data type and available values - select the second data set
    in the first data set- add this parameter..( i am assumming you know this, since you have done)
    in the preview you should get the drop down with current month number - 3
    and if you run the report, it will display the database names that were created in march. remember we are no checking year, so will get all that were created in march across the years.
    Hope it Helps!!
    I'm looking to have the dropdown say "Previous Month" and "Current Month" as a option. I know how to get the information in SQL, but not sure how this translates or put into a parameter.
    Current Month
    list_date BETWEEN
    DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
    AND
    DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0)
    Previous Month
    list_date between
    CONVERT(varchar,dateadd(d,-(day(dateadd(m,-1,getdate()-2))),dateadd(m,-1,getdate()-1)),106) /* Last Month */
    and
    CONVERT(varchar,dateadd(d,-(day(getdate())),getdate()),106)

  • Display Current Quarter and Previous Quarter???

    Hi Gurus,
    I Had a requirement to display only the current Quarter and previous quarter in the report level using single quarter column.
    and my quarter value type is Q1 2013.
    Please anyone help me out on this asap/
    Thanks.

    Hi,
    Using time serious function you can acheive this requirement.
    http://obieetutorialguide.blogspot.in/2012/02/modeling-time-series-function-in-obiee.html
    OBIEE 11g Time Series Function
    or,
    Using presentation variable you can achieve this.
    Re: OBIEE 10g LY YTD returns YTD for past years
    The above thread for year you can change to qtr.
    Hope this help's
    Thanks,
    Satya

  • Why can't I toggle between current settings and defaults on the ACR basic panel?

    When I try to toggle between current settings and defaults, I get a blue or black screen in the "After" image so I can not compare before and after.  The toggle doesn't work when I am viewing a single image or when I am viewing before and after side-by-side.  The blue or black image looks like the image is totally clipped, but it's the same whether clipping is on or off.  Command-Option-P does not work either.  Also, the histogram totally disappears when I try to toggle.  So I think something is corrupted, and I'd like to know how to fix it.  BTW, this toggle works fine when I am in the adjustment brush panel; it's the basic panel where it doesn't work.  I use Photoshop CC (2014) and Bridge CC on a new iMac--Yosemite. All are up to date (ACR 8.7.1.311).  I am not using Lightroom.  I would appreciate a suggested fix.  Confession: I am very new to the Mac environment and just returning to Photoshop after an absence so I'm finding my way; there's a good chance I'm making a rookie mistake.  Thanks in advance for any help or suggestions on where else I might post my question.

    The only fix at the moment is to hold the option key when clicking the green button.
    Send Apple your feedback and this might get fixed: http://www.apple.com/feedback/itunesapp.html

  • How to get data for current week and previous week using customer exit in Bex.

    Hi everyone,
    I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using  Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
    Thanks in Advance,
    G S Ramanjaneyulu.

    Hi krishna,
    Thanks for your quick reply, can you have a look at my code,
    case i_vnam.
    WHEN 'ZPWK_CWK'.
    ranges : pre_week for sy-datum.
    data : start_date type DATS,
           end_date TYPE dats .
    ************FM TO GET FIRST DATE OF CURRENT WEEK ************************
    CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
      EXPORTING
        DATE_IN  = sy-datum
      IMPORTING
        DATE_OUT = start_date.   " WEEK FIRST DATE
    end_date = START_DATE + 6.   " WEEK LAST DATE
    END_DATE   = START_DATE - 1.   " PREVIOUS WEEK END DATE
    START_DATE = START_DATE - 7.   " PREVIOUS WEEK START  DATE
    **********PREVIOUS WEEK DATES IN PRE_WEEK******************
    pre_week-SIGN   = 'I'.
    pre_week-option = 'BT'.
    pre_week-LOW    = START_DATE.
    pre_week-HIGH   = END_DATE.
    APPEND  pre_week.
    CLEAR : START_DATE,END_DATE.
    endcase.
    Regards,
    G S Ramanjaneyulu.

  • Balance sheet required for current quarter and previous quarter

    Hi Guys,
                 I am using 0FIGL_C10 cube for balance sheet report,i need to create balances for current quarter and previous quarter.
    user will enter the fisper, based on fisper it has to show the current quarter and previous quarter balance.
    how to calculate the quarter using fisper.

    you can use offset with ranges.
    or
    just offset of -1 , -2 & -3 seperately in 3 selections and add it in one column in formula (this will give u current quarter).
    similarly offset of -4, -5 , -6 will give u previous quarter result.
    total of 6 selection and 2 formulas. hide all selections from display.

  • Difference Between Current Day and fist day of the payroll period

    Hi,
    How do i find the difference between the current day and the first day of the payroll period with period parameter XX.
    Operation VARSTFDYXX is used to decide if the current day is the first day of the payroll period. But is there any operation available to check the difference in exact number of days.
    I know hrs=y is used to find difference between current day and a date specification record from IT0041, but i need to check difference between current day and first day from a payroll period parameter.
    Any response is greatly appreciated.
    Thanks,
    Imaneul Rajiv

    No! haven't seen it at all! Do I have to drain the battery completely and then charge it? I did that the first day I bought the phone and yet the stats are the same for me
    PS: I am referring to the Call Time stats and not the Usage/Standby stats

  • Key functional differences between SRM 7 and SRM 5

    Dear All,
    I urgently need to put togther a comparison document thst list key functional differences between SRM 7 and SRM 5.
    NB. i donot have access to service marketplace.
    sheena.roberts(AT)yahoo
    Thanks
    Edited by: Sheena Roberts on Jan 18, 2011 11:21 AM

    Hi Sheena,
                        Go to  difference between srm 5.0 and 7.0
    Regards
    Vishal Pd

  • Time Dimension _ Report on Current month and previous year.TOTAL

    Hi,
    My Time dimension is as under .
    July2013, Aug2013 ,......Jan2014,,,. June2014  = 2014.TOTAL
    My requirement is to report based on context view along with previous period total (.TOTAL) values.
    For example :      If i am using CV as : 2013.JUL my report should show 2013.JUL & 2013.TOTAL
                                If i am using CV as : 2014.JUN my report should show 2014.JUN & 2013.TOTAL
    Can anyone provide some direction to build the above scenario
    Regards
    Krishna

    Hi,
    do you have the property YEAR in your time dimension filled out? If so, you could use EPMDIMENSIONOVERRIDE function together with an Excel cell.
    Let me build an example:
    Assuming your report has two columns, one for the current month and one for the total year. I would split this into two, one report per month, i.e. column. The first report will show the current period, the second the total. Somewhere in the header of your sheet use:
    EPMDimensionOverride("001";"TIME";EPMMemberProperty(;EPMContextMember(;"TIME");"YEAR")&".TOTAL")
    001 is the default ID of the second report.
    BR,
    Arnold

  • Problems with key figure quantities between ODS and PSA

    We have some key figures which are part of the purchasing transactional load.  The key figure in some cases is showing the correct total value for the ordering unit in the PSA but incorrect in the ODS (there is no transformation logic).  This seems to happen when an ordering unit exists but a base unit of measure does not exist? Has anyone had similar and how to resolve? Thanks

    Hi, thanks for the quick reply. I forgot to mention that. As I wrote before, this percentage is given to us directly in the file that is loaded on the system, but since there were problems when taking away a characteristic from the table, I created a formula which should give us the same data. The formula is Percentage = "Products Sold / Total Products" (I used the Percentage part operator, so it looks like this "Products Sold %A Total Products"). The TOTALS value is validated with the person in charge of giving us the file to load.
    A sample data record:
    DATE--SHOP_ID-DEPT-PRODUCTS-SOLD---PCT.
    20080101--125020--
    40
    Edited by: Pedro Olvera on Aug 1, 2008 12:21 PM

  • COPA Report current period and previous period issue

    Hi Gurus,
    I have defined COPA report (Tcode KE94) based on line items. Now I want all values to be displayed based on an entry parameter in terms of period. That is to say that  If I give input values of "010.2013" as a period entry , my report should display the values for the the period specified i.e. 010.2013 in the first column and in second column  values for the period 009.2013 should be displayed and in the third column values for the period 001.2013 till 010.2013 should be displayed cumulatively.
    For this, I choosed the character "period/year" in General data selection tab, clicked "Variable on/off" tab and gave values "From"  as well as "To" for the Global Variable "OFP"  which is Curr.fisc.per./year.
    For the 1st column (1st column which is suppose to display the values according to selection parameter), along with the character "company code" , I choosed the character "period" and clicked "Variable on/off" tab and gave value "From"  as well as "To" for the Global Variable "OFP"  which is Curr.fisc.per./year.
    For the 2nd column (2nd column which is suppose to display the values for the immediately preceeding period of the selection parameter), along with the character "company code" , I choosed the character "period" and clicked "Variable on/off" tab and gave value "From"  as well as "To" for the Global Variable "OFP"  which is Curr.fisc.per./year. While doing so, I selected operator as "-" and choosed offset as 1.
    For the 3rd column (3rd column which is suppose to display the cumulative values from the beginning of the fiscal year till the period mentioned in the selection parameter), along with the character "company code" , I choosed the character "period" and selected 001 in "From" and 016 in "To" tab.
    Company Code selected in all the three columns is same and I have selected actual values i.e. 0 for "plan/actual indicator" tab.
    When I run the report through Tcode KE30 , I give values as "010.2013" for the From and To selection tabs. System shows the values as per the selection parameter in the 1st column which is correct  but display values same as per coulmn 1st in the 3rd column which is wrong because it should be cumulative. 2nd column is blank. 
    How to display the values for the immediately preceeding period and for cumulative period?
    Regards,
    makrand

    Dear Ajay,
    Thanks for the reply. Here are the screen shots.
    For the general data selection tab
    For the first column "current month" i.e. for the month
    For the second column "Last Months"
    For the third column "Cumulative" i.e. year to date
    Following is the result of KE30
    Values for the period 010.2013
    You can see that values in the report for the period 011.2013 contains value for the previous period which is 59090.21
    This value is matching when the report is run for the period 010.2013.
    But in both the reports,the figures for Current month and YTD (year to date) are same.
    Please let me know what setting is required in the current month column.
    Regards,
    makrand

Maybe you are looking for

  • The Fingerprint scanner doesn't work on my HP ProBook 6455b

    When I got the laptop, it had Windows 7 on it and the hardware was customized so the laptop has  2.8gHz CPU and modified GPU and that's it. It came with the fingerprint scanner, but never worked and I never tried to set it up. Now, I upgarded to Wind

  • Colour management in PS and monitor calibration

    I've calibrated my monitors colours with an Eye One Display 2 colorimeter, and for photoshop i've assigned the monitors colour profile it has created to the work area (Edit > Assign Profile). But for photography i take photos with AdobeRGB colour pro

  • Need help determining why my podcast has disappeared from the iTunes store.

    For a while, the last ten episodes or so were missing, but now the entire show is gone. The feed url is: www.warrenandbradley.com/feed/podcast The feed seems to be perfectly valid and work just fine. I can't think of anything I've changed, and have b

  • Airport seems to be scanning almost all the time

    Hi I have searched the forum and not sure if my issue is part of a wider software problem. The symptom is that the Airport gives a message on both my iMAc and MacBook Airport:scanning. It then finds the network shows Airport: on but then very quickly

  • Multiple unit of purchase on PO

    Dear, I need to use multiple units of certain material while creating PO, E.g one material can be purchased in kgs and can be purchased in grams, i have defined both the units in additional data in material master but still on PO system is ot alowing