Supressing values less than 10

I have a data set in which the facts are counts of students, divided into categories (by race, by sex, by performance level on standardized tests, etc..)
One of our dimensions is called Performance Level. There are three Performance Levels - High, Medium, Low. For each combination of race, sex, grade, school, school year, and test taken, some percentage of the students score in the High range, some score in the Medium range, and some score in the Low range. As an example, let's assume that we have 50 students who are in the 4th grade at Jones Elementary in 2008, taking the Math Skills test. Of those 50 students, 20% (10) scored High, 64% (32) scored Medium, and 16% (8) scored Low.
On our reports and charts, we show 50 students, and we show the 20% / 64% / 16% breakdown.
Now, as we start to drill into those 50 students, we see that we have 27 females and 23 males. We show each of their percentages of High, Medium, and Low.
And as we drill further, those 23 males are split into 15 African-American, 6 white, a 2 Asian-American.
Here's the problem: Our rules specify that we can display the percentage of High/Medium/Low for the 15 African-American males, because 15 is greater than our "low-display" threshold of 10. BUT, since the other two counts (6 and 2) are below 10, we cannot display those counts, and we cannot display the High/Medium/Low percentages associated with them.
So the problem I have is how to prevent the display of small numbers and their associated percentages. We still need those small numbers in the dataset so that the higher-level aggregates are correct. It's just that wherever we would normally "see" a small number in a report or chart, whether at a leaf level or at an aggregate level, we need to "see" nothing (either null or zero, either way is fine).
Any ideas?

I had already tried that, but on further review, my call was overturned. As it turns out, I was simply displaying the wrong column in my chart. Instead of picking the COUNTS column, I was using the TOTAL COUNTS column, which is a level-based measure containing the total of all three performance levels.
The answer above is absolutely correct: use the column representing the leaf-level data, and use the >= 10 operation.

