Restrict Key Fig Value

Hi,
I have  two key fig which i want restrict with between value of that key fig and after i want to take that count of the both key fig.
Ex
Quantity -
in between 10 - 20---its count
Quantity---in between 40 - 80---its count
Can any one help this
Thanks
Rama

You can create Formula Key Figures for each of this range. Use the Boolean Operators in your formula as below.
FKF1 : ( 'Quantity' <= 10 ) OR ( 'Quantity' >= 20 )
FKF2 : ( 'Quantity' <= 40 ) OR ( 'Quantity' >= 80 ).
And in the propeties of the key figure make the setting, calculate result as summation.

Similar Messages

  • Bringing in Calculated and Restricted Key Figs

    How do I bring in calculated and restricted key figs from one query to another in BI 7.0? When I created these key figs it said that they were reusable.
    Thanks

    Hello Atif
    When you make CKF or RKF at query level which means right hand side in your column these are local to your query and not useable.....but when you make them global by defining in left hand side they can be reused in other query....so when u willl create another query...these CKF and RKF will be available...just drag and drop them they will work
    Thanks
    Tripple k

  • Creating restricted Key Fig: characteristic Not availlable for selection

    Hi,
    I am creating a restricted key figure  and some of the restricions values are not available fr selections. When I try to type the missing options it only enter them as the first 2 characters.
    In one case it basically gives a message that it is not in the master data and but that it will allow for selectinons but I needed to go to the master data to make entries.
    What could be going on here?
    Thanks

    hi Amanda,
    would make sense if you want to restrict with the values that exist in infoprovider only or from all master data (if exist in master data and not in infoprovider, no data come when reporting), if you restrict with value not exist in infoprovider then no data will be displayed.
    first 2 character .. your characteristic may have length 2 only, it's key, try to right click 'technical names'.
    when restrict, you can click 'display other values' button (yellow right arrow),
    then there's option to restrict only infoprovider.
    however, of course we are allowed restrict with values that not exist,
    data in bw development/quality may differ from production,
    we may want to restrict values that exist in production but not in dev/QA,
    and we need to transport the query from dev to QA/prod.
    hope this helps.

  • Displaying Key Fig values differently with german & english logins

    HI,
    our BW Datamodel, reports etc have been built on a german system, i.e. with german language (DE) login. Hence Key Figs in the BEX Reports are displayed as 12.345.678,000 Euros for example. We need to make the same reports available in English, i.e. with an english language login (EN). The KeyFigs need to look like 12,345,678.00. How can I achieve this?
    Pls help. Thanks.
    SD

    Hi Sebastian,
    You can do this in the User profile settings for the User.
    Goto System Menu - > User Profile -> Own data . In the Defaults tab you can change the Decimal notation.
    Regards,
    Hari
    Edited by: Hari Krishnan K on Jul 12, 2010 7:32 PM

  • Data loading with routine displays zero for key fig values

    Hi all,
    my source field is amount...........and target field is research amount...........
    if i restrict amount(source field) with cost element(coaeom7) and value type(010 then it is equal to target field research amount.
    for this my code is
    IF COMM_STRUCTURE-VTYPE = '010' AND
       COMM_STRUCTURE-COSTELMNT = 'COAEOM12'.
       RESULT = COMM_STRUCTURE-AMOUNT.
    ENDIF.
    but when i load the data it displays only zeros.........
    Pleas suggest
    Regards,
    Raj.

    Hi Raj,
    Do u need costelement values other than 'COAEOM12' into the target.
    Are you writing this routine in Start Routine/End Routine. if its BI.7
    If you are loading data from soucre cube/DSO to target structure, in the transformation you need to write start routine, before which you need to map amount field, cost element,and value type from source to Research amount in target,
    The you need to write the code
    If source_packake cost element = COAEOM12'  and source_packake value type =010
    then research amount = amount
    End If.
    i hope this will solve your problem.

  • Creation of restricted key figure

    hi experts,
    when i will create restricted key figure and calculated key figure for reporting.any one suggest that.
    regards,
    balu.

    Hi,
    Restricted Key fig:
    By using restricted key fig you can restrict only one key fig column based on the value of char.  Assume that you have a query with key figs Price, Qty and Revenue.If u  restrict Revenue based on chars i.e either time or customer Id or Material Id etc only that revenue key fig coulumn will be effected.
    Calculate Key Fig:
    Calculated Key fig is nothing but creation of new key fig using existing key figures. Assume that you have a query with key figs Price and  Qty only. If you want to find Revenue as 
    Revenue = Price * Qty, go for Calculated Key figure.
    Assign points if  it helps u.
    Cheers....
    Sk Babu

  • Query Designer restricted key figures using a prompt value

    Hallo Experts,
    I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
    a) KF1, Date1
    b) KF2, Date2
    User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
    How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?  
    Many thanks
    Mamadu

    Hi,
    I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
    First create one user input variable on your date field say for eg calday.
    Now restrict your KF1 with calday and choose that vairable which you created.
    For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
    So restrict this KF2 with calday and use the same variable with offset of +1
    I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
    If its month then replace calday with calmonth..
    Hope it helps.
    Regards,
    AL:
    Edited by: AL1112 on Dec 21, 2011 9:42 AM

  • How to restrict the Null Values for Key Figules in the Bex Query

    Hi Friends,
        I want to restrict the Null values of a perticular key figure in the Bex Query Output.
    I will explain in details. i have 3 key figures in my query.. let us assume.. key1 key2key3
    key1           key2                key3
    4                4                   100.00
    5                0                   200.00
    1                0                    19.00
    0                1                    10.00
    i don't want to see the the records for which key 2 is 0.
    we have a setting in the Bex Query for restricting the Zero values in the query properties. If we enable that setting it will show
    4               4          100.00
    but i want the report to display..
    4               4           100.00
    0               1           10.00
    can any body guide me. <b>i want to display the values if key2 <> 0.</b>
    Regards,
    Nagesh.

    Hi AVR,
    nice to see reply.
    can you eloborate your view...how can i put the condition.
    <b>i want to put the condition key2 <> 0.</b>
    Regards,
    Nagesh.

  • How to show filter values of restricted key figures in BEx Analyzer?

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

  • Need help for report Variable to restrict the key figure value...

    Hai gurus,
    Now i have data in the cube as follows...
    Reuisition     HR INTW date     LM INTW DATE     TEL INTW DATE     HR Count     LM Count     TEL Count
    a1              01.01.2010     02.01.2010             01.04.2010                 1                1                 1
    a2              02.02.2010     03.02.2010             02.02.2010                 1                1               1
    a3              03.03.2010     04.03.2010             03.03.2010                 1                1               1
    when i execute the report it shd ask the prompts with Date interval as in the below...
    HR INTW date
    LM INTW DATE
    TEL INTW DATE
    if i dont give any interval in the variable prompt it should display all the recors as follows
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                   1             1
    If i give LM INTW DATE interval as    01.01.2010 to 31.02.2010
    then it should display all the other counts as in the output_1 , but for LM count for a3 it should show 0.
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                 0                  1
    that means wherever i restrict the data depending on the variable that only that interval key figure value shd be in the report..
    for this scenario, which variable i need to use... and how i need to restict the KFig value in the report...
    Right now i am getting like this but it is restricting the records,,, where it should not restrict the records...in the report..
    Please guide me for the same...
    If any concerns about the scenario please let me know...
    Regards,
    VJ

    hi chowdary ,
    could you tell me the var. creation in detail and  with which reference object i need to create ...
    whether i need to take LM_DATE / 0DATE while creating variable...
    and i kept this variables it in filter section, based on the LM_DATE Object.
    i have tried both.. y'day when i take 0DATE it giving me some results...
    But at the same time it is restricting the records..
    i think it could be a problem with var.. properties?
    need more inputs pls.
    Regards,
    VJ

  • Values are aggregated at query end hence key fig gives incorrect output

    Hi expert,
    Support team have faced the issue at query level. The system is migrated from 3.5 to 7.0.
    We have 3 key fig as A1, A2, A3 and it contains zero as well as non-zero values.
    We need to ignore zero values and only non-zero values should be considered to calculate the KF.
    Please suggest.
    Thanks in advance.

    Amar,
    It's ok supress and delete the records which have zero KF values.
    there is no purpose in having them in the cube if you don't use them for the reporting (cumulation of the all the records)
    as far the facts are empty in the report, neither they help in decision making nor  they  add any significance.
    So why just have the data for characteristics which doesn't have facts (key figure values). use Zero elimination technique as i said.
    it will also reduce the datavolume in the cube.
    Regards,
    Sudheer.

  • Display an exception on one keyfigure based on the value of another key fig

    Hello all,
    How to run a exception based on some condition i.e
    i want to highlight the sales(key figure) which r less than the  average sales..
    where sales and average sales r keyfigures...
    i also created a cal key fig which has has value 1 if sale > avg sale...
    i.e How do i display an exception on one keyfigure depending on the value of another keyfigure??
    plz reply its urgent...
    thnx in advance...

    Hello Ajay, did you got an answer for your problem? I'm interested...
    Thx Masen
    Edited by: Masen-Fuad Marei on Nov 25, 2009 6:26 PM

  • Problem facing while cumulating the key fig

    Hi to all,Arun & gopi
    The report excecute for current month.
    Forecast values have month starting day to ending date.
    Actual values have month starting date to the present day(system date).
    According to client requirement in layout, i have to show shipmentforecast(day) and shipmenforecast(cumulate) from month starting date to ending date and shipmentactual(day) and shipmentactual(Cumulate) from month starting day to present day(system date).
    shipmentforecast(day) and shipmentactual(day) comes from cube, based on that i created shipmentforecast(cumulate) and shipmentactual(cumulate) using new selection and in properties i selected cumaulte, apply to the result, cumulate along rows.
    while cumulating, shipmentactual(cumulate) is showing corect cumulate values from month staring day to present day(system day), after present day it showing last cumulate value ( present day value) by default to remaining days.
    Even i am restricted the Actual(cumulate) with a customer exit variable( month starting date to system date ), still it showing last cumulate valye to remaing cells ( after present day to end of the month)
    i should not get this.
    In rows i taken 0calday.
    in columns i taken Key figs which are
    1) shipmentforecast(day)
    2) shipmentactual(day)
    3) shpmentforecast(cumulate)
    4) shipmentactual(cumulate)
    5) gap(cumulative) is calculated as ( NODIM ( 'Actual(Day)' ) <> 0 ) * 'Actual(Day)' - 'Foreseen(Day)' and properties i checked the cumulate.
    in filters i taken as Ocalyear/month which is restricted for current month.
    i mean total reprot has to display for  current month  days.
    and forecast(day) and forecast(cumulate) values has to display for whole month.
    actual(day) and actual(cumulate) values has to display for form starting of the month to the current day(system date)
    Please give me help.
    with regards
    m.rajnikanth reddy

    Hi to all,Arun & gopi
    The report excecute for current month.
    Forecast values have month starting day to ending date.
    Actual values have month starting date to the present day(system date).
    According to client requirement in layout, i have to show shipmentforecast(day) and shipmenforecast(cumulate) from month starting date to ending date and shipmentactual(day) and shipmentactual(Cumulate) from month starting day to present day(system date).
    shipmentforecast(day) and shipmentactual(day) comes from cube, based on that i created shipmentforecast(cumulate) and shipmentactual(cumulate) using new selection and in properties i selected cumaulte, apply to the result, cumulate along rows.
    while cumulating, shipmentactual(cumulate) is showing corect cumulate values from month staring day to present day(system day), after present day it showing last cumulate value ( present day value) by default to remaining days.
    Even i am restricted the Actual(cumulate) with a customer exit variable( month starting date to system date ), still it showing last cumulate valye to remaing cells ( after present day to end of the month)
    i should not get this extra values.
    In rows i taken 0calday.
    in columns i taken Key figs which are
    1) shipmentforecast(day)
    2) shipmentactual(day)
    3) shpmentforecast(cumulate)
    4) shipmentactual(cumulate)
    5) gap(cumulative) is calculated as ( NODIM ( 'Actual(Day)' ) <> 0 ) * 'Actual(Day)' - 'Foreseen(Day)' and properties i checked the cumulate.
    in filters i taken as Ocalyear/month which is restricted for current month.
    i mean total reprot has to display for  current month  days.
    and forecast(day) and forecast(cumulate) values has to display for whole month.
    actual(day) and actual(cumulate) values has to display for form starting of the month to the current day(system date)
    Please give me help.
    with regards
    m.rajnikanth reddy

  • Customer Ext Variable is NOT working correctly in the Restricted Key Figure

    Hi all,
       I have created a variable ZVCBLMTH (Period from 01/1996 to Last Month) with reference to
        0CALMONTH  and it will be populated through  Customer Exit and it works fine.
        In the selection for 0CALMONTH, I gave the range as '05/2008' to '08/2008' and this new
        variable  passed the value of  range as '01/1996' to '04/2008' in RSRT.
        The properties of the variable are:
              Type of Variable -  Characteristic, Processing by - Customer Exit, Variable Represents - Interval
              and Variable is - Optional.
              No change in the result after changing the 'Variable is' from Optional to 'Mandatory'.
      This variable is used in Restricted Key Figure to calculate the number of matching records between
       01/1996 & 04/2008 and somehow it is not recognizing this variable and NOT passing the results correctly.
       But, there are records with 0CALMONTH between 01/1996 & 04/2008.   
       How could I test that which value is passed into the Restricted Key Figure for this variable, PLEASE ?
       Thanks in advance.
    Regards,
    Venkat.

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • One Variable 2 Restricted key figures on 2 different Dimensions

    Hi all,
    Here is my problem:
    I have a cube based on SD sales items. I want to calculate 2 retricted key figures on the 0net_value retricted by a date.
    The first key would be restricted by the installation date, and the second one by the cancellation date.
    Those two dates are set using a user input.
    When I try to do this here the error message I get:
    "Variable ZD_CSDATE is used in both (structure) element EL099Z0TL38F14TMC6AL7XKQD, and element EN4ZFAZEYGZ36B06JU04297W5 for various characteristics (0CANC_DATE, 0UCINSTDATE). This is not permitted as the characteristic is required for the F4 value help structure."
    I created 2 variables set by customer exit, this solve the problem but is not convenient at all. So who could use one and only one variable or how can create a variable by copy of another one?
    Thanks
    Matthieu

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    I am sure you can make more than one Restricted Key Figures which are restricted to same variable value for some Characteristic.  And secondly there is no easy copy and paste option to create 2 Customer Exit Variables. You need to find out the ABAP Code written using T-Code: CMODE for the Variable Exit and there you can copy and paste a part of this code to populate new variable. If you check the ABAP Code, you would understand what I am saying.<Br>
    I am more surprised at that F4 Help in the error message. Please investigate more in that direction.
    <Br><Br>Hope it helps.
    <Br>
    Cheers
    Abhijit
    <Br>* It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

