Result row shows min. value as Blank.

Hi Guru,
I have following scenario in query,
Eg.
1.Values in objects in column,                           10,000
                                                                        Blank (no value)
                                                                        2,000
                                                                        Blank(No value)                     
Result Row  shows                                         Blank (instead of 2,000)
2. Values in same object in same column           10,000    
                                                                        2,000
                                                                        3,000
                                                                        1,000
Result row shows                                          1,000 (which is Correct one)
If value in column is blank then it is showing me minimum value as blank but in real it has to display min of all row, second if row  is not blank then it is showing correct min. value in result row (As mentioned in second examlp)
Please suggest me what i have to do to get exact min. of  all values in Result row.
Thanks,
Ganesh.

hi all,
Thanks for contribution.
But i want min. values from all rows in my result row.if it is not suppresed by Zero then also it hase to display min value (I MEAN fIGURE LIKE 2,000) from row.
if i do supress Zero then it is diplaying as Blank hense all resulti row is display blank but i dont want that i want if row value is Zero or Blank it will display as min. of all figure NOT ZERO OR BLANK LIKE ABOVE EXAMPLE IT IS 2,000.
Thanks,
Ganesh.

Similar Messages

  • Query with a condition - Overall results row displays incorrect value

    Hi All,
    I have a bw query with top 40 conditions. However, The Overall Result Row Figures Do Not Equal The Sum of the Column Rows.
    Although the top condition is activated, the overall result still displays the overall result of the whole report.
    I have 3 columns in the report
    Selected Period
    Prior Period and
    Variance
    The formula for variance is (Selected Period/Prior Period)-1.
    Does anyone have an idea to fix this?
    Thank you so much in advance.
    Have a great day!

    Hi Gaurav,
    Thank you so much for your reply, however this does not solve fully the issue.
    Changing the properties to "Summation" will indeed provide me with the correct sum for the "selected period" and "Prior Period." However what I need in the Overall Result Row for the "Variance" column is not the total but instead the value when the total of Selected Period is divided by Prior Period then minus 1.
    Overall Variance = (Overall Selected Period/Overall Prior Period)-1
    Do you know a way to make this possible.
    Thank you so much.

  • In report, there is a formula which shows either values or blank

    Hi,
      In BW report, We have defined formula to calculate some SLA%. In the output of the report, SLA% shows either some value like 10% or 50% or blank.
      But user wanted to see values and zero instead of blank. is it possible? if yes how, please explain me steps.
    Thanks a lot in advance and your response is appreciated with good rating.
    Regards,
    Varun

    Hi Varun,
    For testing the Formula,please break up the Formula into diff CFK's
    like (A+B/C)*D/100
    So make it as
    1)A+B=CKF1
    2)CKF1/C=CKF2
    3)CKF2*D=CKF3
    4)CKF3/100=CKF4.
    Check for division by Zeros error in the CKFs,else use NODIM function everywhere.Plse be careful with the bracketing().
    and then try as to where it is going wrong also try it out in an excel sheet also and Compare both.It shud match,else ur missing something.
    For Blanks as Zeros Make the necessary setings in Q.D
    Rgds
    SVU123

  • How to select rows with min value on a specific column

    I have a query:
    select
      m.x1,
      round (to_date (l.y1, 'mm/dd/yyyy HH:MI:SS AM') - m.x2, 0) as numofdays
    from
      table1 m,
      table2 l
    where
      l.x3 = m.x3 and
      to_date (l.y1, 'mm/dd/yyyy HH:MI:SS AM') >= TO_DATE('01012013','MMDDYYYY') and
    and I got this result table:
    x1 (ID)
    numofdays
    001
    5
    001
    10
    002
    2
    003
    3
    003
    1
    004
    0
    005
    66
    several ID's have multiple values on the second column, I want to have only distinct IDs with smallest "numofdays" like this:
    x1 (ID)
    numofdays
    001
    5
    002
    2
    003
    1
    004
    0
    005
    66
    Any ideas?

    Hi,
    The most general and versatile way is a Top-N Query:
    WITH   got_r_num AS
        select
                m.x1,
                round (to_date (l.y1, 'mm/dd/yyyy HH:MI:SS AM') - m.x2, 0) as numofdays
        ,       ROW_NUMBER () OVER ( PARTITION BY  m.x1
                                     ORDER BY      to_date (l.y1, 'mm/dd/yyyy HH:MI:SS AM') - m.x2
                                   )  AS r_num
        from 
              table1 m,
              table2 l
        where
              l.x3 = m.x3 and
              to_date (l.y1, 'mm/dd/yyyy HH:MI:SS AM') >= TO_DATE('01012013','MMDDYYYY') and
    SELECT  x1, numofdays
    FROM    got_r_num
    WHERE   r_num   = 1
    If you'd care to post CREATE TABLE and INSERT statements for your sample data, then I could test it.
    Notice that the sub-query (got_r_num) is exactly what you posted, only with a new column (r_num) added to the SELECT clause.

  • Results row shown only at the bottom and not at each value level

    Dear Experts
    I have a report based on a multiprovider consisting infosets and a cube.
    There are several row characteristics shown. 1 of these were set to show results row. But the results row is not shown at each value level but at across all its characteristics level, ie. at the bottom of  this characteristic. So, only 1 results row shown and not 1 results row per each value of this characteristic.
    Some other characteristics are showing multiple rows of results rows but at a certain grouping level and also not at per value level.
    Please advise what could be the cause.
    regards
    Pascal

    Dear Experts
    Solved.
    Due to the concept works like this:
    To see results row for a characteristic, must set it to the char infront, not to the char itself.
    But then when user re-arranges the position of the row chars, there could be an issue.
    Is this a constraint of BEx?
    regards
    Pascal

  • Result Row calculation

    Hi  result rows calculation is not happening properly in result rows as per the formula .
    Formual for Absolute Error =  Final forecast - Actuals
    Follwing is the report out put
    Material                    Period01
    10324401     Final Forecast        733,490.000 LB
         Actuals              555,583.67 LB
         Absolute Error       177,906.33
    10326795     Final Forecast        1,306,894.935 LB
         Actuals               1,406,158.27 LB
         Absolute Error         99,263.33
    10329435     Final Forecast         188,000.000 LB
         Actuals               192,000.00 LB
         Absolute Error        4,000.00
    10580325     Final Forecast        76,105.938 LB
         Actuals               215,999.82 LB
         Absolute Error        139,893.89
    10580427     Final Forecast        158,733.076 LB
         Actuals                0.00 LB
         Absolute Error         158,733.08
    Overall Result Final Forecast        2,463,223.949 LB
         Actuals                2,369,741.76 LB
         Absolute Error         579,796.62
    In the above report , Material wise calculation for Absolute error is correctly calculating ,  BUT when it comes to Over all Result  its just summing up all  materials Absolute error and showing .
    What i want in  over all result  is Absolute error should be calculated as overall Final Forecast - Over all actual ( I.e formula should be applied to over all result also ).
    I tried with exception aggragation and other stuff but nothing is working .
    Can any one Help me  to apply the formula for result rows also ...
    Helpfull inputs will be appriciated with points .
    thanks in advance

    Hi All  thanks for ur replies .
       I solved my issue  as  following  .
    Formual for Absolute Error = Final forecast - Actuals
    For Absolute error  formula  there are some ' exceptional aggregation ' and 'calculate result value as '  .
    I removed these ' exceptional aggregation ' and 'calculate result value as '  and refreshed the report  now  in result rows
    ' Absolute Error'  is calculating   as desired i.e by using result rows  ' final forecast' value & ' actuals' values in the formulae .
    Regards
    Navenas

  • Updated CODE1 is showing wrong values in 2LIS_05_QE1

    Hi all,
    I'm using 2LIS_05_QE1 extractor to report over qualitative data in BW. When the code of the characteristics is updated, the extractor takes 2 records, before and after images. The extractor is gathering wrong values for the CODE1 field  in the before image.
    REQUEST     DATAPAKID     RECORD     ROCANCEL     PPLNKN     MERKNR     CODE1     GRUPPE1     ZHLNSTAT
    REQU_4KVR0APSV0RSZ7N70IOR0F95L     1     5120          5     40     0     CIBAU038     1
    REQU_4KPIA4UG5G1IKN6DE3XFWKIS9             3     4045     X     5     40     0     CIBAU038     -1
    REQU_4KPIA4UG5G1IKN6DE3XFWKIS9             3     4046          5     40     75     CIBAU038     1
    REQU_4KYF8YNIEMXNZI7P2Y5BM21W9     3     4045     X     5     40     0     CIBAU038     -1
    REQU_4KYF8YNIEMXNZI7P2Y5BM21W9     3     4046          5     40     75     CIBAU038     1
    We have changed the characteristic two times, now we can see two of the before images with the ROCANCEL field marked with = 'X'. The problem appears in the second before image which is not taking the actual value of the CODE1 field (75), instead is showing the value in zero. Then, when I report over the key figure in the table above ZHLNSTAT (quantity of values) the results are showing 2 values for CODE1=75 and -1 values for CODE1=0.
    Any ideas?

    I have checked Datasource and CODE1 is not a hidden field...apart from this field there are other fields too which I can see in Datasource in R/3 about dont see them in BW ....
    Please let me know what could be wrong.
    Thanks,
    Murtuza.
    Edited by: Murtuza Morwala on Jun 27, 2009 7:36 AM

  • HOW TO SELECT MIN VALUE UNDER DEFAULT TAG OF SELECT LIST

    GREETINGS,
    I M USING APEX 4.1 AND CREATED SELECT LIST ON PAGE, I WANT TO SHOW MIN VALUE OF THE SELECT LIST FOR THAT I WROTE IN THAT SELECT LIST PROPERTIEC UNDER DEFAULT TAG MIN; AND CHOOSE PL/SQL EXPRESSION BUT ITS GIVING ERROR "Error computing item default value for page item P1_PRODUCT."
    BUT IF I HARCORE THE VALUE CONTANING IN MY DATA LIKE PRODUCT ID = 1, I HARDCODED IN DEFAULT VALUE 1 AND SELECT PL/SQL EXPRESSION IT WORKS.
    BUT ITS NOT DONE LIKE THIS I WANT TO SELECT BY DEFAULT MIN VALUE OF THE SELECT LIST, SO THAT THE DATA SHOULD BE DISPLAYED ACCORDING TO THAT.
    THE EXACT REQUIREMNT IS TO ENTER THE SELECT LIST DEFULAT VALUE IN SESSION SO THAT DATA IS TO BE DISPLAYED

    Hi,
    you have some options:
    1) you can try setting default value of P1_SELECT_PRODUCT item, I was do it
    2) or you can try send the value of P1_SELECT_PRODUCT value in URL, like this:
    http://apex.oracle.com/pls/apex/f?p=45296:1:0::::P1_SELECT_PRODUCT:4
    3) or you can set the session state of P1_SELECT_PRODUCT item on page 101 (login page) by seting this value in Login process on page 101
    HELLO kIAS !
    SETTING DEAFULT VALUE VALUE OF P1_SELECT_PRODUCT_ITEM IS NOT A SOLUTION ON THIS MATTER, BECASUE P1_SELECT_PRODUCT IS CALLED DYNAMICALY AFTER THE LOGIN DEPEND UPON THE RIGHTS OF THE USER THE SELECT IS POPULATED ID USER IS E.G ABC AND IT DOESBNOT CONTAIN SELECT LIST VALUE 4 THEN IT DISPLAY NOTHING.
    AND THIRD POINT MAY BE HELP ME BUT I DONT KNOW HOW TO SET SESION STATE BECASUE WHEN I GO TO LOGIN PAGE AND CREATE SESSION STATE PROCESS FOLLOWING RADIO BUTTOPN APPEARS
    Clear Cache For Applications (removes all session state for listed applications)
    Clear Cache For Current Application (removes all session state for current application)
    Clear Cache For Current Session (removes all state for current session)
    Clear Cache for Items (ITEM,ITEM,ITEM)
    Clear Cache for all Items on Pages (PageID,PageID,PageID)
    Reset Preferences (remove all preferences for current user)
    Set Preference to value of Item (PreferenceName:ITEM)
    Set Preference to value of Item if item is not null (PreferenceName:ITEM)
    WHICH ONE I HAVE TO SELECT ?

  • Report Designer Result Row question

    Hello Gurus
    I read that in the report desinger you can grab the result row feilds from the inserted query and place it another report section but where do get that i don't see those cells showing up anywhere in the feild catalog.
    basically i have two queries in the report designer and i want to use the result rows from both and divide them to get another result row
    any ideas how can i do that
    thanks

    Well i have two queries inserted and the first problem is for the first query there is no footer section and the result rows are displaying as part of detail. I can't figure that out . Although the chararchterstic that i have there is a heirarchy unless thats a problem.
    and for the second query i do have result row show up on yellow when i run it and in report structure i do see the group0 , then group header group1, and then footer so where is the result row the footer row or in detail. And once i have it what do i jst drag the row into the row in added report section.
    please its urgent
    thanks

  • Incorrect Result Rows

    Hi All,
    For a calculated key figure, when we drill down completely, we get correct result rows. But when we remove any characteristic, the result rows give incorrect values.
    One option was to change to calculate before aggregation, but my key figure is calculated by using 2 other calculated key figure & hence it gives me an error if i try to change it to before aggregation.
    Issue is :
               A   B  C
    X   Y   10   4  40
    X   Z     4   5  20
    Result    60
         A   B   C
    X   14  9    14* 9 = 126
    Please help!
    Thanks,
    Agrima

    Hi Agrima,
                Check here.....
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/56853c08c7aa11e10000000a11405a/content.htm
    Thanks,
    Vijay.

  • Formula for division of result rows in BEx 3.5

    Hi All,
    We have created 3 new formulas A,B and C respectively.C=sum/sum (At record level)
    Our requirement is that the result row of C should be calculated as "value in result row of A/value in result row of B".
    We are able to achieve this division for individual records but at the result row level this division does not work.
    Can someone please help us write a formula for this?
    Regards,
    Suchitra

    When you want to consider result of operands.
    C = SUMCT(A)/SUMCT(B)
    When you want to consider overall result
    C = SUMGT(A)/SUMGT(B)
    More on using these check the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/frameset.htm
    Hope this helps.

  • Displaying all rows if value is blank

    Hi all trying I am trying to display all the rows from a
    database if the default value is blank
    I have tried to put a * or ? in the php code What could be
    wrong here?
    What do I need to put for the variable section for the
    correct syntax
    As it its
    Name = p
    Type = numeric
    Default value = -1
    Run-Time value $_Get[‘p’]
    Cat = is the Variable to select the rows if a value is
    present
    $p_Recordset_B = "-1";
    if (isset($_GET['p'])) {
    $p_Recordset_B = (get_magic_quotes_gpc()) ? $_GET['p'] :
    addslashes($_GET['p']);
    SELECT Company FROM Table WHERE Cat = %s <> 'NULL'
    ORDER BY RAND() LIMIT 70

    I am also having this problem, except I have a search form with a list that contains 3 options "Select Country", "Canada", and "U.S." and if a user leaves the field as "Select Country" I want the results page to show the records for both Canada and US, is there a value that can be entered into the Default Value field?
    All help is appreciated.

  • Overall results row - how not to show some columns

    Dear Experts
    I have set results rows enabled at a certain characteristic level.
    So, at the rows level, the results row is showing.
    But at the right-hand-side results columns, some of the keyfigure columns should not be displayed , for example, price should not be summed.
    How can this be achieved using a  query only?
    regards
    Pascal

    HI,
    As i dont have your report layout based on my assumptions i understand that you have put one char in rows column above the strucutre and thats why you are getting result in rows and column as well.
    Now you need to hide the column result which indeed seems no to me i tried same on my system but i can only make the value and result blank but cannot hide the complete result column.
    Please correct me if my understanding is worng or your requirement in something differnent.
    Hope it helps.
    Regards,
    AL

  • Overall Result Row is not the Sum of Individual Values!

    I am frustrated with a weird problem.  I have an expense report in which Expense1 is shown a value of 8,126.  If I drilldown by company code, the sum of the company codes is 8,235, but the "Overall Result" row is showing 8,126. 
    I tried drilling down by GL accounts, cost centers, profit centers, material and even currency.  For all of these drilldowns the "Overall Result" row is 8,126 but the individual values sum out to be 8,235.
    First I thought it could be "Zero Suppression" that is hiding some values from the display.  But "Zero Suppression" was not active at all.  I have checked the LISTCUBE and saw that the Expense1 should be 8,235 and not 8,126.  The key figure properties "Calculate Result As" and "Calculate Single Values As" are set to "Nothing Defined" and "Use Default Direction".  But still for some strange reason, the "Overall Result" row is different than the sum of individual rows.  It's driving me crazy as I have ran out of ideas to figure out what's happening.  Could someone help me with this?  I would appreciate any input with points!

    Hi,
    Remove the 'Suppress Zero rows/columns' from the query definition and then check the values.
    Column A might have value, but for the same row column B might have zero, hence the row was not shown in the result set, but the overall result will include all such values as well, even thought it was not shown in the result set.
    HTH,
    regards,
    Nataraj.

  • Result row is not showing expected result

    Dear All ,
    I have below  requirement to generate mix variance 
      PY Mix
    PY Mix Diff
      PY Mix
      Val Gr -
    0.00
    0.00
    1,015.6823529
    1,015.68
    0.00
    0.00
    52,486.5048653
    52,486.50
    0.00
    0.00
    2,836.1166667
    2,836.12
    0.00
    0.00
    45,582.8437071
    45,582.84
    Result
    0.00
    3,09,668.66
    -2,07,747.5092285
    1,01,921.15
    Result in Bex
    Expected Result
    PY Mix L- Used No definition in   Result
    Val Gr -    Used Sum in result
    PY Mix Diff  = Val Gr - PY Mix
    But above formula is not working for Result row ??
    expected 3,09,668.66 but showing 0.00
    Any ideas to crack this .
    All your valuable inputs are highly  appreciated .
    Regards ,
    Hari

    Dear Suman 
    Thank you so much for your reply .
    PY Mix and Val Gr KFs both key figures  has got same definition(Same formula ).So i cant use Summation for both KYF in Exp Agge
    For Val Gr   -Result Row should be sum of values in Column , i have maintained no settings .And showing value as expected
    Val Gr -(CKF)
    1,015.68
    52,486.50
    2,836.12
    45,582.84
    1,01,921.15 -Result (Sum along columns)
    For PY Mix  - Result Row should be as per formula defined , i have maintained summation in Exp aggregation  .And showing value as expected
    PY Mix -(CKF)
    1,015.68
    52,486.50
    2,836.12
    45,582.84
    -2,07,747.50-Result (According to formula used )
    But When i use these to kyf in another formula Result row are not calculating as per Expectation
    PY MIX DIFF  = Val Gr - PY Mix
                              3,09,668.66 (expected )
                            = 0 (but final result )
    any other inputs to make it
    Regards  ,
    Hari

Maybe you are looking for

  • SAP group

    SAP Group QQ part:       group1:5381003       group2:13064150       group3:28956040 add this       group4:13976797 FICO    :30515736、20335626 HR      :30515846 MM SD PP:30515812、30776134 add this、24830457 Basic   :30515773、24030749 MSN part: SAP  ALL

  • Error in BI Login into siebel

    Hi All, When I am login to BI Through Siebel I am Getting Error.In Bi it is working Fine. In siebel level i can't find out the related subject area. Error getting drill information: SELECT RANK("- Opportunity Facts"."Opportunity Revenue") saw_0, "- P

  • Field conversion.

    Hi, im using an integer to increment a counter  and i need to move it in to a char. what if i need a zero '0' before the count if the number is less than 10 in my char field. Regards, ravi.

  • Run time data binding via FormCalc/JavaScript+wrong text formating

    Hello Everybody I need to print a text block with company details depending on company code (different details for different codes). I tried to use this code for event "calculate": if ($record.LS_HEADER.BUKRS == "1000") then $ = $record.COMP_DETAILS_

  • Profitiabilty Segment view in FB03

    Hi all, the profitability segment view in FB03 (little button with yellow arrow) shows us only 4 value fields, but we have defined many more. I was wondering how can I change the view to show all value fields I want to see there? Thanks Anne