Any fuction to find out the percentage?

in my query i want to create one column with the percentage. iwant like below.
Customer - tablename.customer name
Amount -- sum(tablename.Amount)
Percentage of Amount - ?
EX: customer Amount percentage of Amount
i was trying to use sum(sum(table.Amount) .but it is throwing error. can anybody have any idea to do this easyly?

i was trying to use this function,but throwing me the message like this finction does not exist.
as per the document , same thing i am expecting .can anybody please suggest me anyother way?

Similar Messages

  • How can I find out the percentage of space taken up by a vector in a document?

    Hi all,
    I've been doing visual research over the last couple of years, and part of this has resulted in hundreds of in-design documents with vectors of varying sizes in each. Essentially, I'm hoping to find a quick way to find out the percentage of space occupied by these vectors. I can't figure out how to go in to each document and find the info on the selected vector. I know that Photoshop has options to see pixels when using selection tools, but I've found this both cumbersome and inaccurate.
    Any ideas would be greatly appreciated!
    Cheers,
    Kevin

    java.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
    int lineCount = 0;
    while( in.readLine() != null )
    lineCount ++;
    System.out.println( "Line Count = " + lineCount );

  • Is there any way to find out the serial number to an old ipod that i cannot find?

    theres a recall on the od ipod nanos the 1st generation ones and i purchased one and im not sure when and currently i am unaware of the whereabouts of the ipod. is there any way to find out the serial number without actually finding the ipod to confirm when i purchased it? thank you any help will be appreciated.

    iPod: How to find the serial number

  • Is there any way to find out the dependency information for column of view?

    Does Oracle provide some view / table / pl/sql pkgs to find out the dependency information for column of view ?
    For example, there are two table mytable1 (col1 varchar2(10), col2 date) & mytable2 (col1 varchar2(10), qty int), and there is one view myView as
    select mytable1.col1, col2, qty from mytable1 inner join mytable2 on mytable1.col1 = mytable2.col
    Can I get some information such as myView.col1 is come from mytable1.col, myView.col2 is come from mytable1.col2, myView.qty is come from mytable2.qty
    ?

    I can get the information about the columns list in table/view from ALL_TAB_COLUMNS table, but I wish to know the column in the view is come from which original table's column.
    Is there any way to find it out from Oracle meta data / through any PL/SQL packages ?

  • Finding out the percentage  from 2 different reports

    Hello Friends,
    I am using OBI 10g. I am trying to divide values from one report which has a total count with another report which has a count with a particular criteria. For example, one report has count of people living in various states and the other report has a count of people who are above 60 years living in those states. Now I want to calculate the percentage. Say 80 people are living in Florida and number of people over 60 years living in Florida is 40, so I have these 2 reports already on my page. I want a 3rd report which gives the % of these two reports ie (40/80)*100 = 50. I want to use this 3rd report on the same page. Please let me know how to accomplish this. Also, let me know if you need any other information.
    Thank You.

    Hello Srini,
    Thank You for the reply. Here the report for people over 60 years living in Florida is the result of combination of 6 reports (*using combine with another request*). I am not able to figure out how to pull people over 60 years living in Florida and
    people living in Florida in the below formula
    FILTER(Fact."# People" USING ( people over 60 years living in Florida))/FILTER(Fact."#People" USING ( people living in Florida))*100.0
    It will be helpful if you can advice me in this regard.
    Thank You

  • Any way to find out the serial number of the iPod I registered?

    My iPod was stolen a couple of days ago, and I need to find out what the serial number was (I registered it, but didn't write it down). Is there any way to get the serial # from Apple?
    iPod Nano   Windows XP  

    If you still have the box for the iPod it should say it on there...
    http://docs.info.apple.com/article.html?artnum=60978#four
    Hope This Helps
    CG

  • How to find out the percentage of code loaded using the load instrument vi

    i am loading my software through preload instrument.vi. Is there any way to know the percentage of the vi loaded, in parallel when the vi is getting loaded.

    I do not think so.
    If you carefully watch other loaders, you will see that the bars do not not update at a constant rate. They usually update in chunk fasion.
    You could get the size of all of the VI before starting the loads and update your progress bar based on percent of total code loaded. If smooth updatesis readlly important, you could track the load time vs files size and use that to do some periodic incremental updates.
    Cluge? yes!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Any way to find out the backend still in Process for the record after saved

    once after we create a record and save here we are using many procs and functions from backend, after the record saved is there any way we will know still the backend is still in process for that record to insert into concerned tables for that module?
    we are getting an error after the first record is saved for some reason the form is not getting clearing after the record is saved there is clear_form code is also there in my save button.
    this is my prod problem please do help me out..
    thanks in advance..

    The Commit will not return control to the form until it is finished. So unless you are starting asynchronous operations with things like DBMS_JOB it is not going to be a timing problem.

  • [WP8.1][C#]Is there any option to find out the User Own Mobile number Using c#?

    Hi,
    we are developing windows phone application. we need to show  user own mobile number in the app.
    Could  you please tell me about the possible to get the User mobile number in windows phone 8 0r 8.1 using c# ?
    Thanks in advance
    Regards
    Velmurugan D

    Hi velmurugandeva,
    To help clarify your post and let people easily tell what it is about, please use a clear and concise subject and include applicable tags.
    We will help to modify the tag base on this
    sticky post or you can modify it by yourself(recommended), and thanks for your cooperation.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there any option to find out the User Own Mobile number Using c#?

    Hi,
    we are developing windows phone application. we need to show  user own mobile number in the app.
    Could  you please tell me about the possible to get the User mobile number in windows phone 8 0r 8.1 using c# ?
    Thanks in advance
    Regards
    Velmurugan D

    Hi velmurugandeva,
    To help clarify your post and let people easily tell what it is about, please use a clear and concise subject and include applicable tags.
    We will help to modify the tag base on this
    sticky post or you can modify it by yourself(recommended), and thanks for your cooperation.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Sar command to find out total percentage of memory utilisation for a day.

    Hi,
    I am in a process of taking last 10 days average percentage of memory, CPU and Disk utilisation in solaris8.
    Can any one help me regarding in this.
    I found sar command and I got the details of CPU by using #sar -u -f sa23 command.
    For memory If I try sar command with �r option , it gives only free memory details only.
    #sar -r -f sa23
    00:00:01 freemem freeswap
    01:00:00 173009 14301230
    Average 172860 14302592
    Is there any way to find out total percentage of memory used?
    And also
    Total percentage of disk utilisation also in solaris8?

    vvsha wrote:
    # sar -r -f sa25
    00:00:00 freemem freeswap
    01:00:00 172847 14303687
    02:00:00 172816 14301232
    22:00:00 172680 14304828
    23:00:01 172676 14304467
    Average   172674 14302768
    Average value of freemem is 172674.The average amount of free memory over the course of a day doesn't seem to be that useful. I'd want to look for the low points (see if we're close to running out during some periods).
    Is this value in Megabytes?
    # man sar
         -r    Report unused memory pages and disk blocks:
               freemem
                     average pages available to user processes.So it's in pages. You can use 'pagesize' to verify your page size. On modern SPARC systems, it will be 8KB.
    from this value can we calculate total memory utilized for this day? like totalmem - freemem = usedmem Depending on what you mean by utilized, yes. Memory can be used for a disk cache, but that use is not shown by decreasing freemem. Uses that are counted are kernel reservations, runtime pages for applications, and direct memory allocations (malloc, etc.)
    Darren

  • How to find out the list of implemented OSS Notes in a particular period.

    Hi Friends,
    Need help.
    I need to find out the list of OSS Notes implemented in a period in a particular system.
    Could you please suggest the table or program or any way to find out the OSS Notes Implemented date wise?
    Thanks in Advance.
    Sreenivas

    Hi Sreenivas.
    How did you find the solution to this? Trying to do the same thing!
    Cheers,
    Tom

  • How to find out the position in which an application hangs

    Hi,
    is there any possibility to find out the position in a source, in which a deployed application hangs?
    For example, there is an endless loop in an application, which is already deployed. In runtime the application hangs in this loop. How can I findout in which line the application hangs?
    In other words, how can I see the stack of a certain process,for example, http_workerx?
    Regards,
    Ali
    Message was edited by:
            Ali Maraschi-Schouschtari

    Hi Ali,
    With <b>SAP NetWeaver Composition Environment (CE) 7.1 SP3</b> it is very easy.
    <i>1.) Open the SAP Management Console
    2.) Go to AS Java Threads tree node - you will see all the threads that are currently started on the system
    3.) Check for threads that are colored in red - it takes about 30 sec the system to detect that an HTTP thread (http_workerx), as it is in your case, is hanging/executing endless loop.
    4.) Right click on the hanging thread (colored in red) and pick 'Callstack' from the pop-up menu
    5.) In the new window you will see the stack-trace showing what exactly this hanging thread is doing at the moment.</i>
    With the <b>previous versions (or SPs)</b> you need to apply a little bit more technical skills for the same result. <i>(1) you need to do produce thread dump of the server that is suspected to have hanging thread</i> and (<i>2) to analyze this thread dump (check what the threads in Running state are doing).</i> As it is in your case with the HTTP worker threads, their names are also printed in the thread dump, so you can focus only on them.

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • How to find out the containing jinternalframe?

    anyone know the solution to this problem?:
    1. i have a jinternalframe
    2. in the jinternalframe i have a jlist
    3. each list cell is rendered with a jlabel
    4. i have an action emanating from one of the list cells
    5. in the action handler, i need to get a reference to the containing internalframe
    of the component that is the source of the event (the jlabel rendered inside
    the jlist).
    in java 5, oddly, SwingUtilities.getAncestorOfClass() (that is, walking up the
    component hierarchy) works.
    in java 6, it doesn't.
    the problem is that jlists and other such model components are leaf components.
    they represent a discontinuity in the component containment hierarchy. the poor
    list cell renderers are and must remain dumb.
    anyhow, back to my question: is there any way to find out the containing
    jinternal frame?
    thanks, eitan

    is there any way to find out the containing jinternal frame?Not sure about the Renderer part, but here's a simple demo that puts a JList in a JScrollPane, which is then put on a JPanel, which is then put on the contentPane of a JFrame. Once the frame has been realized (this is key), there's a recursive method that will find whatever you're looking for.import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MyFrame extends JFrame
      Component mysteryParent;
      public MyFrame()
        super("Find Parent");
        setName("The Amazing Frame");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JList list = new JList();
        JScrollPane scroll = new JScrollPane(list);
        scroll.setName("The Silly Scroll");
        JPanel panel = new JPanel(new BorderLayout());
        panel.setName("The Plain Panel");
        panel.add(scroll, BorderLayout.CENTER);
        Container c = getContentPane();
        c.setLayout(new BorderLayout());
        c.add(panel, BorderLayout.CENTER);
        pack();
        // first, let's try to find the containing frame
        mysteryParent = getParentOf(list, JFrame.class);
        if (mysteryParent != null)
          System.out.println("The frame that contains the list is: " + mysteryParent.getName());
        // then, let's try to find the containing panel
        mysteryParent = getParentOf(list, JPanel.class);
        if (mysteryParent != null)
          System.out.println("The panel that contains the list is: " + mysteryParent.getName());
        // finally, let's try to find the containing scroll pane
        mysteryParent = getParentOf(list, JScrollPane.class);
        if (mysteryParent != null)
          System.out.println("The scrollPane that contains the list is: " + mysteryParent.getName());
      // recursive method:
      public Component getParentOf(Component child, Class parentClass)
        Component parent = null;
        if (child != null)
          parent = child.getParent();
        if (parent == null)
          return null;
        else if (parentClass.isInstance(parent))
          return parent;
        return getParentOf(parent, parentClass);
      public static void main( String[] args )
        MyFrame frame = new MyFrame();
        frame.setVisible(true);
    }I just swagged this just now, so maybe it could be improved.
    I'm guessing that SwingUtilities.getAncestorOfClass() already does this, but I've never used it so I'm not sure.

Maybe you are looking for