Maybe you are looking for

  • Sending mail with multiple dest., one is rejected - mail is rejected, why?

    Hello, I have a problem with my messaging server, while sending mails to multiple users, and one of them does not exist or is overquota. If one of the recipients gets rejected (email address does not exists or is overquota), the email is rejected (ty

  • Want to put  data  in control record of IDOC (Inbound Idoc)

    Hi All For some business reasons so many Idocs are not getting posted into SAP. They are just simply failing.So my client wants report that will give me a list of Idocs that are failed . I want to put document number in the control field so that i ca

  • Cannot checkin/checkout html, js, txt, and jsp files in MS Sharepoint Workspace 2010

    I am having issues checkin/checkout html, js and jsp files in Microsoft Sharepoint Workspace 2010. I can access (checkin/checkout) any files in the actual Sharepoint site, but when I am synchronized to the site in Sharepoint Workspace 2010 I cannot a

  • Background Images Disappearing on External Display

    I have a late model Macbook Air and just upgraded to Mountain Lion.  Since doing so every time my Mac goes to screensaver and then I unlock it, it loses my background image on my external monitor (which I use as my primary when docked).  The only way

  • Simple java game

    I'm trying to create a simple game where you specify where you would like to start in a 2d array, then use directional buttons to move the character around. However, rather than store the value of 's', it stores it's value in the character set.. here