Help needed to compare two Key Figures and show out put

hello experts,
                   I am comparing the Sales data for two year/month. I need to compare these two KF and show the result only if one is greater than the other by 40%. Sample
Jan/2008                             Jan /2007
400                                      600
500                                      300
300                                      700
600                                      400 
The columns should be outputted only if Jan 2008 is greater than Jan 2007 by 40% for all customers in a business area. Thank you all in advance.
Regards,
-Akash

Hi Akash,
Your requirement could be met by
Creating a Calculated Key Figure say variance = ( ( Jan2008 - Jan2007 ) / Jan 2008 ) *100
Then create a new Condition on  Variance so as to display rows only when Variance > 40
Hope this solves ur issue.Do revert
Vasavi

Similar Messages

  • Compare two .txt files and show result

    HI
    Could anybody show me how to compare two text files and show the result.
    i.e.
    textfile1.txt
    harry.denmark
    karry.sweden
    textfile2.txt
    harry.denmark
    karry.sweden
    marry.usa
    Compare
    result=
    marry.usa
    The text files I want to compare are how ever much larger than this example. (up to 2-3.000 words)
    anybody ??
    Sincerly
    Peder

    HI & thanks for reply
    I know almost nothing about java so could you or anybody please show me the code to do this? Or is it perhaps too large or difficult a code?
    I know how to compile a .java file and run it in prompt :-) and thats about it (almost)
    I offcourse understand if its too much to ask for :-)

  • Help needed with comparing two tables

    Hi
    I have two tables which have same column names but different entries in each one of them and some common entries between the two tables.
    Table A has all the entries of Table B and some extra ones.. and I need SQL to give me those extra ones that are not in Table B
    Table A columns names (col1, col2 col3 ...) and data
    col1 col2 col3 col4 col5 col6
    a1 a2 a3 a4 a5 a6
    b1 b2 b3 b4 b5 b6
    c1 c2 c3 c4 c5 c6
    d1 d2 d3 d4 d5 d6
    All columns are varchar2
    Table B columns names ( col1,col2 ..) and data
    col1 col2 col3 col4 col5 col6
    a1 a2 a3 a4 a5 a6
    c1 c2 c3 c4 c5 c6
    All columns are varchar2
    So the answer I would like to get is
    b1 b2 b3 b4 b5 b6
    d1 d2 d3 d4 d5 d6
    because these two entries are not in Table B but in Table A
    Appreciate if you can help me with this because I have millions of records that I need sort through and get the entries and cannot be done manually..
    Thanks in Advance
    Kris

    Here is an example:
    SELECT 'X' FROM DUAL UNION SELECT 'Y' FROM DUAL
    MINUS
    SELECT 'X' FROM DUAL;
    Y

  • How to compare two excel reports and find the difference in BI Publisher

    Hi All,
    I have a requirement that needs to compare two excel reports in XML Publisher 5.6.2. or BI publisher 10.1.3.4
    If anybody has an idea about this pls help us.
    Thanks,

    Since our customer wants to have this comparison only with BI reports....here is the scenario how the comparison should be..
    Now,we have a parameters called Customer name and version id. Version id list will be refreshed based on the customer selection.
    User can generate the report based on the selected customer name and version id. These data are fetch from the oracle database and we are using Data Template in the BI Publisher.
    Now the requirement is customer wants to compare two version id data. for example, v1.2 and v1.3
    Now they wanna to see both the reports while generating in the same work sheet, like, v1.2report should display in the left side and the v1.3report has to display in the right hand side of the same work sheet.
    Now...If there is any addition happened in v1.3 report,then that cell/data should display as a green color in that report.
    If any deletion happened in v1.3report then that should be in the red color.
    If any modification happened in v1.3 then that should be in the yellow color.
    If there is no difference then that should display as it is.
    the thing is that, the both the reports (v1.2 and v1.3)should display side by side in the same worksheet with the format and everything........only the difference should be highlighted.
    Template is same for both the reports..
    To display the data for both versions i think i can generate the template side by side of both in the same worksheet.
    Now, My question is how to find the difference of data in the RTF Template for both the versions
    Can anybody assist me?
    Thanks,
    Edited by: user753355 on Jun 9, 2009 12:03 AM
    Edited by: user753355 on Jun 9, 2009 12:06 AM
    Edited by: user753355 on Jun 9, 2009 12:16 AM
    Edited by: user753355 on Jun 10, 2009 3:59 AM

  • Cumulative key figure and non cumulative key figure

    Hi BW Expertz
    Could any one give me the clarification about cumulative and non cumulative key figures .Why we go for cumulative key figure and non cumulative key figure.If any docs could u just mail to the following [email protected]
    Thanx In advance
    Best regards
    sankar prasad

    Cumulative values are those key figures (KF) that are cumulated using all characteristics, thus also using time.
    Ex: Sales revenue, Quantity....
    Non-cumulative values are those key figures that are measured in relation to a period in time; they cannot be meaningfully cumulated over time. Non-cumulative values are summarized over time using so called exception aggregation.
    Ex: Number of employees, Inventory, Stock prices, Account balance,.....
    AGGREGATION TAB
    Non cumulatives are evaluated by non-cummulative values. Non-cummulative values are special key figures that are different from other key figures (cummulative values) in data transfers and saving as well as in aggregational behaviour. These are measured in relation to a period in time; that is to say, they cannot be meaningfully cumulated over time. Non-cumulative value are summaraized over-time using exception aggregation.
    Non-cumulative values such as 'number of employess' are cumulated using characteristics such as 'cost center'. It does not make any sense, however, to cumulate the number of employees using different periods. The result at the end of any particular period would be the sum total of number of employees for each posting during the period. This would of course be wrong.
    Instead, the aggregation of the KF can be defined as exception aggregation wherein an additional references characteristics is utilized to tell BW which value to use during the period, in this case, 0CALMONTH is used, in the above example, to indicate that only the last value of 0HEADCOUNT, updated by costcenter, is to be taken for any calender year and month.
    Cummulative vs Non-Cumulatives
    The purpose of non-cumulatives is to optimize the data transfer in BW, the data retention and the database access. The data transfer from OLTP to BW is minimized and only the meaningful data is saved and processed.
    It is recommended that you use non-cumulative values for areas that dont change frequently such as warehouse stock or number of employees.
    Non-cumulatives are modeled in BW using a non-cumulative value with the fields belonging to it for storing the non-cumulative or for inflows or outflows.
    Non-cumulative values are stored with special KF that differ in terms of data transfers and aggregational behaviour.
    Features of NON-Cumulative Values Transfering and Saving Data:
    - NC values are mapped uisng one KF for NC changes or two KF for inflows and outflows.
    -NC are transferred in an initialization run and the change runs that follow (initialization can also be omitted here)
    - A non-cumulative value always has a time-related exception aggegation.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.htm
    with Example
    Re: Non-Cumulative keyfigure example
    Re: Types of non-cumulative keyfigures
    /community [original link is broken]
    /community [original link is broken]?forumID=131&threadID=29557&messageID=273049
    /community [original link is broken]?forumID=131&threadID=111914&messageID=1248243
    ****Assign Points If Useful*********

  • Restricted & Calculated Key figures and Structures

    Hello Gurus,
    I'm using a BW Query to create my universe and all I see is a class called Key Figures and few objects. I don't see my restricted and Calculated Key figures.
    Also I want to understand how are the Structures in BW Query brought into Universe? All I see is a column class and row class with corresponding objects in it.
    Environment: BO XI 3.1
    Appreciate your help.
    Regards,
    Vijay
    Edited by: vijay dwivedula on Jun 12, 2009 7:46 PM

    Hi Ingo,
    Sorry for getting back a little late on this issue. I've been trying to fix other issues. I'm creating my report out of BW Query and I'm not able to see all the Restricted Key Figures. Also when I try to create my report out of existing key figures and verify the data with BW analyzer the data seems to be different.
    What happens is in my universe I've two classes naming Rows_xyz, Column_abc etc and there are like 25 objects in Rows_xyz when there are supposed to be like 60 key figures and in Column class I have a single object. When I pull in this coulmn obect and pull like 3-4 key figures (which I made sure have data from BW Query Analyzer) doesn't return any data. It doesn't even throw an error as No data to fetch.
    I took the MDX Query that is generated by this report and ran it on the backend and see that there is no data even there. But from the BW Query Analyzer I can see data for this Column and the key figures that I pulled in the report.
    Thank you for your help
    Vijay

  • New Key figures and Macro updates

    Hi,
    Is there a way to ensure that a change in the data view design  by adding additional key figures and changing the positions of the key figures/macros DOES NOT result in changes in Macros already present. This seems a little ridiculuous when i compare this to spreahseet functions, where only fixed references in the cells  are impacted by changes in rows and columns, adding columns and deleting rows etc, else the formulas/macros in excel adjust automatically. The Macros in my planning are adjusted and deactivated after inserting some more key figures and shuffling some up and down to organize the book for some new functionalities. Is there a report/technique to reset the macros so that they work as intended with proper references as defined.
    Regards,
    AS

    Hi
    As Somnath says this is unfortunately the "normal" behaviour of the system. The macro workbench basically allocates a number to each key figure internally, so if new key figures are introduced, or even if you change the order of key figures in the data view, then this can affect the macro functionality.
    As long as the new key figure is introduced and placed at the end of the list in the data view then this will not normally affect the macro, it just needs re-activating.
    I find it frustrating when I have to re-order key figures in a data view then I have to check all macros are still working correctly and that the key figures used in the macro are the correct ones but unfortunately SAP will just say "as designed"!! 
    Regards
    Ian

  • To compare two internal tables and delete records

    Hi friends,
        I have to compare two internal tables and should delete the records which is not present in both the tables. Reply me as soon as possible.
    Thanks.

    Hi Nagarajan,
    1. I don't think there is any direct (one-shot statement)
        way to achieve this.
        one has to do by writing some logic.
    2. Loop at ITAB1.
         Read table ITAB2 with key Field1 = ITAB1-Field1.
         If sy-subrc <> 0.
         delete ITAB1.
         endif.
       Endloop.
      Do the same again with ITAB2.
       Loop at ITAB2.
         Read table ITAB1 with key Field1 = ITAB2-Field1.
         If sy-subrc <> 0.
         delete ITAB2.
         endif.
       Endloop.
    3. If any better way is found, i will let u know.
    Hope it helps.
    Regards,
    Amit M.

  • What is diffrernce between key figures and characteristics?

    Hi all,
    I am a newbie to SAP BI....i am doing Masters in ERP(SAP)....I have confusion about what is basic difference between key figures and characteristics?
    Why do we have to define attributes in characteristics?
    If any one can refer me a thread that answers my questions or explain with very lucid example I will highly appreciate it.....please answer this question as I have just spend 4-5 months studying BI and have not really implemented in the Industry but we do have access to SAP BI where we perform tutorials....
    Also please let me know the links to materials where basics of BI are explained in a very simple way.....
    Thanks,
    Regards,
    Rahul

    KF is anything which can quantitatively measured: Amount, Number, Value, Price... whatever you want to measure is called Key Figure. This key figures are also called KPI (Key Performance Indicator). If you want to know the number of sales orders, the number of deliveries, the amount of deliveries... all are key figures
    And to add to that, key figures are also divided into two:
    Cumulative KF: Like I said, amount, value, price
    Non-cumulative KF, this is different kind of key figures which shouldn't be summed up, for example: Age, Inventory, Number of Employees.  When  you measure this key figures, you don't add the age of every body, because that doesn't make any sense, but adding the sum of all deliveries, or adding all Sales does make sense, that is the difference between the two key figures.
    Characteristics: are anything which couldn't be quantitatively measured: material, customer, plant, employee ID and so on...
    Aways, in BI you measure the KF against the Key figures..
    thanks.
    Wond

  • Definition of Non cumulative Key figure and web template

    Hi all,
    Can anyone define a Non cumulative Key figure and a web template.
    Thanks in advance.

    A non-cumulative is a non-aggregating key figure on the level of one or more objects that is always displayed in relation to time.Examples of non-cumulatives include headcount, account balance and material inventory.If the non-cumulatives change infrequently, you should choose non-cumulative management with non-cumulative key figures.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    for webtemplates you can info in the following
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/b26a3b74a4fc31e10000000a114084/content.htm

  • Restricted Key Figure and : Change Variable in WAD

    Hi everybody,
    I have a restricted key figure in my query, which is restricting all sales volumes of a product by time variable.
    I am using this restricted key figure instead of a real filter on the whole query because I have to view the total volume of this product and the volume in this year.
    This works very well, but I have no possibility to change the value of the time variable in the restricted key figure in WAD by a generic navigation block.
    How can i do this?
    Thanks,
    Alex

    Hi...
    The Web item Generic Navigation Block displays the navigational state of a query view in the Web application in the form of a table. All characteristics and structures in the query view are listed in the table and their filter values are displayed. You can change the navigational status of the query view. You can filter according to single values and remove the filter again.
    You want to see the results in tabular form and to be able to navigate
    through those results using key figures and characteristics.
    1. From the Start menu, open the Web Application Designer and start the Web
    Application Wizard
    a) Choose Start &#8594; Programs &#8594; Business Explorer &#8594; Web Application
    Designer &#8594; Tools &#8594; Wizard.
    Choose Next to skip the start page.
    2. Select the Generic Navigation Block item and accept the default settings for
    this item.
    a) In the Select Web Item dialog box, choose Standard Items &#8594; Generic
    Navigation Block, then select Next to transfer the item into your Web
    template.
    3. Assign the query Customers/Sales  as a Data Provider
    to the Generic Navigation Block web item. After assigning the Data Provider,
    accept the default values for the item attributes.
    a) Choose Query.
    b) The Open Query / View dialog box appears.
    From the Roles, select the query for Reporting&#8594; Unit: BEx
    Web Application Designer &#8594; Lesson: BEx Web Application Wizard &#8594;
    Exercise &#8594; Customers/Sales .
    Choose OK. The dialog box closes and you return to the Web application
    Wizard. Choose Next to reach the Edit Attributes dialog box. Since you
    want to accept the default properties of the item, choose Next.
    c) In the Overview dialog box, you see all the items you have selected so far.
    Add the Table Web item to your Web template and accept the suggested settings
    for this item.
    a) In the Overview dialog box, choose Add Item to add an additional item to
    your Web template. In the Select Web Item dialog box, select Standard
    Item &#8594; Table.
    Choose Next in order to transfer the item into your Web template.
    5. Assign the same Data Provider to this item as you did for the Navigation Block.
    Accept all the default settings for this item. Arrange the Web template to have
    the Generic Navigation Block before the Table.
    a) Both items in the Web template use the same Data Provider. Therefore, you
    can use the same entries for this item. Choose Next.
    b) Leave the properties of the table item unchanged. Skip over the Edit
    Attributes dialog box by choosing Next.
    c) Both Web items now appear in the Overview dialog box. Change the
    sequence of the two web items so that the Web template starts with the
    Generic Navigation Block. Use the up and down arrow icons to move your
    web items. Choose Next.
    6. Save the Web template.
    a) You do not have to make any entries in the Save Web Template dialog box.
    Choose Save to save your Web template.
    Save the newly-created Web template in your Favorites.
    give Description: ..................
    give Technical name: ...........
    7. Display the Web template in the browser.
    a) Choose Display theWeb template in theWeb browser .
    8. Exit the Web Application Wizard.
    a) Choose Exit. The Wizard window closes and the Web template is opened
    in the Web Application Designer where you can make additional edits
    as required.
    with regards,
    hari kv

  • Selection Key Figures and Key Figures

    I am building a query and I need to combine Key Figures and Selected Key Figures so that they appear on the same row.  However, when I try to do this I get a message that you cannot put the elements in the same structure.  However, if I put in different structures they will not be aligned.  How can I overcome? Thanks

    if i undertd your issue correctly..u have one KF struxture and one characteristic structure.In characteristic structure,u r having restricted characteristics and u r tyring to have a KF in char structure???if so,it is not possible..where exactly u r getting error?it will not allow you to drag and drop Kefigure into Query deisgner except into KF structure..
    in char structure,if u r gng with new selection,u will not have option to select any KFs.
    it could be better if u provide an example rather than explaining theoritically.
    please note that u cant have a KF in characteristic structure .u can have a char in KF strcucture with a KF combination i.e. Restricted KF.
    Message was edited by: Murali

  • Virtual Key figures and Chars

    Can someone explain me what are virtual key figures and how to populate data for them.
    Regards
    Kunal

    AHP,
    Thanks for the help, one last question, i posted same on sdn week back, there was no proper response. I have standard LO datasource and enhanced with around 25 fields, the major problem is none of these fields are delta capable and they are coming from 13 diff tables, with great difficulty i could tie the relation between them. Most of the fields change and none them are picked,
    is there anyway i can write a program for all this fields for delta enabling. The last option which iam left is to load the data every week as full load though data volume is less, which is not practiced.
    Regards
    Kunal

  • Difference between Key figure and a Key field?

    Difference between Key figure and a Key field?
    Thanks,
    Pramod

    Hi,
    Key fileds as just like your primary key of R/3 Tables.
    Key figure are type of info object which is used to hold amout,value for your info providers..
    check this link for key figures and there types...
    http://help.sap.com/saphelp_bw31/helpdata/en/80/1a63b3e07211d2acb80000e829fbfe/frameset.htm
    under "Tab Page: Aggregation". you can be able to find three aggregation options:
    Minimum
    Maximum
    Sum
    Types of non-cumulative keyfigures
    Regards,
    Viren.

  • Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Thanks for prompt reply, yes we have tried that but have now closed down the browser we where the photos were.
    We haven't sent up time machine, do you know whether there is any roll-back function on a Mac?
    Thanks

