The percentile calculation

Hi all

I want to calculate "Percentile"(by 50-by-90)

Aim: http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:16695563776514

and I tried with NTILE but its not giving correct results

DB: Oracle 10g


Any suggestions?

Thank you
Saichand.v

Angelique Varanasi wrote:
Hello

Thanks for the reply

Select percentile_cont (0.5) in the Group (order of measure_column), dim_col

percentile (0.5)... is identical to the MEDIAN function. Maybe you can consider using this one instead.

such as:

select median(measure_column)
from table_name group by dim_col

This won't help with percentile (0.9) of the cause.

See also: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions086.htm#sthref1601

Tags: Database

Similar Questions

  • uninstall the default calculator

    Is it possible that I can uninstall the default calculator? I like a calculator app chrome better.

    Just don't use it.

    Better to not remove pre installed OS X apps.

    It takes only 7.2 MB of storage space.

    You can remove the calculator from the dock application if you wish. Just drag it upward and the dock. It should go, "poof".

  • Calculate the intensity calculation of labview code

    How to calculate the intensity calculation of an in terms of no. labview code. operations? Also please guide me how to find the number of fixed and floating point indicates the operations.

    Thank you

    As far as I know, there is no tool to explicitly measure the number of operations performed under the hood. An option that could give you a more general overview of the complexity of your code using the VI Analyzer Toolkit. There are many tests that may give you some guidance on performance issues. I would check these items:

    http://www.NI.com/white-paper/3588/en/

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvvianalyzerhelp/complexity_metrics_tests/

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvvianalyzerhelp/vi_metrics_tests/

  • Wrong answer of the Windows Calculator

    Scientific calculator option gives the answer of rigth for example, 2 + 3 * 4, it gives = 14, which of course is 2 + 12 = 14.   BUT the Standard Calculator option gives the WRONG answer = 20 WHY?   There is no media so tell arithmetic rules don't multiply it all first, then add.  It's so bad that children at the school and everyone will be getting wrong answers and affect their learning?  This is false in all versions of Windows why?

    Hello

    To add to the excellent info from Linney:

    The scientific calculator uses the hierarchy of mathematical operations and the Standard Calculator
    covers the features 1 both in the order entered.

    Hierarchy of mathematical operations
    http://www.tpub.com/content/DOE/h1014v1/CSS/h1014v1_36.htm

    http://www.tpub.com/content/DOE/h1014v1/CSS/h1014v1_37.htm

    ---------------------------------------------------

    Karen - free Calculator - calculator precision
    http://www.KarenWare.com/PowerTools/ptcalc.asp

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How do you use the Exp fundtion on the windows calculator

    How do you use the Exp function in the windows for the following calculator

    Exponential of the negative power of 0.5

    e

    I don't have.
    I couldn't find an e = 2.71828183 key on the windows calculator.
    I used Google's built-in calculator function.

    The windows calculator, you will need to enter:
    2.71828183 [x ^ y] (-0.5) =.
    ||

  • "The file is maybe damaged. The file header checksum does not match the checksum calculated. »

    Hello

    I work with a HP Pavilion a6030n PC with Vista OS base. I had problems with the computer recently when starting. He continues to work at some point during the process and crash, forcing a hard stop. I'm not too computer savvy, but can generally work through questions. I tried several (and probably useless) methods to try to get the computer to work, with a modicum of success. Today, I received this message: "the file is maybe damaged. The file header checksum does not match the checksum calculated. "Hmmm... I looked through the forums and found a lot of computer-speak, who basically told me that I'm over my head. I thought that I would try at least ask the question before resorting to what is the hard drive a person to fix if all goes well.
    I can get it working again, or is my HP to his last breath?
    Thank you!

    If warnings getting You ' r files are corrupted, which could indicate a problem with the hard drive (most likely) or the memory/RAM in the computer (a little less likely but a good possibility).  Your computer came with a disk diagnostic or diagnostic software you can run to test the components inside?  You can also download this software and run it to see if he can help you narrow the possibilities.  Otherwise, I recommend to find a local repairman good and trustworthy and have them check for you if you are not adept at hardware troubleshooting.  It can get very frustrating and very expensive, very quickly.

  • Toshiba satellite running Vista. The file is possibly corrupted. The file header checksum does not match the checksum calculated

    Toshiba satellite running Vista. The file is possibly corrupted. The file header checksum does not match the checksum calculated. Tried all posisible boots and no joy, continues to turn it back on! Frustration...

    Hey James,.

    I does no change, I didn't download a document from my email (from a sender of confidence). I tried to start in safe mode, just, it restarts and goes back to the corrupted checksum display... Last known good config was the same result! The only error message is one that is in the title of this post, not others. Another detail, that I forgot to add is that it does not get insofar as a logo windows before it fails, just the toshiba start screen, then either passes the corrupt message checksum or a blue screen and restarts before I can read the text on the blue screen. Thanks for your response! Any additional help would be excellent if you can. In the meantime, I'll try your methods. Thanks again
    OK, I have now managed a Startup Repair trying over and over again. Restore all settings and now looks very good, thanks for your help!
  • error indicates "file is possibly corrupted. The checksum does not match the checksum calculated.

    Hello world

    I use Vista Home Basic, SP2. Windows takes a lot of time in the judgment and often fails to do this completely. Windows after logout again a soft purr at the disk continues. Windows fails to start quickly. After several reboot it starts and sometimes even refuse except CD assisted.

    In order to repair boot directly from CD is not possible either. Jump the trunk and windows from the Windows CD start loading.

    Error, States "Checksum error. The file is possibly corrupted. The checksum does not match the checksum calculated'.

    Do I have to reinstall windows or any help please.

    Jean-Philippe

    Hello

    I suggest you to follow the methods and check.

    I suggest you perform a check disk in Windows Recovery Options.

    What are the system recovery options in Windows Vista?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

    Warning of Chkdsk.

    Important: If all data on the hard disk may be lost when running chkdsk, as the chkdsk attempts to repair that affected sector.

    Diagnosing memory problems on your computer

    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-memory-problems-on-your-computer

  • Error: "the file is maybe damaged. the file header does not match the checksum calculated"during the installation of Windows 7/8

    * Original title: Question of re-Installation of operating system.

    I got the message during win 7 / Win 8 installation.

    "the file is maybe damaged. the file header does not match the checksum calculated.

    My config - processor Intel C2D, 2 GB of RAM, Intel motherboard, 500 GB HARD drive

    I have also replace Win 7 DVD and DVD player also replaced.

    I also reinstall my single RAM chip so many times. but the problem still exists.

    During Win XP SP 3 installation, no such message type not displayed. I can install it easily.

    Pls help me Sir, I would like to Win7 in my computer again.

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description of the problem, it seems that you are facing the question with the reinstallation of Windows 7 on your computer.

    Because the computer does not recognize the CD - R into the DVD player probably boot order is set to hard drive first. I suggest to change the DVD boot priority in the BIOS and then try to perform the Startup Repair.

    Note: BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    In order to make changes in the BIOS, I suggest you to contact the manufacturer of the computer.

    Method 1:

    Unplug all external devices connected to the computer with the exception of the keyboard and mouse and check if the problem persists.

    M odes 2:

    If the problem persists try the Startup Repair. It is one of the recovery tools in the System Recovery Options menu. This set of tools is on your computer's hard disk and on the Windows installation disc. To learn more about Startup Repair , you can refer to the below mentioned article:

    http://Windows.Microsoft.com/en-us/Windows7/Startup-Repair-frequently-asked-questions

    Method 3:

    In addition, if startup repair is not enough, you can perform a system restore, check if it helps you to solve the problem. For reference, you can see the article mentioned below.

    What are the system recovery options in Windows 7?

    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

    Note: when you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    Hope it would help. If problem persists always post back with the current state of your computer and the result of the proposed suggestion, we will be happy to help you.

    Kind regards

  • How can I remove the desktop calculator spreadsheet

    When you use the desktop calculator in Windows 7, I chose one of the spreadsheets just to see what it looked like. Now, I can't get rid of it.

    It is not very intuitive, but when you look at this view menu, leaves for work done in the last section.  It can be one of the first 3 options:

    • Base
    • Unit conversion
    • The date conversion

      .. .or it could be multiple worksheets, which are grouped into one position:

    • Worksheets
    To return to a normal view, select the basic option (or press Ctrl + F4, which is the keyboard shortcut for the "base" view inside the calculator).
  • Bad results using the scientific calculator

    When you use the scientific calculator of Wondows 7, when I type 126/(3.6*6.48), I get a wrong result: 23.328. When I use Excel to do the same, I get the correct result: 5.40. Any idea?

    I tried this using the scientific calculator and got the correct results, enter the numbers exactly how you wrote them and then hit equal.

  • basic mathematics - how to divide in the Windows Calculator?

    where is the symbol of the division on the Windows Calculator?  in other words, what key is the key of ' divide by?

    before the backslash or slash (/)

    Try: 50.00 / 2 = 25.00

    UTC/GMT is 16:56 Thursday, September 20, 2012

  • How is the Score calculated to the Disqualification/OWS priority

    How is the Score calculated to the Disqualification/OWS priority?

    I tried to ask support and they directed me in the direction of this forum?

    The implementation guide did not help http://www.oracle.com/technetwork/middleware/ows/documentation/ows-impl-guide-2235293.pdf

    Thank you

    Karen

    Pretty simple (and support should have been able to say, sorry).

    An alert can have several connections. Normally because registration of a given client (name) matches a number of names of different aliases of the same person or entity.

    Each of these relationships has a priority score that is configured in the matching to the Disqualification rules. Whatever the rule of correspondence formed this relationship has a priority associated with score that indicates the power of this game.

    (Default), the score of the priority of the alert is set to be the highest score of any relationship in the alert priority; in other words, the score of the game stronger.

    Mike

  • Type [0] unknown calculation for the dynamic calculation. Only default agg/formula/time balance operations are managed.

    Hi all

    I came across this error last Monday. I tried all the recommendations and configurations and nothing seems to work to solve the problem.

    Here is the error message-

    [Game Sep 24 12:04:27 2015] Local, ARPLAN, ARPLAN, Ess.Tee@MSAD_2010/9240/Error (1012703)

    Type [0] unknown calculation for the dynamic calculation. Only default agg/formula/time balance operations are managed.

    [Game Sep 24 12:04:33 2015] Local, ARPLAN, ARPLAN, Ess.Tee@MSAD_2010/9240/Warning (1080014)

    Abandoned due to the State [1012703] [0x2e007c (0x56042d17.0xeadd0)] transaction.

    [Game Sep 24 12:04:33 2015] Local, ARPLAN, ARPLAN, Ess.Tee@MSAD_2010/8576/Warning (1080014)

    Abandoned due to the State [1012703] [0x40007d (0x56042d18.0x781e0)] transaction.

    [Game Sep 24 12:04:34 2015] Local, ARPLAN, ARPLAN, Ess.Tee@MSAD_2010/736/Info (1012579)

    Total time elapsed Calc [Forecast.csc]: [621,338] seconds

    The script I'm running-

    SET CACHE HIGH;

    SET MSG SUMMARY;

    LOW GAME REVIEWS;

    UPDATECALC OFF SET;

    SET AGGMISSG

    GAME CALCPARALLEL 2;

    SET CREATEBLOCKONEQ

    SET HIGH LOCKBLOCK;

    FIX ('FY16', 'Final', 'Forecasts', '11 + 1 forecasts', 'prediction of 10 + 2', '9 + 3 forecast', '8 + 4 forecasts', "forecast 7 + 5", "6 + 6 forecast", "forecast 5 + 7", 'forecast of 4 + 8', '3 + 9 forecast', 'forecast 2 + 10', '1 + 11 forecasts')

    DIFFICULTY (@IDESCENDANTS ('entity'))

    CALC DIM ("account");

    ENDFIX

    DIM CALC ("entity", "Currency");

    ENDFIX

    In the essbase.cfg I have already included-

    NETDELAY 24000

    NETRETRYCOUNT 4500

    /Calculator cache settings

    CALCCACHEHIGH 50000000

    CALCCACHEDEFAULT 10000000

    200000 CALCCACHELOW

    Lockblock/set limits

    CALCLOCKBLOCKHIGH 150000

    CALCLOCKBLOCKDEFAULT 20000

    CALCLOCKBLOCKLOW 10000

    Please suggest if there is a way to fix this error. I get a similar error for other calculations as well.

    Kind regards

    EssTee

    And you are positive that no one came in a new Member at level 0 as dynamic Calc?

    What are the versions do you use?

  • Question form: How to get the percentage calculated?

    Hello!

    I have a form that is a Bill as form. I can't get the front total tax, then plug the percentage tax amount (it varies depending on the County, so it cannot be a static number), then adding total before tax plus taxes. HOWEVER, I also need to know what total percentage tax is in the form of $.

    For example:

    BOX A - Total before taxes: $10.00 (calculated by the form of the total above form)

    BOX B - percentage of the tax: 10% (filled by the user)

    BOX C - Total AMOUNT: $ 11.00 (calculated from above)

    What I need too, is:

    BOX - total tax: $1

    Its final form:

    BOX A - Total before taxes: $10.00

    BOX B - percentage of the tax: 10%

    BOX C - total taxes: $1

    AREA D - Total AMOUNT: $ 11.00

    Thank you!

    Is box B a real percentage field, or is it just a body of numbers?

    If the first case, as the custom calculation of box C script enter:

    Event.Value = number (this.getField("Box_A").value) * number (this.getField("Box_B").value).

    If it's the latter, then copy the following code:

    Event.Value = number (this.getField("Box_A").value) * (number (this.getField("Box_B").value) / 100);

    Then set the calculation of the D box as being the sum of area A and area C.

Maybe you are looking for