Display only non zero values  in rows

Hi Friends,
                  I have a key figure "X', and it is split over 12 months (aging buckets), by using formula, but I want to filter values with zero values ie I want to display all non zer values only.
This looks like
Apr        100   
May       200   
Jun         200 
Jul            0   
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
In the above example I dont want to display 'Jul' at all, and the rest should be displayed, Wherein all the above are formula(Apr, May,......)
Is it possible ?
If so , what is method.
I tried supress in query properties , Like supress zeros, but it is not working.
Suggest me
Points assured.
Sanjay

Dear Gupta,
                   In my case condition is not working, as I want to display values that ae non zeros. If I am using conditions, none of the values are displayed like Apr, May,Jun, Jul, etc........, I want to display all values except Jul as that values is zero as per my example.
Please suggest
Sanjay.

Similar Messages

  • Display Non-zero values of keyfigures based on a particular value of a char

    Hi Gurus,
    I would like to display only Non-zero values for keyfigures but only for a particular value of a characteristic. For Ex: We have material Group. For a particular value of material group, i do not want to display the zero stock. But for other material groups it should display zero stock.
    I tried to use conditions, but the problem is it suppresses all the zero values for the keyfigure for material group in general and not for a particular value of the material group.
    Is there is any way that i can go about for this scenario. Pls help.
    thanks & regards,
    PS

    Hi
    Create a structure in the rows based on selections on material group. Eg.
    Structure
       Mat grp 1 (restricted to material during selection)
       Mat grp 2
    then add a formula in columns using boolean argument
    e.g (exisisting KF >= 1)*1+0
    Then you can use conditions to elimanate zeros on the new KF.
    Hope it helps
    Edited by: Karin van der Merwe on Feb 29, 2008 8:52 AM

  • Display Non-zero values of keyfigures based on a particular value of a cha

    Hi Gurus,
    I would like to display only Non-zero values for keyfigures but only for a particular value of a characteristic. For Ex: We have material Group. For a particular value of material group, i do not want to display the zero stock. But for other material groups it should display zero stock.
    I tried to use conditions, but the problem is it suppresses all the zero values for the keyfigure for material group in general and not for a particular value of the material group.
    Is there is any way that i can go about for this scenario. Pls help.
    thanks & regards,
    PS

    Hi,
    You can very much restrict your KF on particular values of said material group. For example you material group contains the values like "Blades", "Personal Cares", "Disposables" etc... and you want to restrict your KF on "Blades" only, you can do that.
    Just restrict your KF on Material Group and include the values which you want for restrictions. You can also exclude values from restrictions.
    Hope it help you.
    Yogesh.

  • Non zero values in the extraction of the planning area

    In our DP implementation we have been trying to extract 2 key figures  from the planning area, one of the key figures might have zero values, when we set the indicator for the non zero values then it only eliminates the records for which both the key figure are zero but that is not what I want. I am trying to have a setting in the data source where we can reject the records even if one of the key figure has zero values.
    Are there any settings for that while we are generating the data source.
    Thanks in advance

    Hi Colin,
    This can be easily solved using a slightly different ABAP routine. You can assign the fields that you need to check into other field symbols and then check the value of those field symbols.
    Here's one possible solution. I based in from the ABAP code you posted.
    field-symbols: <LS_EXTR_BLOCK> TYPE any,
                         <ls_fcst> type any,
                         <ls_hist> type any.
    data: w_pos type sy-tabix.
    loop at ct_data assigning <LS_EXTR_BLOCK>.
    w_pos = sy-tabix.
    assign component '/BI0/9AVCORFCST'
       of STRUCTURE <LS_EXTR_BLOCK> to <ls_fcst>.
    assign component '/BI0/9AVCORHIST'
       of STRUCTURE <LS_EXTR_BLOCK> to <ls_hist>.
    if <ls_fcst> = 0 and <ls_hist> = 0.
      delete ct_data index w_pos.
    endif.
    endloop.
    Aside from the solution above, you can also define the structure of CT_DATA (that's basically the structure of the extract structure of your datasource). You can then assign the contents of CT_DATA to a field-symbol and the delete data using that field symbol.
    Here's an example:
    TYPES:
    TY_DATA_TABLE type table of *PUT THE NAME OF YOUR EXTRACT STRUCTURE HERE*.
    field-symbols:
    <FS_DATA_TABLE> type TY_DATA_TABLE.
    DELETE <FS_DATA_TABLE> WHERE /bi0/9avcorfcst = 0
    and /bi0/9avcorhist = 0.
    You can check the name of the extract structure by viewing table /SAPAPO/TSAREAEX field EXPORT_STRU. You can also see the name of the extract structure in debug mode by looking at the value of the parameter IV_DDIC_REFERENCE.
    Hope this helps

  • How to Get ZERO and Non-ZERO Values in rowcount using Group by?

    Dear All,
    How can I get Non-ZERO and ZERO row count values in SQL using Group by? I can get non-zero values but when I want NULL should be returned to non-zero values it is ignoring ZERO values in output?
    Any hint?
    Thanks
    GQ

    Hi,
    Something like
    select count(case col
                    when 0
                    then 1
                  end) zero_count,
           count(case nvl(col,1)
                    when 0
                    then null
                    else 1
                  end) nonzero_countRegards
    Peter

  • Query only non numeric values in a column

    How to query only non numeric values in a cloumn.
    For example:
    Table1 has a column1(col1)
    Values:
    Row Value
    1 27376
    2 47D99
    3 83039
    4 DKFI*
    5 3J6
    Query should retrieve only rows(2,4,5).
    Thanks! for help
    Murali

    Version 2(PL/SQL) above is not clear enough, It can be tuned to the following:
    -- Create a function
    Create or replace function IsVARCHAR(pCol VARCHAR2) return VARCHAR2
    AS
    vNumber NUMBER := 0;
    begin
      vNumber := to_number(pCol);
      RETURN NULL;
    Exception
      When Others Then
        RETURN pCol;
    End;
    -- To See VARCHAR values (alpha-numeric) only!
    SELECT col1 FROM tab1
    WHERE IsVARCHAR(col1) IS NOT NULL;
    -- To See NUMBER values only!
    SELECT col1 FROM tab1
    WHERE IsVARCHAR(col1) IS NULL;Versatility here with PL/SQL, but I personally like SQL versions.
    Thx,
    SriDHAR

  • How to find first non zero value from the numeric value or string?

    Hiii, Every body
              I have one numeric indicator in which some valuse is coming with the decimal value, lets say 0.00013, now i want to find the first non-zero value from this numeric indicator, then what should i do to do so? i have converted it in the string, but i could not find any method to find first non-zero value from that string or either from the numeric indicator????
          Can you please help me, how to do it? i have attached the vi and write all the description inside.
    Thanks in Advance,
    Nisahnt
    Attachments:
    Find first nonzero.vi ‏20 KB

    Just convert it to an exponential string and take the first character .
    Message Edited by altenbach on 05-10-2006 08:00 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FisrstNonzeroChar.png ‏3 KB
    FindFirstNonzeroCharacter.vi ‏20 KB

  • Calculating average of non-zero values only

    Hi all,
    I have a table containing a numeric column which contains processing time in mili seconds. this can range from zero to any value. I want to calculate average processing time for only those entries which have non zero processing time in a single SQL. can you please suggest any SQL function for this?
    I'm using Oracle 10g.

    Sure, decode the 0 values to NULL (aggregate functions like AVG do not consider NULL values).
    ME_XE?with data as
      2  (
      3     select 10 as col1 from dual union all
      4     select 0  as col1 from dual union all
      5     select 20 as col1 from dual union all
      6     select 20 as col1 from dual
      7  )
      8  select avg(col1) as col1_avg, avg(decode(col1, 0, null, col1)) as col1_avg_no_zero
      9  from data;
              COL1_AVG   COL1_AVG_NO_ZERO
                  12.5 16.666666666666667
    1 row selected.
    Elapsed: 00:00:01.07
    ME_XE?

  • Updating a DB table with only non-empty values of a work area

    Hi everybody,
    Is that possible in ABAP to update a table in the database with a work area, but only with non-empty values of this work area?
    Example:
    data: ls_custom type ZCUSTOMERS_0.
    ls_custom-CUSTOMER = '20'.
    ls_custom-LASTNAME = 'MyName'.
    ls_custom-FIRSTNAME = ' '.
    ls_custom-CURRENCY = ' '.
    update ZCUSTOMERS_0 from ls_custom.  *" I want that the update clause don't do the update with FIRSTNAME  and CURRENCY fields because they have empty values*
    If it's possible, how to do it?
    Thanks & regards,
    Abdel

    Total Questions:  81 (66 unresolved)
    Hi,
    To my understanding you mean if the database table has values
    customer         20
    lastname          somename
    firstname         firstname
    currency          INR
    so now after this
    data: ls_custom type ZCUSTOMERS_0.
    ls_custom-CUSTOMER = '20'.
    ls_custom-LASTNAME = 'MyName'.
    ls_custom-FIRSTNAME = ' '.
    ls_custom-CURRENCY = ' '.
    update ZCUSTOMERS_0 from ls_custom.
    you want the result as
    customer         20
    lastname          Myname
    firstname         firstname
    currency          INR
    Is it so? Then Normal update
    data: ls_custom type ZCUSTOMERS_0.
    ls_custom-CUSTOMER = '20'.
    ls_custom-LASTNAME = 'MyName'.
    update ZCUSTOMERS_0 from ls_custom.
    would do that.
    Thanks,
    Sri.

  • WAD - display only the last value in the chart

    hi...
    I designed a chart in WAD wich displayed a range of values in a line. Now im searching for a possibility to display the value for the points in my chart, but not for all values, only for the last value in the line! And every month the line will extended with new value-points, so it is necassary that the function is dynamic, always for the last point in the chart the value should displayed!?
    thx for some ideas!
    david

    hi @ all... once more information:
    the chart displayed only one keyfigure of a query. for example it display the revenue per month. in jan. = 10, feb. = 15, mar. = 25, apr. = 13, jun. = 23. these values should be displayed in a line in the chart aaaand additional for the last one in the line the valuecaption direct in the chart (f.e.: jun. = 23). not for all "periods-points"only for the last one.
    in jul. = 25 the chart changed and only for july the value-caption should be displayed. Is it possible?
    Regards,
    David

  • Report results displays only (*), no numeric values.

    Dear all,
    The report result only displays asterick (*), no numeric values. But the field in the result thus has numbers which can be seen in display at the top in the excel sheet. why?
    Do i need to make any changes in Query properties or something else??
    Please advise.

    Hi,
    You should be trying to work to different units of measure or different currency. If you do any calculation with two values which has different unit then the result will be so.
    use NODIM() of the keyfigure and do the calculation. create a formula and add NODIM to keyfigure, then you should be able to see values but you will not get the unit along with value.
    Else you should go for conversion of units to single one and then you can get both values and units.
    Hope this helps
    Regards
    Akhan

  • Display Only / Non-editable parameters on concurrent programs

    Is there a way to have a parameter be "display only" ... and not make it available to the user to change?
    Example:
    PO Number From:
    PO Number To:
    User enters PO Number From parameter, then the PO Number To parameter is prefilled with the value entered in PO Number From, but the user cannot change it. But it is available on the parameter screen for the user to see.
    Is there a way to do this?

    I don't think there's a default way from oracle to make parameter field "read only",
    but I can suggest a workaround though for your case.
    for example PO_NuMBER_FROM is having value set PO_NUM
    you can create new value set specifically for PO_NUMBER_TO (for example PO_NUM_TO).
    in the where condition of the new value set you can put condition to make it the same as PO_NUM, for example :
    where segment1 = :$FLEX$.PO_NUM
    This will make PO_NUMBER_TO LOV could only have one value which is same with PO_NUMBER.
    To show the default value in LOV, you can put the default value for paramter PO_NUMBER_TO as SQL Statement with value (for example ) : Select segment1 from po_headers_all where segmetn1 = :$FLEX$.PO_NUM.
    To make it perfect, you can make the paramter "Required" checkbox to Yes, so finally it should behave like below :
    1. PO_NUMBER_TO LOV will show default value same as PO_NUMBER_FROM shown as default
    2. Only one value in LOV, so user can't change into other value.
    3. The parameter is required so user can't change it into null.
    Hope this helps,

  • Display only limited desired values for an infobject in selection screen

    HI Gurus,
    I have a requirement as follows.
    After executing query, in the selection screen I should only able to find my desired values instead of all the values of master data table.
    Example : Select from:
    After executing query, in the selection screen of BEx Analyzer, for the infobject Status (0CRM_USSTAT) I should find below values only instead of all values from the dataprovider or master data table. That means only desired values should be available in the F4 selection. Can you please now tell me how to restrict this?
    New
    Open
    In Process
    Closed
    Rejected
    Overdue
    Looking forward for the helpful answers.
    Thanks,
    Sasi

    Hi Sasi,
    Go to your Variable screen click the Adjacent Multiple selection Arrow button, Give the values
    New
    Open
    In Process
    Closed
    Rejected
    Overdue
    Now click copy --> immdiatly click the adjacent button --> Click personalize Variable Value,
    Next time onwards when you get variable screen --> click the last buton and Load Personalize Values --> if you click the multiple selections then u will see only the above values..
    Thanks,
    Sudhakar

  • Display only non empty table

    Hi ,
    I have a read only table in a jspx page. In case there is some error or there are no rows to display , I dont want to display the table. Just a label with some text.
    There is a emptyText which checks if there are "no rows yet" , but it displays all the table headers etc and then displays the text.
    Is there a way I can put in a check to display table only if records are present.
    Thanks.
    Amit

    Hi Amit,
    I would suggest you to make use of switcher instead of setting the visible property as in your case you not only want to show/hide the table based on some condition but also you want to toggle between a table or an output text based on some condition.
    When switcher is used, based on the condition it evaluates which component to render in the component hierarchy since you don't want to load(render) a component when you don't want to make it available to the user.
    There is a good example on how to use switcher component in this blog
    Hope it helps.
    Thanks & Regards,
    ~Krithika

  • How to output only non-existing values

    If I have a table say Employee and has values for EmployeeNum as 1111, 2222, 3333 and I have a query like this. SELECT EMPLOYEENUM FROM EMPLOYEE WHERE EMPLOYEENUM IN (4444, 66666, 1111)
    Now, this will only return 1111. But, I want to find out values that are not in the table. So, I want to output 4444, 66666.
    How can this be done. Please suggest?

    This is called anti join...
    SELECT *
       FROM TABLE(sys.odcivarchar2list(4444, 66666, 1111)) t
      WHERE NOT EXISTS
      ( SELECT 1 FROM EMPLOYEE d WHERE d.EMPLOYEENUM = t.column_value
      )Ravi Kumar

Maybe you are looking for

  • How do I transfer a PDF that I downloaded to my laptop?

    So I downloaded a pdf file to my ipad from Hightail.  The file expired so it no longer sits on their site.  My harddrive crashed so I don't have the file anymore.  But it lives in my ipad.  Good Reader did nothing to get it off my ipad.  There HAS to

  • Connecting DataBase in Java : big problem !

    I'm trying to connect my java application with a database. It doens't exits, i want to create it by sql query. There's a problem : when i try to connect to by try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch (ClassNotFoundException e){ Syst

  • Im using xcode 4.6 and im having problems reading files using the fopen function in c

    Im using xcode 4.6 and im having problems reading files using the fopen function in c

  • Access Imported Archive in User Defined Function

    Hi! I want to access a XML file in an user defined function in a message mapping. The XML file is included in an imported archive. I need the information out of this XML file for configuring an extended receiver determination. Does anyone know how to

  • Java script for sum and divide

    Hi guys, I hv never used Java in my life. So i seek help with it..I am trying to do some simple calculations I need to add ( (P1_ItemA + P1_itemB+P1_ItemC) / (P1_ItemX + P1_ItemY + P1_ItemZ) ) * P30_ItemO The result should show up in P1_ItemM Also, w