Similar Messages

  • Store value less than current week and year.

    Hi All,
    I have a table called BACKLOG whose structure is like this
    ITEM_NUMBER   YEAR_WEEK   MS
    1N58          2012-WK02   01/15/2012
    1N58          2011-WK02   01/15/2011current from my procedure i am storing the value in my new table which is less than current week. But i want to store the value less than current week and current year. Please help me to get how i can do this.
    PROCEDURE BACKLOG_PROC_LT_CW IS
      BEGIN
    DELETE BACKLOG_LT_CW;
    COMMIT;
          INSERT INTO BACKLOG_LT_CW
            SELECT
                  DC_UTIL.GEN_YEAR_WEEK(MS) YEAR_WEEK,
                  ITEM_NUMBER,
                  MSD
                  FROM BACKLOG
              where to_char(MS, 'IW')<to_char(sysdate, 'IW');
      END BACKLOG_PROC_LT_CW;Currently with the above procedure code both the value is storing in my BACKLOG_LT_CW table but if you see the data of BACKLOG table you will find YEAR_WEEk 2012-WK02 falls in next year but still it is storing in my table because i have taken IW only. Please help me to get the soln
    Thanks in advance
    Regards

    Are you looking for this?
    where to_char(MS, 'YYYYIW')<to_char(sysdate, 'YYYYIW');

  • Condition for excluding Sales value less than or equal to 0

    Hello Experts,
    I have to create condition in the query designer to exclude Sales Value <=0, and that should be applied to all the column values and result values when we put active.
    Can anyone help ?
    Thanks in advance,
    Venky
    Duplicate Post
    Condition for excluding Sales value less than or equal to 0
    Edited by: Arun Varadarajan on Apr 13, 2010 8:57 PM

    Hello Naveen,
    Thanks for quick reply. I have created condition greater than zero and executed report, i can able to eliminate rows with sales value <=0, but we have other columns in the report say Quantity, Backlog... when we run the report without condition the values which showed are same when we put it in active aslo.
    After eliminating few rows which having some quantity value, that value should be deducted from the result of the quantity. I tried with applying apply to results opton, then also there is no change in the result value of the quantity.
    Our requirement is to apply condition to eliminate rows which are sales value <=0 and same the result values of the columns should effect.
    Is it possible in anyway, if yes please specify solution.
    Thanks,
    Venky

  • Partitioning (range) a table values less than 'A'

    i am referring
    http://docs.oracle.com/cd/B10501_01/server.920/a96524/c12parti.htm
    http://docs.oracle.com/cd/B19306_01/server.102/b14220/partconc.htm
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    create table drop_it as select * from mv_prod_search_det2;     
    CREATE TABLE DROP_IT_P(
    PROD_DETAILS VARCHAR2(1000 BYTE),
         SIGN VARCHAR2(42 BYTE)
    PARTITION BY RANGE(PROD_DETAILS)
    PARTITION MAX_VALUE VALUES LESS THAN (MAXVALUE)
    update drop_it set prod_details=upper(prod_details);     
    72000 rows updated
    ALTER TABLE drop_it_p EXCHANGE PARTITION MAX_VALUE WITH TABLE drop_it WITH VALIDATION;     
    select * from mv_prod_search_det2
    72000 rows selected
    exec dbms_stats.gather_database_stats;
    select * from drop_it_p partition(max_value)
    ALTER TABLE DROP_IT_P
      SPLIT PARTITION MAX_VALUE AT ('B%')
      INTO (PARTITION p_a,
            PARTITION MAX_VALUE);     
    select * from drop_it_p partition(p_a);
    6785 rows selected
    select * from drop_it_p partition(p_a) where prod_details not like 'A%'     
    696 rows selectedit even shows me values that start with W,V,I,1,2,3,4,24,5 etc
    although the number is less(696out of 6785) this is undesired
    please help me eliminate these rows
    thank you
    this thread is related to tuning regexp_like by author 946207
    please refer
    tuning regexp_like
    and partitioning a table by 946207
    Edited by: 946207 on Dec 2, 2012 1:52 AM
    Edited by: 946207 on Dec 2, 2012 11:02 PM

    First, when you post related threads you should cross-link them so people have access to all of the information about the problem you are trying to work with.
    partitioning a table
    >
    it even shows me values that start with W,V,I,1,2,3,4,24,5 etc
    although the number is less(696out of 6785) this is undesired
    >
    Yes - that is what it should be doing.
    These are the steps you took to populate the table
    1. You originally inserted ALL data into table 'drop_it' with no restriction on the PROD_DETAILS values.
    create table drop_it as select * from mv_prod_search_det2;     2. Then you converted the PROD_DETAILS value to upper case. That has no effect on numbers or other non-alphabetic characters.
    update drop_it set prod_details=upper(prod_details);3. Then you create a new table with only one partition using MAXVALUe
    PROD_DETAILS VARCHAR2(1000 BYTE),
         SIGN VARCHAR2(42 BYTE)
    PARTITION BY RANGE(PROD_DETAILS)
    PARTITION MAX_VALUE VALUES LESS THAN (MAXVALUE)
    );4. Then you populate the partitioned table by exchange. It now has the same data including the numeric data.
    ALTER TABLE drop_it_p EXCHANGE PARTITION MAX_VALUE WITH TABLE drop_it WITH VALIDATION;     5. Then you split the one MAXVALUE partition into two partitions. One with data < 'B%' and one with the remaining data that sorts higher based on your character set.
    ALTER TABLE DROP_IT_P
      SPLIT PARTITION MAX_VALUE AT ('B%')
      INTO (PARTITION p_a,
            PARTITION MAX_VALUE);     The split on 'B%' when creating partition p_a is equivalent to you 'WITH VALUES < 'B%'. Since PROD_DETAILS is a VARCHAR2 datatype that 'LESS THAN' comparison uses the character order based on your database character set and most, if not all, character sets have characters that sort lower than the uppercase alphabetic characters.
    For example in the ASCII character set an uppercase 'A' is decimal 65 so 64 other characters (including the digitis 0-9) sort lower than 'A'.
    http://www.asciitable.com/
    As the doc you cited shows
    >
    •All partitions, except the first, have an implicit lower bound specified by the VALUES LESS THAN clause on the previous partition.
    >
    That 'first' partition has no lower bound so ALL data, including digits, that sort less than 'B%' will be in that partition.
    >
    please help me eliminate these rows
    >
    Either don't select the data to begin with or remove it using a simple DELETE query. Also you can do the case conversion when you select the data.
    create table drop_it as select upper(prod_details) prod_details, sign from mv_prod_search_det2 where upper(prod_details >= 'A';Before you do that you should make sure you define the actual business rule you want to use to define the data you really want to keep and exclude.
    Because most, if not all, character sets also have characters that sort HIGHER than the alphabetic characters. That ASCII table shows five of them. If you don't filter them out you will get data where the values start with those characters.
    Even if you do filter them out there is nothing in what you posted that would prevent a user from inserting that data back into the table.
    And, of course, there are characters that sort BETWEEN the lower and upper case alphabetics.
    You need to determine what the allowable characters are in the PROD_DETAILS column and add code (e.g. check constraint or trigger) to make sure users can't enter data that includes those characters.

  • Asset Value less than 5%

    Dear All,
    we want the list of all assets whose value is less than or equal to 5% in the respective fiscal year,so that we can scrap those assets.
    Is there any SAP Stand report/program available for our requirement,if so suggest.
    If not,suggest any other work around like Query,Report Painter,etc  with details steps("Z" report,my client is not interested).
    Do revert
    Regards,

    .Hi,
    Easier way is to execute the report S_ALR_87011963, download the data into excel and filter less than 5 or 10 percent value assets thru a formula.
    Another option available is to use an additional field for computing NBV and call that field in the query.
    Net Book Value = KANSW + KNAFA + NAFAG
    Best Regards,
    Madhu
    Edited by: Madhusoodanan Ramachandran on Apr 30, 2010 3:31 PM

  • 1.5 Edit Table Partitions - Can not edit Values Less than Field

    When editing (or more importantly to me) creating new partitions through the GUI. This slao was an issue w/1.2.1 that I recently discovered, I was hoping that it would have gotten fixed in 1.5

    Just to confirm this is only a problem when editing a table? It seems fine when creating a table from scratch.
    The field is disabled when editing an existing partition because there isn't (as far as I can tell) an ALTER TABLE clause for changing the less than value of a range partition.
    It's a bug that when you create a new partition, while editing a table, the field is still disabled. I'll log it now.

  • Net value less than COGS

    Hi Gurus
    Please let me know, if there is anyway apart from using an exit, where we can get an alert if the net value of the order is less than the VPRS
    Anurag

    Dear Friend
    This can be achieved in standard itself
    For VPRS condition type maintain subtotal as B and requirement 4 and alternate calculation type as 5 in your pricing procedure and with these settings if nett value is less than VPRS then a warning message will come and even if you save it will tell that that the document is incomplete and you may not be able to create the delivery etc
    This should satisfy your requirement
    If you look at the standard pricing procedure RVAA01 in that VPRS comes with subtotal as B and requirement 4 and we have to add alternate calculation type as 5 to get our requirement in that
    Regards
    Raja

  • Set the values less than the value prompted

    Hi Every one,
    I have a requirement where the report will be navigating to other report.
    example: I have a report A and when I click on the any value in date column it navigate to other report by filtering the data by the date we clicked to navigate.
    Here my question is, it is filtering the navigated report by the date we selected. but I want it filter the dates equal to or less than the date we selected
    like if I click on date 11/7/2011 it should navigate to the report B and in report B the data should show data for the dates equal to or less than 11/7/2011
    is there any way to set this. because i can see only is prompted that we set for this requirement.
    Thanks in Advance.
    Edited by: 861096 on Nov 11, 2011 9:01 AM

    Hi ,
    While creating the prompt give the presentation varible.
    So when you will select the value for the Report A say ex :11/7/2011 it will be catched by the presentation variable.
    In your second report use this presentation variable as a filter condition where date < = presentation variable.
    It will work for you .
    Thanks,
    Ananth

  • How to get value less than 0 = 0

    I am trying to get a formula to do two operation in one field something like:
    form1.#subform[0].yes1.qn1::calculate - (JavaScript, client)
    (p1-s1)
    then if the value is less than "0" the the value = "0"
    what I have so far is not working, any help is greatly appreciated.
    if
    (this.rawValue < 0) this.rawValue
    = 0;
    Thank you.

    Srini,
    Thanks for the reply, although I still cannot get this to work.
    I changed the fields to numeric and it still is not working.

  • Change font colour to red if value less than zero

    Please forgive as I am not sure if this should go to the SQL or Application Thread..
    My questions is regarding SQL in Application Express
    I want to display my field (ADJ (INCL GST) in a red colour if its value is less than zero
    here is SQL code
    select "TW_BILL_ADJ_DATA"."CUSTOMER" as "CUSTOMER",
    "TW_BILL_ADJ_DATA"."ORIGINATER" as "ORIGINATOR",
    CASE WHEN (CREDITDEBIT) = 'Credit' THEN (0 - ADJUSTMENT_INCL_GST) ELSE ADJUSTMENT_INCL_GST END "ADJ (INCL GST)"
    from TW_BILL_ADJ_DATA

    Thankyou for the example above, after much searching I have also found another way to perform the same task
    select     "BILL_DATA"."BILLING_CODE",
    CASE WHEN (CREDITDEBIT) = 'Credit' then
              '<span style="color:Red;">'
              || TO_CHAR (0 - "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             else
              '<span style="color:Green;">'
              || TO_CHAR ( "ADJUSTMENT_INCL_GST", 'FML999G999G999G999G990D00')|| '</span>'
                             end "Adj (incl GST)"
    from TW_TABLE
    -----------------------------------------------------------------------------------

  • Keeping no of days less than 15 in field DELTIMESTof BWOM_SETTINGS table

    Hello Experts,
    Is it possible to keep no of days less than 15 in field DELTIMEST of BWOM_SETTINGS table so as to keep data in BWFI_AEDAT only for 2 days.
    Also I tried but its not working,it still keeping data of last 15 days.
    Regards,
    Ankush Sharma

    Hi Ankush,
    DELTIMEST is the minimum retention period of time stamp tables.
    As per SAP logic, the minimum retention period for entries in the time stamp table is 15 days. So if you decrease the parameter value less than 15, SAP will automatically take the minimum value as 15 and ignore the settings. That is why you are not able to delete the entries less than 15 days.
    Ideally, when entries are deleted from table BWOM2_TIMEST, the corresponding entries for the changed line items are deleted simultaneously from log table BWFI_AEDAT, BWFI_AEDA2 and BWFI_AEDA3.
    BWFI_AEDAT table contains list of changed documents with the change date and the document number which helps in the delta extraction. SAP has recommended DELTIMEST value to be >= 60.
    Refer the below SAP note: (check BWOM_SETTINGS part in solution)
    1012874 - FAQ extractors 0FI_AP_* 0FI_AR_* 0FI_GL_*(except 10)
    Let me know if there are any questions.
    Thanks
    Amit

  • In Adobe Acrobat XI Pro, how do I validate a form field so that it's numerical value is less than or

    I have one numerical field named "B," and I need to validate it so that it is less than or equal to the value of another field named "A." I can't figure out how to do that!

    OK, so the custom calculate script for field B could be something like:
    (function () {
        // Get field values as strings
        var sA = getField("A").valueAsString;
        var sC = getField("C").valueAsString;
        var sD = getField("D").valueAsString;
        // Only perform the calculation if all fields are filled
        if (sA && sC && sD) {
            var sum = +sC + sD;
            event.value = sum;
            // Alert the user if the sum is more than A
            if (sum > +sA) {
                app.alert("Error message goes here");
        } else {
            // Blank this field if all fields are not filled in
            event.value = "";
    Instead of (or in addition to) an app.alert popup, you could place this message in a read-only form field, and clear it if there is no error condition.

  • Java.sql.SQLException: Invalid precision value. Cannot be less than zero

    Hi,
    In my portlet application have several jsf tables which bind to several oracle tables. I have tested the portlet in pluto and tried to deploy it on liferay. However, I get an exception stating:
    java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    What could this exception mean? Has anyone else encountered this?
    Marc
    P.S. The trace is shown below:
    Feb 6, 2007 12:34:56 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.RuntimeException: java.sql.SQLException: Invalid precision value. Cann
    ot be less than zero
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Cach
    edRowSetDataProvider.java:343)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(Ca
    chedRowSetDataProvider.java:300)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(Cache
    dRowSetDataProvider.java:624)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.
    java:806)
    at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableR
    owGroup.java:429)
    at com.sun.rave.web.ui.component.TableRowGroup.getRowCount(TableRowGroup
    .java:749)
    at com.sun.rave.web.ui.component.Table.getRowCount(Table.java:307)
    at com.sun.rave.web.ui.renderer.TableRenderer.renderTitle(TableRenderer.
    java:400)
    at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(TableRenderer.
    java:123)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
    a:683)

    I've dug deeper into this problem and am able reproduce the error in the Pluto server. To reproduce this error, I modified my Oracle jdbc driver from the JSC embedded driver (smoracle.jar) to the Oracle native driver (ojdbc14.jar). Now, I am getting the exception in my Sun Application Server:
    What is the difference between ojdbc14.jar and smoracle.jar that could cause this problem? What can I do so that I can fix this problem for ojdbc14.jar?
    Thanks,
    Marc
    P.S.
    The problem is with the clob column (DOR_NOTE_TX). The stack trace is:
    [#|2007-02-06T09:00:53.663-0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=16;|
    Reader executing query ps=0 SELECT DOR_NOTE_DT, DOR_NOTE_TX FROM DOR.DOR_NOTE_DATA WHERE DOR_NOTE_CD='SECURITY' AND TO_CHAR(DOR_Note_Dt, 'mm/dd/yyyy') = '02/05/2007'
    No Params|#]
    [#|2007-02-06T09:00:53.679-0800|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.sql.SQLException: Invalid precision value. Cannot be less than zero
    Message was edited by:
    marcnikko

  • Can I set the value of kernel paramaters less than default in Solaris 10?

    Can I set the value of kernel paramaters less than default in Solaris 10? If specified less than default values for kernel parameters in /etc/system, system is getting default values for such as SHMMAX, SEMMSL, SEMOPM. Is the default kernel parameter values the minimum values in Solaris 10?
    -Yong

    Yes, but not through /etc/system.
    /etc/system is the old way to do it. As a backward compatibility, it will allow lines there to increase parameters but not decrease them. This is on the theory that many memory defaults were significantly increased, and older /etc/system setups were trying to increase small defaults, not decrease large ones).
    Use prctl and set up a project.
    Darren

  • Form has missing values when the database sourced column is less than 0

    Hello,
    I have Apex 4.0. I am making a very simiple form on a table with lots of number columns. When I go into the form linked from a report, it pulls all of the values in from the table for a certain row except for the numbers that are less than 1. Very strange.
    Any ideas?
    Thanks,
    Mark

    Joe Upshaw wrote:
    No, there is, for sure, no such restriction, Mark. To convince yourself of this, just manually add a Page Item to your form. Set "Display As" to number field and set the default to -999. It will display -999.
    Could it be a mismatch between the data type of your source SELECT and the "Display As" on the form field? On the main report, what is the data type for the corresponding column?
    On the field, is the Source Type "Database Column" and is the "Source value or expression" set to the correct, corresponding column name?Also
    When I go into the form linked from a report, it pulls all of the values in from the tableHow does this happen?
    Any other processes run on page rendering?
    Any Post Calculation Computations or Format Masks used on the form items?

Maybe you are looking for