How to add subtotals using categories

Hello,
I’m using categories and in two of my columns I’ve added a SUBTOTAL from  the category cell dropdown menu; so far so good.
Now I need to add the two subtotal cells across the row to get a Total, and find that the SUM function doesn’t work the same as in a non-category row.  In a non-category row I can select two cells then drag the SUM function to a ‘tally’ cell and voila I have a total. But when I try this with the category > subtotal cells , nothing happens.
Any suggestions?
Thanks.
Ramone

Hi Ramone,
Categories are essentially a way of viewing the data on a table. While you can  calculate and display (in the category rows) several numerical quantities associated with each category, the results of these calculations are 'for display only', and to my understanding, can't be used in further calculations.
Outside the category rows, you may be able to accomplish what you want using SUMIF, SUMIFS and similar functions to create the subtotals, then add those two in the usual manner.
Regards,
Barry

Similar Messages

  • How to add rows using DefaultTableModel?

    I'm trying to figure out the ins-and-outs of creating a dynamic table.
    I looked for a tutorial, but none of the example programs I found dealt with my particular issue, nor did they explain anything.
    For instance, most of the examples looked like this:
            table = new JTable();
            defaultModel = new DefaultTableModel(10,5);
            setModel(defaultModel);But that doesn't work for me -- I'm creating a class that EXTENDS DefaultTableModel, and so if I want to send in parameters, I have a problem.
              public MyTableModel() {
                            super(data, columnNames);
                    ...The above code complains that "you can't access data or columnNames until you call super()!"
    But I've seen plenty of example code that DOES send in parameters to super(). How do they get away with that? Is it because they are parameters to the constructor, whereas private/public members of the class are somehow different?
    I thought a variable is a variable -- why is one allowed but not the other?
    Lastly, I'm trying to figure out, practically speaking, how to load a database with X items, and be able to add rows later. Does that mean I need to use a vector for my data instead of Object[][]?
    I've seen BOTH AbstractDataModel and DefaultTableModel used with dynamic tables -- is there any difference between them as far as dynamic tables are concerned?
    I was under the impression that I needed to "switch" from ADM to DTM if I wanted to be able to add rows to my table at runtime.
    Here are some references to previous discussions I found/participated in on this topic:
    http://forum.java.sun.com/thread.jspa?threadID=5224966
    http://forum.java.sun.com/thread.jspa?threadID=439141&start=0&tstart=0
    Thanks in advance for any help,
    Matthew

    -> I'm creating a class that EXTENDS DefaultTableModel, and so if I want to send in parameters, I have a problem
    Well, you would pass in the data and columnNames as parameter when you create your table model.
    -> Lastly, I'm trying to figure out, practically speaking, how to load a
    -> database with X items, and be able to add rows later. Does that
    -> mean I need to use a vector for my data instead of Object[][]?
    You just said you extended DefaultTableModel. Well you don't need to do anything it already manages the data for you. You just use the methods provided to update and change the data.
    -> I've seen BOTH AbstractDataModel and DefaultTableModel used with dynamic tables
    No you haven't. You really don't understand what an AbstractDataModel is do you? Its nothing. You can't use it. It doesn't have any storage for the data, and since there is no data storage you can't access the data or change it. You can't even create an AbstractTableModel. Read your Java text on what an Abstract class it.
    The DefaultTableModel extends the AbstractTableModel to provide data storage and ways to get the data and change the data. It notifies the table when any change is made to the data so the table can repaint itself.
    -> How to add rows using DefaultTableModel?
    Finally, the DTM provides methods that make the model dynamic. Methods for adding and removing rows or adding and removing columns. Read the API for more information.
    If you still don't understand how how the methods work then search the forum for examples that use the methods you don't understand. I've posted an example the uses the methods required to add rows or columns.

  • How to add songs using itunes

    how to add songs using itunes

    Select your iPhone by clicking the button toward the upper-right, e.g.:
    then see:
    http://support.apple.com/kb/PH12313
    Regards.

  • How to add BusinessPartner using DI server?

    Hi expert,
         previous i used DI API  for BP and Sales Order Add.Now i want to add  BP and SalesOrder using DI server.Please help any expert ,
         1 How to add BusinessPartner with address using DI server ?
         2 How to add Sales Order using DI server ?
    thanks & regards
    Surajit

    HI, Surojit
    Use B1WS, it will be easy to develop the app with DI Server.

  • How to add DFF using OA Framework Extensions

    Dear Members,
    I am very new to OA Framework. I have a requirement where i need to add a DFF to a standard Oracle form in iExpense.
    How do we achieve this. Can we do this using forms personalization?
    Following are the details of the OAFramework version in our company:
    Product/Component Version
    OA Framework - 11.5.10 4RUP
    Oracle Applications Extension - 9.0.3.8.13 - build 1541
    Business Components - 9.0.3.13.87
    UIX (Cabo) - 2_2_24
    BiBeans Runtime - 3.1.0.70 nondebug BI Beans OAF 11.5.10 Production Release
    MDS - 9.0.5.4.89_555
    XML - Oracle XDK Java 9.0.4.0.0 Production
    AOL/J - Applications Object Library, Core Java Roll Up Patch J
    Servlet - 2.2
    Java - 1.4.2
    JDBC Driver - 9.2.0.6.0
    Database - Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    Operating System - AIX 5.3
    Browser - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 2.0.50727; InfoPath.1)
    Your Comments are greatly appreciated.
    Thanks
    Sandeep

    Sandeep,
    First of all check the Table on which you are having your DFF. If its at the same level as of the Page (I mean the Page VO is on the same table) then there is a high likelihood that ORacle would have provided the DFF and you just need to set the rendered property to true. In Personalize Page you need to provide a Segment List which is a concatenated list of AttributeCategory and allowed Segments for the DFF.
    Dev guide is a good place to look for details.
    Regards
    Sumit

  • Does anyone know how to add time using TIME function?

    Hi,
    I just switched from Excel (lol) and found an error in a key calculation i use. Does anyone know how to automatically add hours to a time? i.e. i have to convert Pacific Time to other U.S. Time Zones so in the past I used this formula in Excel (=B6+TIME(3,0,0)) which is now not working in Numbers. Is there an equivalent?
    Thanks for your help!
    Alexandra

    Hello
    The Terms of Use ruling this forum states:
    -+-+-+-+-+-+-+-
    +to help you resolve issues, ask questions, get tips and advice, and more.+
    +If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages.+
    +How do I post a question? ‚+
    +_If you searched the forums and didn't find an answer to your question or issue_, click the Post New Topic link at the top of a relevant forum page to post your own question.+
    -+-+-+-+-+-+-+-
    Your question was aked and responded many times.
    Searching in existing threads would have give you the response.
    When I try to help users in English, I often look in a dictionary but it seems that for many users, reading the Help or the PDF User's Guideis too much work.
    In cell D3, the formula is simply:
    =TIME(HOUR(B)HOUR(C),MINUTE(B)+MINUTE(C),SECOND(B)SECOND(C))
    which match the Numbers's syntax which, what a surprise, is not XL's one
    Yvan KOENIG (from FRANCE mercredi 28 mai 2008 17:39:56)

  • How to add mailto using outputLink

    Hi,
    I am creating a dynamic Table where Email address field is getting added dynamically.I need to know how can i add mailto with the email address.
    I am doing following steps but it is appending the complete URL of the application before mailto:emailadress.
    <h:outputLink value="mailto:#{emp.jobInfo.email}" id="emailLink">
    <h:outputText value="#{emp.jobInfo.email}" />
    </outputLink>
    The output comes as http://servername:port/context path/mailto:emailadress
    Looks like outputLink default adds the context path to the URL and to remove the context path we can add forward slash to remove the same.
    I did some testing and found if i add 3 forward slashes infront of mailto the output i received is much better. http:///mailto:emailaddress . But still http:/// is still coming with the mailto and email part.I wanted to remove this also.Pls suggest. h:outputLink value="///mailto:#{emp.jobInfo.email}" id="emailLink">
    If somebody has any solution to this problem pls respond.
    Thanks, -Ritu

    It seems strange, but when I do the same, I don't have such problems. I use myFaces implementation of jsf, may be you use another...
    I can suggest not very beutiful solution, but still solution: you can just write
    <h:outputText value="<a href='mailto:#{emp.jobInfo.email}'>#{emp.jobInfo.email}</a>" escape="false" />

  • How to add signature using magic trackpad

    I have read that I can add a signature using the track pad.  I am a new Mac user and just trying to get things figured out.

    Trackpad?  I am not sure what you are try to accomplish or where.
    Here is the fundamentals of signature
    http://9to5mac.com/2014/02/15/how-to-use-preview-to-put-signatures-on-pdfs-pages -documents-and-mail-messages/

  • EXIF Dates - how to add/change using exiv2 . . . is there a better way?

    Hi, everyone!
    INTRO: I'm new to Lightroom. I've gone through a few books and lots of tutorial courses on lynda and youtube, so I feel quite comfortable with LR 5's import process. This post and question is a pre-import/organizational issue.
    I have more than 30,000 old, digitized (scanned) photos dating back to the 1950s. Obviously, most of were taken with old, analog cameras. These are now organized into folders by date.
    GOAL: I want to import these photos into LR and be able to find them by metadata dates (Capture Date & Time).
    PROBLEM: Obviously, old scanned (or even more recent manipulated) photos often don't have the correct EXIF creation date info. Even worse, many (or most) of these old images don't even have an EXIF date field!
    WHAT I'VE LEARNED: Using exiv2 filename or evix2 -pt filename immediately shows whether there is or is not date info for the photo. If there isn't, exiv2 -pt filename shows nothing. If there is an EXIF date field, it will be shown.
    For all these images with no date field, if I import them into Lightroom, there of course is no date info that shows up in the Metadata panel (under Default or EXIF), nor can you change the date (because the field isn't even there).
    If exiv2 -pt filename DOES show the Exif.Image.DateTime field, then in Lightroom, you will see the Capture Time and Capture Date fields, and you will see an icon to the right of those dates that allows you to change that date.
    If exiv2 -pt filename DOES NOT show this Exif.Image.DateTime field, you can ADD this field by using the command line:
    exiv2 -M"set Exif.Image.DateTime Ascii 1965:01:25 15:45:00" filename (or whatever your date/time is).
    Now if you import this image into LR, you will find the Capture Time and Capture Date fields under the Metadata > Default panel...AND you can edit them if needed. That is, the above exiv2 -M command added the EXIF date field that LR needs in order to search by date.
    WHAT'S MY POINT, AND WHAT'S MY QUESTION? I have no problem using exiv2 to add/change an EXIF creation DateTime field one folder at a time prior to importing them into LR. This will enable me to search on those date fields**.
    My question is this: Is there an easier method?
    Surely there must be tens (hundreds?) of thousands of "older" photographers like myself who have troves of old photos that have incorrect EXIF creation date fields, or missing the date field entirely (in which case, as I stated above, cannot be added/edited using LR, PS, FileMultiTool, Graphic Converter, etc.).
    I realize that I could look at images based on the folder names or file names, or I could enter dates into tags, but such methods of finding images are not nearly as convenient as using Metadata. Therefore, if I know that an image was taken in June 1962, then I'd like the EXIF metadata to have this info so that I can search on it. To have no EXIF date field or to have a date field that is incorrect is useless.
    I'D LOVE YOUR COMMENTS! If there is an easier or better way, I'd love for you to help! There are so many experienced photographers on this forum, and more than likely many of them have old photos with incorrect or missing EXIF date fields that they've brought into LR.
    THANKS! I'll really appreciate any and all help you can offer.
    David
    ** there are other EXIF date fields that can be changed using exiv2: Exif.Photo.DateTimeOriginal, Exif.Photo.DateTimeDigitized, etc. But the principal date that LR uses to search for files is the one described above.
    P.S. I've also tried jhead -ds1965:01:25 filename (or whatever your date is) to change the date. This works ONLY IF there is already an EXIF date field present. If not, jhead will report an error and not create one. exiv2 -M will create the field.

    John,
    Thanks very much for your help! I had tried the plugin, exiv2, exiftool, and LR's Metadata menu option only on a single photo.
    You are 100% correct about LR's menu option assigning different times! Thank you for pointing this out.
    When I set the date and time for about 10 photos, LR's menu option assigned (seemingly random!) times to all of them. Why would LR do this? I can perhaps see offsetting each photo by 1 second (00, 01, 02,...), but simply assigning random times makes no sense at all. At least in the tests I just did, LR didn't shift the time by the same amount, but assigned totally (random?) times to every photo.
    Another problem that I found with the LR menu item is that it failed to change the date/time at all for several of the images I selected! The Capture Time To Exif plugin, exiv2, and exiftool had no problem at all with the same photos.
    I also looked at the ExifMeta by Rob Cole that you mentioned. It looks very powerful (and is free), but much more complex than what I need at this point.
    Therefore, I purchased the Capture Time To Exif plugin, and it works great on multiple photos.
    I now have good methods to change the date for multiple images:
    1. Prior to import: exiv2 or exiftool
    2. After import: John's Capture Time To Exif plugin
    Thank you again for your help!
    This brings me one step closer to importing my photos in a logical method.
    David

  • How to add and use custom javafx2.2.3 HTMLEditor skin .properties file

    Hallo, I'd like to know if there is a (not necessary officially supported) way to use custom HTMLEditorSkin.properties in javafx 2.2.3.
    The original file/files are located in jfxrt com/sun/javafx/scene/web/skinIf there is no way to do that, can something else be done to change languege strings and icons for HTMLEditor?

    See this thread.
    Error Installing Groupware Portlets for WLP 10.3.2
    Brad

  • How to add ALV button using OO in module pool program using ALV grid

    Hello Gurus!!!
                  Want some tips related how to add button using ALV Grid(OO).
    I want to display the button for search, sort ....
                 Please suggest the step -by-step procedure for implementation of these button.
                 I am designing the code for transaction FB03. Header data has been displayed but want to display the line items.
                 Kindly suggest your answers.
    Thanks,
    Sachin

    Hi,
    CLASS SELSCR_APPLICATION DEFINITION DEFERRED.
    CLASS SELSCR_APPLICATION DEFINITION.
      PUBLIC SECTION.
       METHODS:
            HANDLE_TOOLBAR
            FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
                IMPORTING E_OBJECT  E_INTERACTIVE,
            HANDLE_USER_COMMAND
            FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
                IMPORTING E_UCOMM.
    ENDCLASS.        "SELSCR_APPLICATION DEFINITION
    CLASS SELSCR_APPLICATION IMPLEMENTATION.
      METHOD HANDLE_TOOLBAR.
        DATA: LS_TOOLBAR  TYPE STB_BUTTON.
    append SAVE icon
        CLEAR LS_TOOLBAR.
        MOVE 'SAVE' TO LS_TOOLBAR-FUNCTION.
        MOVE ICON_SYSTEM_SAVE TO LS_TOOLBAR-ICON.
        MOVE 'Save' TO LS_TOOLBAR-QUICKINFO.
        MOVE ' '  TO LS_TOOLBAR-DISABLED.
        APPEND LS_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
        CLEAR LS_TOOLBAR.
      ENDMETHOD.                    "handle_toolbar
      METHOD HANDLE_USER_COMMAND.
        CASE E_UCOMM.
          WHEN 'SAVE'.
              PERFORM UPDATE_FIELDS.
        ENDCASE.
      ENDMETHOD.
    ENDCLASS.                 "SELSCR_APPLICATION IMPLEMENTATION
    these lines should be after calling method SET_TABLE_FOR_FIRST_DISPLAY
    SET HANDLER G_APPLICATION1->HANDLE_TOOLBAR FOR GRID1.
            CALL METHOD grid1->set_toolbar_interactive.
    rgds,
    bharat.

  • How to add language to a 9780 using Mac desktop software

    Hi, I recently updated my Bold 9780 on Mac and the updated deleted all my languages, I need to know, how to add language using mac desktop software.

    Hello hjmatias and welcome to the BlackBerry Support Community Forums.
    You can use the Desktop Software for Mac, available for download at www.blackberry.com/mac to install additional languages.
    Here is an article from the BlackBerry Technical Solution Center that will take you through the steps to add applications: KB19937
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to add datafile in asm

    Hi,
    Can anybody let me know how to add datafile using ASM
    DB- ORACLE 10.2
    OS-RHEL

    SQL> select name from v$asm_diskgroup;
    NAME
    DATA1
    DATA
    Above we are having two asm diskgorup
    SQL> alter tablespace users add datafile ‘+data1′ size 5M;
    Tablespace altered.
    SQL> select name from v$datafile;
    NAME
    +DATA1/nonasmtoasm/datafile/system.259.721108803
    +DATA1/nonasmtoasm/datafile/undotbs1.261.721108865
    +DATA1/nonasmtoasm/datafile/sysaux.260.721108841
    +DATA1/nonasmtoasm/datafile/users.262.721108873
    +DATA1/nonasmtoasm/datafile/users.269.721187971                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to add selected values from table(selected using checkbox)to table?

    Hi All,
    i have created simple page with search panel with table in table i have created one column as check box for selecting.
    here what my requirement is i need to do search multiple times to add some roles to from some different categories.here whenever i searched i ll get some roles into table there i ll select some role and i ll click add buttion. whenever i click add i need to add those roles into some other table finally i ll submit added roles.
    here i followed one link http://www.oracle.com/technetwork/developer-tools/adf/learnmore/99-checkbox-for-delete-in-table-1539659.pdf
    i used same code and able to see selected row in console, as object array how to add these into table.
    please help me out
    Thanks in advance
    siva shankar

    Thank you for a quick reply
    i used the same thing before i go for table check box concept.here what i observed is when i search i am getting some results i am able to shuttle.but if i search again the shuttle is refreshing with new values even not available list its refreshing selected list. IF dont want refresh selected ones.
    my usecase after make some searches I will select some roles from different categories at finally i ll submit.
    i hope you understand me requirement. please suggest me is this requirement is possible in shuttle component? if yes please guide me.
    thanks
    Siva Sankar

  • How can I add a new categorie?

    How can I add a new categorie in iBooks

    Hi jjquintas,
    Thanks for using Apple Support Communities.  This article has information on how to organize your books in iBooks for Mac, including adding a new collection:
    iBooks for Mac: Organize your books
    http://support.apple.com/kb/PH14763
    Add a collection:
    Click Collections, then click Add in the bottom-left corner. You can also select books, then choose File > New Collection from Selection.
    Cheers,
    - Ari

Maybe you are looking for

  • Huge ntuser.dat.LOG1 since upgrade to Windows 8.1 prohibits roaming of user profile

    Hello, a few days ago my PC (part of our domain) first started to have problems with my user profile. Our domain uses roaming profiles with a size limit of 30MB. My user.dat has a size of 12.5MB. Up to now this did not cause any problems (and does no

  • Viewing Open PO's

    Hi Gurus, How to view the list of Open "PURCHASE ORDERS"(which are not moved for billing)? Is there any Standard Transaction code for this?

  • Happy Birthday Utio

    many happy returns buddy i hope you have had a good day and have a cracking night

  • Analitic functions (problem with SELECT)

    Hi! I've got a problem with analitic functions (I'm newbie in this topic). I have a table gpw_notowania which have colums: not_open, not_minimum, not_maximum, not_close, not_volume, not_sp_id and not_date. I need to receive from database the informat

  • Date calculations based on working days

    I need to add date calculations to a worksheet to show the time elapsed between two actions. Just a straightforward subtraction works fine, but what I really need to be able to do is calculate the number of working days between the two point (as some