How can i subtract?

In the following sql, i need to subtract nvl(m.evaluation_rights,0) from ooc.installs (which is found in the subquery)
i continually get an error ORA01722, invalid number
select m.model||CHR(9)||
m.ej_sftwr_id||CHR(9)||
m.ej_sftwr_lic_ty_txt||CHR(9)||
m.ej_technology_owner||CHR(9)||
m.ej_technology_monitor||CHR(9)||
m.ej_appl_own_empl_id||CHR(9)||
ooc.installs||CHR(9)||
nvl(m.evaluation_rights,0)||CHR(9)||
ooc.installs-nvl(m.evaluation_rights,0) <--------my attempt at subtracting
from modelm1 m,
(select ej_sftwr_id, count(*) installs
from computer r
where ej_sftwr_id like '1%'
group by ej_sftwr_id) ooc
where ooc.installs>nvl(m.evaluation_rights,0)
and ooc.ej_sftwr_id=m.ej_sftwr_id
order by m.model;
any help would be greatly appreciated

If you're sure to have only number in your columns :
SQL> select ename||sal-nvl(comm,0) from emp
SQL> /
select ename||sal-nvl(comm,0) from emp
ERROR at line 1:
ORA-01722: invalid number
Elapsed: 00:00:00.07
SQL> select ename||to_number(sal-nvl(comm,0)) from emp
SQL> /
ENAME||TO_NUMBER(SAL-NVL(COMM,0))
SMITH800
ALLEN1300
WARD750
JONES2975
MARTIN-150
BLAKE2850
CLARK2450
SCOTT3000
KING5000
TURNER1500
ADAMS1100
JAMES950
FORD3000
MILLER1300
14 rows selected.
Elapsed: 00:00:00.00
SQL> Nicolas.

