Trying to create non-numeric key figure in Query

Hello, I am trying to add a formula into my BW Query that will return a non-numeric value.
My cube will be used like a standard BW cube 90% of the time, but there is one query request that wants to display atomic data and have non-numeric categories determine at time of query run.
Example:
Field A has integer values
Key           Value
Record 1     -1
Record 2      2
Record 3      6
I want to add a calculated field with the following logic:
If Value is <= -1 then display "Early" else if Value is >-1 and <=5 then display "On-Time" else if Value is > 5 then display "Late".  The -1 and 5 values will be replaced with variables that will be required on the selection screen.
This would return a grid as below:
Key           Value    Calculated Field
Record 1     -1           "Early"
Record 2      2           "On-Time"
Record 3      6           "Late"
I haven't been able to figure out how to set up this field.  Any ideas?

Hi,
check these help links
http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/95/1ae03b591a9c7ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6305e07211d2acb80000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6312e07211d2acb80000e829fbfe/content.htm
It's a big topic so it's not possible to write everything here.
You can search the forums also.
Thanks

Similar Messages

  • How to create non cumulative Key Figure.

    Friends Let me know steps for creating Non Cumulative Key Figure, can any one tell me where can i get documents for this. points will be rewarded

    Hi,
    check these help links
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/95/1ae03b591a9c7ce10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6305e07211d2acb80000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6312e07211d2acb80000e829fbfe/content.htm
    It's a big topic so it's not possible to write everything here.
    You can search the forums also.
    Thanks

  • Creating a resticted Key Figure in Query Designer (3.5)

    Hello, hope your all well!
    I'm trying to create a restricted key figure that's related to the publication date of one of our titles.
    I've tried to create a Structure that shows one text result if the publication date is the same or greater than 01.01.2008 and another if it's less. However, in my results it seems to be bringing two results for each line, one with each text result.
    Could anyone point my in the right direction?
    Have a fantastic weekend,
    Rhys

    Sorry, I'm new at this; what do you mean by inputs?
    I'm trying to create something in the query designer that displays one text result if the result is lower than a certain number and another if higher,
    Hope that makes sense.
    Take care!
    Rhys

  • Do Any One Can explain How to Create Non-Summing Key Figure??

    Hi Guru's,
    Can Any buddy explain how to create a Non-Summing Key Figure?
    Details:
    I am creating Three Key Figures, One of them are Ticket Number's.
    Ticket Number supposed to be a Characteristic, but I was asked to do it as a Key Figure.
    If I create it as normal KF, then the Ticket Numbers will be summed, isn't it?
    Your Help much appreciated.
    Regards,
    BH

    Hi,
       If you are going to use that keyfigure in ODS, in Update rule you are having the option 'OVERWRITE' .
      choose Overwrite for that keyfigure instead of 'Addition'.
    rgrds,
    v.sen.

  • How to create non additive key figures

    I don't want to add unit price in my transactional data that is loaded in my infocube. I automatically adds the unit price how to previent this in modelling the key figures.
    Thank you.
    Joe

    This cannot be prevented. Key Figures will get added up.
    One way around it is to store the quantity and the value associated with it and calculate the price at run time.
    Other option is to store the price as a characterstic. If you need to use it in the queries, then use a formula variable with processing as replacement path.

  • Trouble with Non Cumulative Key Figures

    Hi all of you,
    I am working on Non Cumlative Key Figures, (NCKF). I have the data like this
    Sales rep S100 visited SHOP S1 on 1st Jan and 10th Aug, and transacted worth         100 and 500
    SHOP S2 on 1st Mar and 1st July and transacted worth 200 and 300
    SHOP S3 on 3rd Sept. and transacted worth 400
    Sales rep S200 visited SHOP S1 on 1st Jan and 1st Aug and transacted worth 100 and 300,
    visited SHOP S2 on 1st April and transacted worth 200     
    I created Non Cumulative Key Figure in the following manners:
    In modeling in InfoObjects I double clicked on my key figure BILLAMT and selected the Aggregation tab. I selected Counter (all values) for Exception aggregat. By default Agg. Referen. Char was 0calday. I then activated the info object and went to BEx. Here I took other IOs like Salesrep, Shop NUM and Dt. Of trans in rows and Bill amt in columns and executed the report. I am not getting the output how it should come for NON cumulative key figures.
    But when I right click the key figure Bill Amount in BEx in change query mode and select properties. I go to the option Calculate result as and selected the option as “Count all values”. And in another option Calculate Single Value as I selected the option “Count all values”. I said OK, saved the query and executed it. Now the output is similar to how it comes for a Non Cumulative Key Figure query but I am unable to understand the output.
    Now my doubt is where do we set the properties for Non Cumulative Key Figures? Is it in the Administrator Workbench under Modelling under InfoObjects?
    OR
    Is it in BEx change query mode by right clicking on the key figure and selecting properties?
    Please explain.
    Thank you
    TR.

    As for the setting for Non Cumulative key figures...the default setting is done in the Key Figure properties, where u can define the Exception Aggregation. This property is used as such in the query, but if suppose u are getting the normal aggregation in the query , what you could do is "Create The Key Figure as Global Calculated Key Figure in Bex" and go to properties...click on the Button for aggregation ..select the aggregation and define with respt to 0CALDAY ..here.
    Hope this helps.

  • How to create a non-cumulative key figure & How to make a info cube as so

    Hi Experts,
    How to create a non-cumulative key figure & How to make an info cube as non-cumulative cube?
    Can any one kindly provide me the steps we need to performe?
    Thanks in Advance,
    Raj

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • Integrated Planning and Non-cumulative key figure

    Hi
    I´m creating an Integrated Planning application and a problem has occurred. The users want to plan on inflow and outflow and at the same time have a row with the total sum in the same layout (they are planning on 0CALMONTH and 0ORGUNIT) This can e.g. be solved through use Web Application Designer with one planning query and one traditional query.
    Any way. I have created a non-cumulative key figure with an inflow- and an outflow key figure. The problem is that the non-cumulative key figure starts working first when I change the planning mode from plan status to load status. I could use function modules, to change the status, behind the save button but there are several users who are planning at the same cube at the same time and I don´t want to lock the others from planning.
    How to solve this?
    - Is it possible to restrict the switching, from plan to load, by setting some kind of filter at the users org.unit? (0ORGUNIT is an authorization object)
    - Is it possible to create a process chain and then load the data to another cube for reporting at just this key figure? And also here have a filter at the org.unit
    I will gladly get all kind of idea and input to solve this problem. Maybe there is some other way to go than using non-cumulative key figureu2026

    Thanks for your answers
    I have tried different scenarios and I will use a u201Dsave-buttonu201D. In the save-button I use the commands SAVE_DATA and EXECUTE_PROCESS_CHAIN. The command u201CEXECUTE_PROCESS_CHAIN starts a process chain that switches from plan mode to load mode and then back to plan mode again.
    One new problem has arisen. The non-cumulative key figure is updating if an existing value (inflow- or outflow) is changed. But if an input is made to an empty cell, without value, nothing happen when I press on the start-button. BUT if I refresh the browser the non-cumulative value is updated!!!
    Is there any command in WAD that refresh the whole page? If so I can include it in my start-button.
    If not, any sugestion on how to solve the problem?
    Best regards
    Mikael

  • Include non-cumulative key figure in InfoSpoke

    Hi Experts,
    I am trying to create InfoSpoke for AR Line Item Cube(0FIAR_C03) with all infoObjects.
    This includes non-cumulative key figures such as
    0DSCT_DAYS1 (Days for first cash discount)
    0DSCT_PCT1 (Percentage for first cash discount)
    However, InfoSpoke run failed and following messages is displayed.
    “Error in SQL Statement: SAPSQL_ILLEGAL_AGGREGATE NOP”
    Does the infoSpoke not support non-cumulative key figures?
    It worked fine when I remove all the non-cumulative key figures from the InfoSpoke.
    *I certainly set 1 for 0RECORDTP(Record Type) in the selection tab as SAP Help instructed
    Thank you for your answers in advance.

    Try OSS Note Number: 850428.

  • Problem with Non-cumulative key figure.

    Hi all,
    I am facing the problem with the Non-cumulative Key Figure (Quantity). I have created and loaded data to the non-cumulative InfoCube. <b>This cube is defined by me to test the non-cumulative key figure.</b>
    <b>In BEx query the non-cumulative key figure and cumulative key figure (Value change) both display same values, i.e. non-cumulative key figure contains the same values which we have loaded for cumulative value change. Non-cumulative key figure is not calculated based on associated cumulative key figure.</b>
    I have done the following while defining the non-cumulative InfoCube:
    1. Created a non-cumulative key figure which is associated with a cumulative key figure (value change).
    2. Loaded data to non-cumulative InfoCube from flat file.
    3. Compressed data in non-cumulative InfoCube after the load.
    Note:
    1. Validity area is determined by the system based on the minimum and maximum date in data.
    2. Validity determining characteristic, 0CALDAY is the default characteristic selected by the system.
    Is there any other settings to be done?
    Please help me in resolving this issue.
    Thanks and regards
    Pruthvi R

    Being a non-cumulative KF, total stock is automatically takes care of that.
    Try putting all the restrictions which you have included for total receipts and total issues, for eg,  restrict Total Stock with the movement types used in Receipts as well as Issues.
    Check and revert.
    Regards
    Gajendra

  • Using Non cumulative key figure in Real time cube

    Hi gurus,
    I have used non cumulative key figure in a real time cube and when i tried to enter some data using RSINPUT ,it is giving an error and the data is not getting saved.
    Can anyone please tell me how to use the Non cumulative key figure in the Real time cube .
    Thanks in advance
    Regards,
    Ravikanth

    Hi Ravi,
          Please make sure that when you use a non cumulative key figure iun your real time info cube, then choose a time reference characteristic for that key figure.
    Then, this time reference characteristic applies for all the non-cumulative values of the InfoCube and must be the u201Csmallestu201D of the time characteristics present in the InfoCube.
    For more detaisl, refer to the [http://help.sap.com/saphelp_nw70/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm]
    Thanks & Regards,
    Balajee.

  • Samples of non-cumulative key figure

    hi experts,
    can u give me samples about:
    1> in what scenario should i use the non-***.Value change to create a non-cumulative key figure?
    Characteristic            : HEADCOUNT
    Aggregation               : (here chose sum?)
    Exception Aggregation:(here chose sumation?)
    Agg.Reference Char   : (here chose a 0calday?)
    N-*** with N-*** Value Change
           Non-***.Value Change: (here what to insert?)
    2> in what scenario should i use the inflow/outflow to create a non-cumulative key figure?
    Characteristic            : HEADCOUNT
    Aggregation               : (here chose sum?)
    Exception Aggregation:(here chose sumation?)
    Agg.Reference Char   : (here chose a 0calday?)
    N-*** with In- and Out-flow
                               Inflow  : (here what to insert?)
                               Outflow: (here what to insert?)

    hI
    1> in what scenario should i use the non-***.Value change to create a non-cumulative key figure?
    Characteristic : HEADCOUNT
    Aggregation :  sum
    Exception Aggregation: sumation
    Agg.Reference Char :  0calday-----* U CAN GIVE 0CALMONTH too to view head count month wise.*
    N-*** with N-*** Value Change
    Non-***.Value Change: * If u are maintaining delta value ie if no. of employees joined is 10 and resigned is 6, then delta value is 10-8=2*
    in this situation use this type.
    2> in what scenario should i use the inflow/outflow to create a non-cumulative key figure?
    Characteristic : HEADCOUNT
    Aggregation : sum
    Exception Aggregation: sumation
    Agg.Reference Char :  0calday
    N-*** with In- and Out-flow
    Inflow : *Inoobject which maintains no of employess joined *
    Outflow: *Inoobject which maintains no of employess resigned. *

  • How to display Non Cumulative key figure data

    Hi,
    I want to check if there is any data for a non-cumulative key figure. While i am trying to display the data from cube or Multi provider, it is not showing this field. is there any way to check the data for this field other than using reports.
    Regards,
    Vishnu

    Hi,
    Take Eg: Quantity of valuated stock - 0VALSTCKQTY it is combination of
    Quantity Received into Valuated Stock- 0RECVALSTCK and
    Quantity Issued from Valuated Stock-   0ISSVALSTCK
    In report you can see only  0VALSTCKQTY Keyfigure.
    And the above Two Keyfigures are filling by Routines using Process Keys.
    This is for 0IC_C03 and data you can check in MB5B Tcode in ECC.
    Check;
    Note 745788 - Non-cumulative mgmnt in BW: Verifying and correcting data
    Thanks
    Reddy

  • Regarding Non-Cumulated Key figures

    Dear All,
    I wanted to create Multiprovider which includes infocube having Non-cumulative key figures .When I am including that Non-cumulative key figure in the Multiprovider , I am getting an error "Inconsistencies were found when checking MultiProvider ZMULTIPTP"
    detail fo this error is
    Define the characteristics of the validity table for non-cumulatives
    Message no. R7846
    Diagnosis
    The InfoCube contains non-cumulative values. A validity table is created for these non-cumulative values, in which the time interval is stored, for which the non-cumulative values are valid.
    The validity table automatically contains the "most detailed" of the selected time characteristics (if such a one does not exist, it must be defined by the user, meaning transfered into the InfoCube).
    Besides the most detailed time characteristic, additional characteristics for the InfoCube can be included in the validity table:
    Examples of such characteristics are:
    A "plan/actual" indicator, if differing time references exist for plan and actual values (actual values for the current fiscal year, plan values already for the next fiscal year),
    the characteristic "plant", if the non-cumulative values are reported per plant, and it can occur that a plant already exists for plant A for a particular time period, but not yet for plant B.
    Procedure
    Define all additional characteristics that should be contained in the validity table by selecting the characteristics.
    In the example above, the characteristics "plan/actual" and  "plant" must be selected.
    The system automatically generates the validity table according to the definition made. This table is automatically updated when data is loaded.

    Hello,
    See this Validity table for non-cumulatives in a self defined cube
    Thanks
    Chandran

  • Intregarted Planning Design for Non-Cumulative Key Figures

    Hi,
    I have a requirement where i have to design a planning layout for a Invenotry Scenario (Using Non cumulative Key Figures).
    What should be the factors i should consider in my design specifically for non cumulative ke figures and how it is different from design for a regular (cumulative) key figure
    Thanks
    Rashmi.

    Thanks for your response. My requirement is to design a retail inventory planning application in which one of the KPI's planned is stock price which is a non cumulative key figure and i am trying to figure out how than can be planned if non-cumulative key figures are not allowed in planning
    Thanks
    Rashmi.

Maybe you are looking for

  • What qualifications would i need to be an apple genius?

    What do i need??

  • Video streaming faster on 3G than WIFI?

    I've noticed that when watching Youtube or QT streams that they are much faster to load on the cell networks than on WIFI. Correct me if I'm wrong but it looks like the iPhone streams a higher quality video when connected to the WIFI? This is all goo

  • Performance of ABAP program

    How do you take care of performance issues in your abap programs?

  • Export to Excel - currency problem

    Post Author: bontempi CA Forum: Exporting I'm using Crystal Reports 8.5 with Visual Basic 6.  If I export to Excel using either the built in button on the report viewer toolbar, or using the Export function then any £ symbols are changed to $ symbols

  • Deleting data from an Infocube in BW using ABAP program?

    Hi Everybody,                    I have to create a ABAP program in SE38 which, on execution will delete selected data from a Cube in BW module. How to achieve it. Is there any function module that can do so? Eagerly waiting for your suggestions. Reg