Maybe you are looking for

  • Xsl:if creates unwanted newline [SOLVED]

    Hi there. I'm making a report, with some images. This works fine (it's just an image of a checkbox, base64 data..). However, when printing many lines, I only want to print the checkbox if it's actually text there. Short explanation: Q1 Q2 Q3 Q4 Q5 I

  • Printing individual forms in pdf file

    I have multiple interactive forms in an Adobe X Pro file.  Is there a way to edit the printing so the user can print an individual form rather than selecting the related page numbers?

  • Planned Order for Purchased Parts W/o using MRP

    Hi All,    I want to create the New Planned Order which I want to convert it to Pur. req. and then further convert it to Purchase Order.     But I don't want to run the MRP for the same. And also we have maintained ND (No planning) in MRP1.    It is

  • --eh-frame-hdr

    I'm trying to install Oracle 9ir2 on Red Hat 9. I keep getting to a point in the linking portion where I get this error: Error in invoking target install of makefile /opt/ora9/product/9.2/plsql/lib/ins_plsql.mk I tried changing: LD_SELF_CONTAINED="-z

  • Soa-infra runtime connection error Error getting the soa-infra connection

    Hi , I am getting below error when i click soa infra in em console. " soa-infra runtime connection error Error getting the soa-infra connection details." soa-infra runtime connection error Error getting the soa-infra connection details. Hide Addition