Similar Messages

  • How can I subtract in formcalc  sum(amount[0],amount[1],amount[2])

    How can I subtract amount[3] from this sum?  sum(amount[0],amount[1],amount[2])

    sum(amount[0], amount[1], amount[2]) - amount[3]
    Kyle

  • How can i subtract budget and actuals amount from gl_balances in discoverer

    I have a problem with a discoverer report.
    The table is GL_BALANCES (Financials), and i tried to subtract data of current year and last year, same month, or data from actuals and budgets amounts.
    Data from actuals have the "A" code in the ACTUAL_FLAG field, and budgets amounts have a "B" code. I construct a cross-tab report with ACTUAL_FLAG field in the "X" axis and the accounts segments in the "Y" axis (From GL_CODE_COMBINATIONS). The problem is: How can i substract budget and actuals amounts? Is the same field but differents columns in report.
    I cannot use analytics function because the version of database does not support that .
    Somebody told me: "...You need to construct a custom folder to handle this..."
    I don't want to finish the reports in Excel...
    Thanks.

    Hi Miguel
    You can either create a database view or custom folder to do this using aliases for the two joins to the same table.
    For example, you need something like this in the body of the SQL:
    select
    act.code_combination_id,
    nvl(act.period_net_dr,0) actual_net,
    nvl(bgt.period_net_dt,0) budget_net,
    nvl(bgt.period_net_dt,0) - nvl(act.period_net_dr,0) diff,
    act.period_name
    from
    gl_balances act,
    gl_balances bgt
    where
    act.set_of_books_id = bgt.set_of_books_id and
    act.code_combination_id = bgt.code_combination_id and
    act.period_name = bgt.period_name
    Of course you will still need to add your own joins to get the code combinations but I trust you get the gist.
    Hope this helps
    Regards
    Michael

  • How can i subtract two numeric numeric numbers from two switch cases ?

    I have two switch cases in my labView program. I can see them individually on front panel but i need to subtract them and see the result on front panel. 
    Can someone please help me out...
    I am trying to display (Result1 - Result 2) on my front panel. Result1 and Result2 will change with time.
    Regards,
    Awais 
    Attachments:
    play4.vi ‏122 KB

    Move result 1 and result 2 out of the case structures and subract them.
    Right now result 1 or result 2 only get written to if its respective comparison is true.  What do you want to do with the math if either comparison is false?  You haven't defined your problem clearly enough.

  • How can I subtract a percentage?

    Is there a way to subtract percentages? Here is an example of
    what I need to do: 138 - 5% = 131.1
    Some of what I have is...
    <cfset HDQty = 6>
    <cfset HDSAmplePrice = #getSamplePrice.HDPrice#>
    <cfset HDSubTotal = #HDQty# * #HDSAmplePrice#>
    <cfset HDDiscount = #getDiscount.DiscountAmt#>
    This is where I don't know what to do, obviously if I just
    subtract the discount it minuses 5 not 5%
    <cfset HDTotal = #HDSubTotal# - #HDDiscount #>
    Any and all help is greatly appreciated!!!

    quote:
    Originally posted by:
    ICSchaef
    Is there a way to subtract percentages? Here is an example of
    what I need to do: 138 - 5% = 131.1
    Any and all help is greatly appreciated!!!
    Write it out manually first.
    138 - (138 * .05)
    Then convert it to code.

  • How can can i subtract the value of the column in each row ?

    I want to subtract  the value  of the column in each row if the row is not enough then continue to next row.
    For example 
    ID             QTY
    A               20
    B               40       
    C               60
    I want to update this table by subtract  the value  of the column (QTY) out 70 so the result i want will be 
    ID              QTY
    A                20 - 70 = -50 -->  0 this row will be updated to 0 and 50 will continue to next row   
    B                40 - 50  = -10 -->  0   this row will be updated to 0 and 10 will continue to next row
    C                60 - 10  = 50  -->  Stop loop
    How can i write the sql query for this operation , Thanks

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You have no idea,
    do you? Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. What did you try on your own before posting? I will bet that you did nothing! You expect other people to do your job or homework for you. 
    >> I want to subtract the value of the column in each row if the row is not enough then continue to next row. <<
    This makes no sense. Rows have no ordering; that is a spreadsheet. There is no such thing as a generic “id” in RDBMS. And an identifier is not a sequence which would have an ordering. 
    CREATE TABLE Foobar
    (something_seq INTEGER NOT NULL PRIMARY KEY,
     onhand_qty INTEGER NOT NULL);
    Learn how to use the SUM()OVER() and LAG() aggregate functions, post what you tried for yourself and then we will help you. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How can I get  the part image from a rectangle region?

    hi,
    I'm trying to draw a rectagle region on a picture with mouse and crop it. but the rectangle is not vertical along x-axis.that is to say, there is a angle between x-axis and the base of the rectangle. I don't know , how can I do it. Can someone give me some tip or some java-code. Thank you very much in advance.

    I completely misunderstood your question. As I read it again it seems clear and straight-forward. I'm sorry. Let's see if this is closer.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class CropImage
        BufferedImage original;
        CropPanel cropPanel;
        CropSelector selector;
        public CropImage()
            original = getImage();
            cropPanel = new CropPanel(original);
            selector = new CropSelector(cropPanel);
            cropPanel.addMouseListener(selector);
            cropPanel.addMouseMotionListener(selector);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(getUIPanel(), "North");
            f.getContentPane().add(new JScrollPane(cropPanel));
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        private BufferedImage getImage()
            String fileName = "images/coyote.jpg";
            BufferedImage image = null;
            try
                URL url = getClass().getResource(fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.err.println("url: " + mue.getMessage());
            catch(IOException ioe)
                System.err.println("read: " + ioe.getMessage());
            return image;
        private JPanel getUIPanel()
            final JButton
                mask    = new JButton("mask"),
                crop    = new JButton("crop"),
                restore = new JButton("restore");
            ActionListener l = new ActionListener()
                public void actionPerformed(ActionEvent e)
                    JButton button = (JButton)e.getSource();
                    if(button == mask)
                        selector.mask();
                    if(button == crop)
                        selector.crop();
                    if(button == restore)
                        cropPanel.restore(original);
            mask.addActionListener(l);
            crop.addActionListener(l);
            restore.addActionListener(l);
            JPanel panel = new JPanel();
            panel.add(mask);
            panel.add(crop);
            panel.add(restore);
            return panel;
        public static void main(String[] args)
            new CropImage();
    class CropPanel extends JPanel
        BufferedImage image;
        Dimension size;
        GeneralPath clip;
        Point[] corners;
        Area mask;
        boolean showMask;
        Color bgColor;
        public CropPanel(BufferedImage bi)
            image = bi;
            setSize();
            clip = new GeneralPath();
            showMask = false;
            bgColor = getBackground();
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int x = (w - size.width)/2;
            int y = (h - size.height)/2;
            g2.drawImage(image, x, y, this);
            if(showMask)
                g2.setPaint(getBackground());
                g2.fill(mask);
            else
                g2.setPaint(Color.red);
                g2.draw(clip);
        public Dimension getPreferredSize()
            return size;
        public void setClip(Point[] p)
            corners = p;
            clip.reset();
            clip.moveTo(p[0].x, p[0].y);
            clip.lineTo(p[1].x, p[1].y);
            clip.lineTo(p[2].x, p[2].y);
            clip.lineTo(p[3].x, p[3].y);
            clip.closePath();
            repaint();
        public void clearClip()
            clip.reset();
            repaint();
        public void setMask(Area area)
            mask = area;
            showMask = true;
            repaint();
        public void setImage(BufferedImage image)
            this.image = image;
            setSize();
            showMask = false;
            clip.reset();
            repaint();
            revalidate();
        public void restore(BufferedImage image)
            setBackground(bgColor);
            setImage(image);
        private void setSize()
            size = new Dimension(image.getWidth(), image.getHeight());
    class CropSelector extends MouseInputAdapter
        CropPanel cropPanel;
        Point start, end;
        public CropSelector(CropPanel cp)
            cropPanel = cp;
        public void mask()
            Dimension d = cropPanel.getSize();
            Rectangle r = new Rectangle(0, 0, d.width, d.height);
            Area mask = new Area(r);
            Area port = new Area(cropPanel.clip);
            mask.subtract(port);
            cropPanel.setMask(mask);
        public void crop()
            Point[] p = cropPanel.corners;
            int w = p[2].x - p[0].x;
            int h = p[1].y - p[3].y;
            BufferedImage cropped = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
            Graphics2D g2 = cropped.createGraphics();
            g2.translate(-p[0].x, -p[3].y);
            cropPanel.paint(g2);
            g2.dispose();
            cropPanel.setBackground(Color.pink);
            cropPanel.setImage(cropped);
        public void mousePressed(MouseEvent e)
            if(e.getClickCount() == 2)
                cropPanel.clearClip();
            start = e.getPoint();
        public void mouseDragged(MouseEvent e)
            end = e.getPoint();
            // locate high and low points of rectangle from start
            int dy = end.y - start.y;
            int dx = end.x - start.x;
            double theta = Math.atan2(dy, dx);
            double spoke = start.distance(end)/2;
            double side = Math.sqrt(spoke*spoke + spoke*spoke);
            Point[] corners = new Point[4];           // counter-clockwise
            corners[0] = start;                       // left
            int x = (int)(start.x + side * Math.cos(theta + Math.PI/4));
            int y = (int)(start.y + side * Math.sin(theta + Math.PI/4));
            corners[1] = new Point(x, y);             // bottom
            corners[2] = end;                         // right
            x = (int)(start.x + side * Math.cos(theta - Math.PI/4));
            y = (int)(start.y + side * Math.sin(theta - Math.PI/4));
            corners[3] = new Point(x, y);             // top
            cropPanel.setClip(corners);
    }

  • How can I disarm the counter in a specified time?

    I am using 6602 counter. I use 2 counters to perform "Buffered Period Measurement ". I use internal time base (20MHz) as the SOURCE, and wire the signal to the Gate. The counters are triggered by a trigger signal.
    Now I just want to stop counting the signal in a specified time after the counters triggered. After that time, even the input signal is still running,the counting must be stopped. How can I implement this purpose? I don't know how to disarm the counter when the counter are still running, and how to exactly determinate the stop time.
    Thanks for any advise. I have attach my present routine here.
    Attachments:
    counters.vi ‏192 KB

    Just to expand a bit on Justin's answer to outline a few particulars.
    You mentioned using 2 counters to capture buffered periods so I'm assuming that you'll enable triggering to guarantee that they both have the same start time. Note that in this scheme, element #0 of your array of buffered periods will represent the time from the Trigger edge until the first Gate edge.
    Since your description made it sound acceptable to ignore pulse periods occurring later than the interval of interest, perhaps you can collect data for a little longer than necessary, then reset the counters and trim off the periods that came in "too late" using 'Array Subset.' A quick-and-dirty way is to loop over each array of periods, performing a cumulative sum until it exceeds the specified data collection time interval. That'll tell you the length of the subset you need to keep.
    The hard part is that after starting the measurement, you'll need to poll task attributes/properties to determine when the trigger has been received. Only after that's been determined would you start keeping track of approximate time in software.
    There are ways to do the timing in hardware if you get more of the 6602's counters involved. Here's one way:
    1. First configure your 2 counters for buffered period measurement. However, instead of using the internal timebase for a Source, use another counter's output as a Source. Under DAQmx, the internal routing details are handled for you; under traditional NI-DAQ, you'll need to make explicit routing via RTSI.
    Note that in this scheme, these 2 counters don't need to be triggered.
    2. Next, generate a finite-duration pulse train at 20 MHz (examples can be readily found under LabVIEW help or this website). This pulse train should last for your data collection time interval, and will act as the Source signal for your period measurements. It is important that the period-measuring counters are started before the finite pulse train.
    The finite pulse train uses 2 counters -- one to generate the output pulse train at 20 MHz and a "helper" that produces a single pulse whose duration equals your data collection interval time.
    If you need to synchronize to some external trigger signal, you can set the "helper" counter to be triggered, but there'll be one subtle catch. The first period measurement in your buffers will not include the time from the external trigger signal until the beginning of the single "helper" pulse, i.e., the "delay" time spec for the pulse. You can either make this very very short and ignore it, or make it any convenient duration and then add it to the first period measurements. Be careful though: the timebase for this "delay" time isn't necessarily the same as the timebase used to measure periods.
    There's quite a bit of complication there, so let me suggest an easier way that assumes no need to synchronize to an external trigger. (I'll use DAQmx terminology, since the traditional NI-DAQ would get complicated again with explicit RTSI signal routing.)
    A. As describe in #1 above, configure your period-measuring counters to use a 3rd counter's output as the timing source terminal.
    B. After starting your 2 period-measuring counters, start up the 3rd counter to generate a continuous 20 MHz pulse train.
    C. After the 3rd counter starts, call the 'Wait (ms)' function from the Time & Dialog palette. Wait for slightly longer than your desired collection time.
    D. Read all buffered periods from the counters. You may need to first query each to find out how many are waiting to be read.
    E. Reset all 3 counters.
    F. Do the cumulative sum work on the two buffered period arrays to determine where each should be truncated.
    Note that step "C" above will leave you stuck while data is being collected. A small variation would be to read a reference time ("Tick Count (ms)") right after starting your 20 MHz counter, then set up a loop that allows you to terminate early (logical OR of, say, "abort" button, data acq error cluster error, and time comparison). In that loop, you put a delay of maybe 50-200 msec using "Wait (ms)."
    "Wait (ms)" will output a tick count from which you subtract the reference time. When the difference exceeds your data collection time, you can exit the loop and continue with step D above.
    -Kevin P.

  • I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me?

    I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me? The final result would be a spreadsheet telling there were 8 people from 20 to 39 years old, 14 peolple from 40 to 59 and so on...

    jpqcampos wrote:
    This appears to be an 'input form' using 'Radio Buttons' to select the category. Neither of these features are supported in Numbers '09.
    You can input the data on one table and summarize it on a second table, but the input table will continue to hold data for each event.
    And by using the Reorganize button, you can hide all but two rows of that table to approximate the appearance and performance of an input form.
    Here are the two tables, Data on the left and Summary on the right. Notes below.
    The grey-filled columns in both tables are 'working' columns, and may be hidden (as shown in the image below).
    Data table:
    D1 contains the word "TRUE" (in capital letters). (This row is always shown.)
    D2 is empty, or may contain any value except "TRUE" (This row is always hidden under the Reorganize rule.)The rest of Row 2 of this table requires the data shown: a number outside the range to be counted (999), and two checkboxes, both checked.
    D3 (and filled down the rest of column D):   =AND(OR(B2,C2),NOT(OR(B3,C3)))
    The formula returns TRUE only for the first unused row in the table (ie. the first row for which neither checkbox has been checked)
    Summary table:
    Column A contains labels for the age ranges to be counted.
    Column B contains the same information in the form necessary for the formulas in columns C and D. They need a numeric value, and that value must be the largest acceptable value in the range to be counted.
    C2 (and filled right to column D, then both filled down to row 5):
        =COUNTIFS(Data :: $A,"<="&$B,Data :: B,TRUE)-SUM(C$1:C1)
    Two changes from the previous example:
    COUNTIFS is used to separate the Native and Foreign counts as well as the age range to be counted.
    The amount subtracted from each result is the SUM of the earlier results, and includes the text value in the first cell of the column (which is interpreted by SUM as a zero).
    See note below regarding my earlier formula.
    When the greyed columns are hidden and the checkbox in the Reorganize pane is checked, the two tables will appear as shown below:
    Close the reorganize pane, and the 'data entry form' is ready to use.
    To use, enter the age first, then check one of the boxes.
    As soon as one box is checked, the row will be hidden, and the next (unused) row will be shown.
    Regards,
    Barry
    Note regarding formula in my earlier post:
    The earlier formula will give erroneous results as it subtracts only the count directly above it from its count of persons in the age range 0-n.
    In E2 of that table, replace "-E1" with "-SUM(E1:E$1)
    Fill down to E8.
    Ignore the instructions (in that post) following "Fill down to E8."
    B

  • How can I calculate a day of a week?

    I want to calculate a day of a week.But I always getting ArraysOutOfBoundException.Here's my code:
    import java.util.*;
    import javax.swing.*;
    class daydate{
         public static void main(String args[])throws Exception
         String arr[]={
              "satarday","sunday","monday","tuesday","wednesday","thursday","friday"
    String output="",op="",m,m1,m2;
         Calendar calendar=Calendar.getInstance();
         int i=calendar.get(Calendar.DAY_OF_WEEK);
    /*if(i>6)
         i=i-7;*/
    // System.out.println(i);
         output+="\ntoday is :"+arr[i]+"\n";
         JOptionPane.showMessageDialog(null,output,"day",JOptionPane.INFORMATION_MESSAGE);
         m=JOptionPane.showInputDialog("Enter year.");
         int n=Integer.parseInt(m);
    m1=JOptionPane.showInputDialog("Enter month.");
         int n1=Integer.parseInt(m1);
         m2=JOptionPane.showInputDialog("Enter date.");
         int n2=Integer.parseInt(m2);
    calendar.set(n,n1,n2);
    int j=calendar.get(Calendar.DAY_OF_WEEK);
    /*if(j>6)
    j=j-7;*/
    //System.out.println(j);
    op+="\nthat day is/was :"+arr[j]+"\n";
         JOptionPane.showMessageDialog(null,op,"day",JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    the error is:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
         at CalculateDay.main(CalculateDay.java:28)
    I wonder using calendar.get(Calendar.DAY_OF_WEEK) makes the value of i=7;But my array's highest value is 6.That's why I always get the above error.
    How can I solve that?

    I think the DAY_OF_WEEK is working from 1 to 7, and
    Saturday, on my PC (UK GregorianCalendar) is 7. Your
    array is based 0, and only work from (0-6).
    Either subtract 1 from the value DAY_OF_WEEK, or add
    a blank item at the beginning of the list.
    Better, I think is used the built-in capability using
    public String getDate(String format){
    Calendar c = new GregorianCalendar();
    Date d = cal.getTime();
    DateFormat df = new SimpleDateFormat(format);
    return df.format(d);
    You can then call the getDate() with various formats
    ie.
    getDate("EEE") alone to get "Wed, Thur" .. etc
    getDate("dd/MM/yyyy HH:mm:ss") to get the current
    Date and time in that format.
    Hope it helps.Thanks William for your valuable help.Anyway,you wrote,
    Date d=cal.getTime();
    Is it cal or c?

  • How can I duplicate a control in a subVI using the reference?

    Here's what I want to do. I have a tree control in my main application. I add and delete items dynamically based on user input. If I pass my tree reference to a subVI, I can add, subtract and reorder the items in the tree and the changes are shown on the main tree. How can I duplicate the tree in the subVI? Would I simply pass the tree control in (which I'd rather not do) or is there some other way to accomplish this?
    Thanks in advance for any help.
    Gary

    Here's my attempt.  This VI uses a control reference of the old tree and generates a data structure that can be used by the "Edit Tree Items.Add Multiple Items to End" method to add contents to the new tree that should be identical to the contents of the original tree.  Note that this VI only works with LabVIEW 8.0 and later, since the afore-mentioned method is not available in previous versions.
    I hope this helps...also note that I saw some re-draw issues with LabVIEW 8.0, i.e. after the VI ran, I didn't see the tree displayed properly until I minimized/restored the window, or dragged another window over it.  I did not see the redraw issues in LabVIEW 8.2.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Duplicate Tree.vi ‏21 KB

  • How can I determine how long it take the lab view circuit to execute once?

    I'm working on a temperature control labview simulation that works with an external temperature device and I have my labview stimulation set up so that I can turn a external light on or off (which is in a chamber) and the temperature is measured inside that chamber and I displayed versus time in the labview x-y graph. I can internally turn the heat source (the light) on or off and see the waveform change. Now the information that is being displayed on the waveform is also being saved to a data file. And I noticed that as soon as I run the stimulation of the circuit on the first input into the labview while loop is from the data file. now the first execution of the simulation will start as soon as the data files sends an input into the while loop and the second execution of the labview loop will happen the next time the data file inputs something into the while loop of labview. Now, by using circuitry inside the while loop, how can I record the actual time of the initial input (into the while loop) along with the time of the second input into the loop so that I can determine how long it take for one execution in labview will take.

    One thing to keep in mind about the Tick Count VI. It uses the ms clock from the CPU which rolls over back to zero after it reaches an upper limit. You might end up getting very large negative values if you subtract the current value from the last value.
    Once every 39 (?) days that can happen but are you sure abou the large negative thing?
    I seem to remember Rolf saying that the math takes care of itself. A quick experiment confirms that memory.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • "What Size" results question. How can I locate used GB not appearing on HD?

    My Version Tracker "What Size" results are as follows:
    / - on disk 91.4 GB
    Capacity 465 GB
    Used 145 GB
    Available 320 GB
    71.1 GB Users
    8.61 GB Applications
    6.34 GB Library
    2.67 GB username
    1.43 GB System
    I have about 30 GB of songs, 5 GB of Pictures, and 30 GB of movies. So I am confident that the "Users" total (71.1 GB) is in keeping with what I have used. (And Users, Applications, Library, username, and System all equal what is "on disk, 91.4 GB.")
    What I am wondering is, how can I locate the unaccounted for 53.6 GB? (Which is 91.4 subtracted from the "Used 145 GB.")
    I have been unsuccessful in finding any searches related to this subject that I can use. I found a couple about using Terminal, however, I would need step by step procedures for that.
    Any ideas, articles, or threads anyone can point me to?

    368/2814
    Hi jpwill,
    First of all, always keep in mind the double standard problem that prevents from being able to make straight, simple, easy counts. See:
    - (KB article # 30065) Macintosh Hard Disk: Is It Missing Space?
    Then, WhatSize should be run separately from each user account, as you cannot use it to spy on the others, it doesn't take into account the others' files.
    Also: some system files like VM have a fluctuating size. Quit as many apps as you can and test if several measurements give different results.
    WhatSize is able to show (one user's) every folder and every file. Use its different ways to show results, and detect the "strange" sizes firstly from what should be expected.
    It is very possible that a file has grown huge for some reason.
    Let us know if you have a question about some particular files!
    Axl

  • I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when i select the customer?

    I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when I select the customer?
    iselect the customer?

    Hi bazza,
    We won't be able to put the address from a formula into the same cell that you enter the customer's name. We can put the address in the cell under the customers name.
    First let's take James advice and concatenate the address in the address table.
    Here is the formula in G2
    =CONCATENATE(B2&"
    ",C2&"
    ",D2&"
    ",E2)
    It shows this way because after I clicked on B2 and typed [&"] (no brackets) I typed option-return
    This gives you your new line. Then I typed the closing ". I repeated this for the rest of the address.
    Next we want to bring this to your order sheet. I prefer using the two formulas OFFSET and MATCH instead of VLOOKUP.
    base tells OFFSETwhere to start counting from. Click A1.
    row-offset is for the row. we will use MATCH() -1 to give us the row.
    What MATCH does is give you the row number where something is found and you can specify an exact match. I usually construct the MATCH formula first and then cut and paste it into OFFSET. MATCH looks like this: MATCH(A2,Table 1::A,0). A2 is what we are looking for, Table 1A::A is where we are looking (the entire column A), and 0 means we want an exact match. Can you see it inside the OFFSET formula? Notice that we had to subtract 1 from its result.
    column-offset tells OFFSET which column A=0 so we want 6.
    we ignore "rows", "colomns" we don't need them.
    If this seems like too much, just break it down into small pieces.
    quinn

  • How can i use substitution variable

    Hai All
    This is my sql statement
    SELECT (TO_DATE(TO_CHAR(Intime,'DD-MON-YYYY')||' '||
    TO_CHAR(0815,'0000'),'DD-MON-YYYY HH24:MI')-intime) * 24*60
    from dail_att where to_char(intime,'hh24mi') between 0700 and 0815 ;
    Here my table name called Dailyattendance
    Intime field is declared as Date Type
    So now i have hardcoded 0815 and now my intime is subtracted from this time so i can calculate the employee
    coming late so how can i use substitution variable here to give the value at run time
    Ie i need to give 0815 instead or any other time at runtime
    Thanks In advance
    Srikkanth.M

    Where exactly are you planing to use it? Is sqlplus or at any other front end?
    One way is to use below given SQL
    SELECT   (  TO_DATE (   TO_CHAR (intime, 'DD-MON-YYYY')
                         || ' '
                         || TO_CHAR (:TIME_VAR, '0000'),
                         'DD-MON-YYYY HH24:MI'
              - intime
           * 24
           * 60
      FROM dail_att
    WHERE TO_CHAR (intime, 'hh24mi') BETWEEN 0700 AND 0815;*009*
    Edited by: 009 on Apr 6, 2010 2:15 AM

Maybe you are looking for

  • K8N NEO2 Platinum rebooting

    Hi all,just got myself a 64bit MSI K8N NEO2 Platinum board & a 3200+,am happy with it but a couple of days ago i got a blue screen with a long message that i didnt have time to read before the pc rebooted,after the reboot i checked the event viewer l

  • Installing and activating Creative Suite 6 Design Standard on two computers?

    Hello! I purchased Creative Suite 6: Design Standard as a physical copy (with a CD) about a couple of years ago. I've installed it on my iMac, but now that I purchased a Mac Book Pro, I'd also like to install the package on the laptop. My new Mac Boo

  • Where's can i Buy any Professional Authoring DVD for IMAC, did you know about Studio DVD pro ?

    I need help, i need buy or dowload some Professional Authoring DVD for IMAC, I editing in my Final Cut Pro X and need a DVD authoring after installing the Mavericks, my IDVD don't work, can someone help about this ? also, did you know if DVD studio p

  • "DefaultNetworkAccounts" in 11g

    Anybody tried to assign default accounts to users in UCM 11g? (I'm testing this on 11.1.1.5., just to see it fail.) It doesn't seem to matter if you add the accounts to the JPS user provider configuration, or if you add "DefaultNetworkAccounts =your_

  • 15" rMBP is Overheating on Windows 8 Pro

    I have a 15'' rMBP laptop that dual boots osx 10.8 and windows 8 pro. I have noticed that the laptop is running very hot while booted in windows 8 and doing low power stuff, like browsing the web and clicking around (not using any graphic intensive p