Sorting of Sum Totals at category & sub category levels in Answers

I have a requirement where i need to sort by $$ within a category and sub category, first i need to show the highest YTD $$ under the category with total & the sub categories also should be sort as given in the example, GM having the highest value is in top, in the same way AT&T having the highest value is at the top.
Category Sub Category YTD $$ by S
Automobile GM 12000
Toyota 10000
Honda 8000
Automobile Total 30000
Telecom AT&T 10000
Verizon 8000
Sprint 5000
Telecom Total 23000
I am able to achieve this if i do it at the Category level, and the sub category is sorted in alphabetical order and not by YTD $$ and the moment i add the sorting to the Sub category, it shows category & the sub category totals as individual line items instead of single category & multiple sub-categories .
Thanks again for your time & help!!

Thanks for the response, i can only select a value from the dimension if i select Sort Order, but the YTD value is from the fact. Let me try to show the requirement here again as in the last mail somehow the format was not correct. The text in bold refers to the Category & the text in italics refers to the sub category.
Category Sub Category YTD $$ by S
Automobile GM 12000
Toyota 10000
Honda 8000
Automobile Total 30000
Telecom AT&T 10000
Verizon 8000
Sprint 5000
Telecom Total 23000
The category with the largest total should be at the top and within the category, the sub category with the max $$ should be at the top.

Similar Messages

  • Sorting of Sum Totals at category & subcategory levels in Answers -Resubmit

    I am resubmitting this as there with some alignment issues in the previous text. I am not able to get it in proper order here so have identified the category & sub category by bold & italics.
    I have a requirement where i need to sort by $$ within a category and sub category, first i need to show the highest YTD $$ under the category with total & the sub categories also should be sort as given in the example, GM having the highest value is in top, in the same way AT&T having the highest value is at the top.
    Category Sub Category YTD $$ by S
    Automobile GM 12000
    Toyota 10000
    Honda 8000
    Automobile Total 30000
    Telecom AT&T 10000
    Verizon 8000
    Sprint 5000
    Telecom Total 23000
    I am able to achieve this if i do it at the Category level, and the sub category is sorted in alphabetical order and not by YTD $$ and the moment i add the sorting to the Sub category, it shows category & the sub category totals as individual line items instead of single category & multiple sub-categories .
    Thanks again for your time & help!!

    Thanks for the response, i can only select a value from the dimension if i select Sort Order, but the YTD value is from the fact. Let me try to show the requirement here again as in the last mail somehow the format was not correct. The text in bold refers to the Category & the text in italics refers to the sub category.
    Category Sub Category YTD $$ by S
    Automobile GM 12000
    Toyota 10000
    Honda 8000
    Automobile Total 30000
    Telecom AT&T 10000
    Verizon 8000
    Sprint 5000
    Telecom Total 23000
    The category with the largest total should be at the top and within the category, the sub category with the max $$ should be at the top.

  • Sort by sum total

    Hello,
    I need help on the following:
    A  table (generated from XML) contains the following:
    Customer \ Sales Order Number \ Sales Order Line \ Ext Price
    For example:
    A Customer \ 5000 \ 1 \ 250
    A Customer \ 5000 \ 2 \ 300
    B Customer \ 5001 \ 1 \ 200
    B Customer \ 5001 \ 2 \ 50
    My problem:
    However, I need to show it descending by the total of ext price for each order:
    A Customer \ 5000\ 550
    B Customer \ 5001 \ 250
    Problem is, I group by Order Num, then sum the Ext Price to get the total for each order.  However, because the Order Num is grouped first, how do I then tell Crystal to actaully sort overall in descending value by the sum of the ext price?
    Any help is most welcome.

    Hi Michael,
    Try selecting Report for the menu bar and then select Group Sort Expert.  You should then see any groups you have.  Select Order number group and then under "For this group sort" select "All" and then under 'based on" select sum of Ext. Price.  You can then click Descending.
    Hope that helps,
    -Cyndi

  • How to do "for each month in 2008 sum amount where category is cash"

    The table format is:
    Date(MM/DD/YYYY) Amount Description Category Account
    01.02.2008 -21000 benzina (C) Calatorii Cash
    01.04.2008 -2000 Mancare (C) Calatorii Cash
    01.05.2008 -2000 Mancare (C) Comisioane Cash
    05.12.2008 4706 diverse (C) Comisioane BT - Mondo
    08/25/2008 8807 diverse (C) Calatorii BRD - PFA
    08/25/2008 104000 diverse (C) Comisioane BRD - Multiplan
    10.10.2008 6385849 diverse (C) Comisioane BRD - Atucont
    10/26/2008 943699 diverse (C) Calatorii BRD - ISIC
    10/27/2008 95313 diverse (C) Comisioane Cash
    10/28/2008 -300 Comisioane (C) Comisioane BRD - ISIC
    I am trying to do the following:
    for each month in 2008
    sum (Amount) where Category is (C) Calatorii
    =>
    January -23000
    February 0
    for each month in 2009 up until now
    sum (Amount) where Category is Cash
    =>
    January 35000
    With these 2 samples I can manage the other functions I need.
    Thanks in advance.

    Question asked and responded several times.
    In column H of the first table I inserted the formula:
    =YEAR(B)*100+MONTH(B)
    In column B of the second table, the formula is:
    =SUMIFS(Tableau 1 :: C,Tableau 1 :: G,"=Cash",Tableau 1 :: H,"="&A)
    CAUTION
    I don't know your system settings.
    If your system uses the decimal comma, you will have to use:
    =SUMIFS(Tableau 1 :: C;Tableau 1 :: G;"=Cash";Tableau 1 :: H;"="&A)
    Yvan KOENIG (from FRANCE jeudi 23 avril 2009 15:04:49)

  • Coupons at Sub-Category Level

    Hi Everyone,
    I have a customer who would like to create coupons or promotions at the Sub-Category level, rather than at the parent category.  Is this possible?  In the drop-down I am only seeing the Parent level, so I was just curious.  Please let me know.
    Thanks in advance,
    Kristen

    Well, it should be possible.
    Looks like you found a bug.

  • Sum total of categories

    I am trying to take the sum total of each category in my checking account and create a chart of percentages.
    Is there an easy way to this. I am trying to do what they did on the checking account template in numbers.
    Thanks

    Hi Jonathan,
    While Yvan is correct in what he says, he, and Badunit in the post linked by Yvan, are talking about using the sums reported in a Category row in further calculations or as drivers for a chart/graph.
    Obviously, it is possible to create a pie chart from sums of each category in a checking register, as the supplied template does exactly that.
    Clicking on the chart in that template will show the cells supplying the data to the pie chart.
    Clicking on the cell supplying the total for the Home category will show (in the Formula bar) the formula that calculates the category total:
    =SUMIF(Transactions :: $D,A2,Transactions :: E)
    SUMIF is the key here. It reads the category of each transaction from column D of the Transaction table, and it that matches the category is A2 of its own table, it includes the amount in column E in the total for that category.
    You can find out more about SUMIF (and about the other functions used in the Checking Register and other templates) in the iWork Formulas and Functions User Guide. You can get the Guide, and the Numbers '09 User Guide, through the Help menu in Numbers.
    Regards,
    Barry

  • Sum total bug

    I have a bug in 4.1.41 with Sum Total at the right...
    Each cell in my display is a simple calc like SUM(Hits). This is then Sum totaled as a Grand total at
    the right. Everything works fine in this case.
    Now if I replace my simple calc with a more complex calc into the same calculation: DECODE(SIGN(NVL(SUM(Hits),0)-NVL(SUM(DECODE(Category,'Audio',Hits,'TV and Music',Hits,0)),0)+NVL(SUM(DECODE(Page,'Digital Music',Hits,'Listen to Music',Hits,0)),0)),1,0,1)...the Grand total at the right works fine the first time...until I save the sheet and exit...and then get back into Discoverer.
    When I get back into Discoverer...my Grand total at the right displays as all blanks. It simply refuses to display like it did the first time when I defined it. In order to get around this bug, I have to makeup a new simple calc, and then redefine it by putting my more complex definition into it.
    This gets old and is tedious. Anybody know what is going on?

    I have a bug in 4.1.41 with Sum Total at the right...
    Each cell in my display is a simple calc like SUM(Hits). This is then Sum totaled as a Grand total at
    the right. Everything works fine in this case.
    Now if I replace my simple calc with a more complex calc into the same calculation: DECODE(SIGN(NVL(SUM(Hits),0)-NVL(SUM(DECODE(Category,'Audio',Hits,'TV and Music',Hits,0)),0)+NVL(SUM(DECODE(Page,'Digital Music',Hits,'Listen to Music',Hits,0)),0)),1,0,1)...the Grand total at the right works fine the first time...until I save the sheet and exit...and then get back into Discoverer.
    When I get back into Discoverer...my Grand total at the right displays as all blanks. It simply refuses to display like it did the first time when I defined it. In order to get around this bug, I have to makeup a new simple calc, and then redefine it by putting my more complex definition into it.
    This gets old and is tedious. Anybody know what is going on?

  • Adding Sum Totals from Multiple Tables in A single Document

    Hello All,
    I'm having trouble adding sum totals from multiple tables I've created in a Pages 09 doc. I putting together a spreadsheet for cost projections for a house remodel. I created tables for each room of the house. At the bottom of the document I'd like to have another table that takes the totals from each individual room and adds them up. Problem appears to be that each table has the same x/y axis labels so row and column numbers/letters are repeated so the final table can't quantify thing correctly.
    Any easy solutions? I can't find anything that's helped in my search efforts.
    Thanks,
    Josefis

    Jerry,
    Thanks for the feedback. I thought that might be the case. And you were correct to assume I was more comfortable in Pages. I'm halfway through converting everything to numbers. In the end it will work great too. Just some different formatting/design choices to be made as numbers doesn't appear to be as versatile in the same way pages is with design. So far it looks pretty good though.
    Thanks again,
    Josefis

  • Blanket Purchase Order or Contract Purchase Order by item Category level

    Hi
    I have a requirement that Strategic buyers will fill agreement with supplier by item Category level
    Agreement will be on Price level and will have expiration date
    The category level will contain list of items Part numbers which are the same item from technically :
    Our business is on the electronics contract manufacturing and we are producing for Customers from the High Tech industry .In order to keep each customer process and unique
    environment we are coding the item Part # per customer since of that the same electronic component having different part # per customer
    Each night we running MRP run (ASCP) and the Planner release Planned order to request ion
    The requirement is that the purchase requisition will derive the price from the agreement based on assigned Category level and will automatically convert to Purchase order
    Looking for your advise how can this be implemented ?
    Thanks

    When you release the Planned Order for the these buy items the cost coming up in the table PO_REQUISITIONS_INTERFACE_ALL will be the list price for the item from Org level.
    But when you have a BPO created for this item and Sourcing rule is created to have automatic release the releases will have the unit price coming from the BPO.
    Correct me if I understood your question wrongly.
    Karthik.
    Edited by: Karthik Gopaluni on May 21, 2010 11:54 AM

  • Need a formula to calulate multiple cells and add the sum total to a cell in a other table

    Im a chef and my monthly inventory is a time consuming task. I get invoices from multiple suppliers on each day of the week. I enter them into a spread sheet and then need to add the sum total for all the invoices for say MONDAY. That total needs to be entered into a cell in another table  called "daily spend". Is there a formula to automatically add say all the invoices from monday and input the daily spend cell on that table. Here is an example
    I created a column B-to give each day a number(sometimes multiple invoices come from the same supplier for each day)<GREEN>..If there was a way to do this differently...Im happy to change the layout of the spreadsheet.  I want to add the total $ (column F)  for each day together(all the blue fields) and then insert the total into another cell seen in the next  table .  So in this example its F4+F16+F17=?, ? inserted into N2 of the next table
    Thanks so much

    "I ve finally has a play with the advice you gave me but I have realized that the formula you gave me is for a week....and like I mentioned in my reply to you, one table is weekly the other is monthly....is there a way to overcome this? (my answer to you explains it)"
    Hi Gavin,
    Unfortunately, the scale of your illustrations in that reply made them difficult (or impossible) to read, even on the Retina screen.
    The first formula, used to fill column B, extracts the Weekday number for each date. Since these numbers should be equivalent to the day of the month, You'll need to replace this with a formula that returns the Day value of each date:
    Old:
    B2: =WEEKDAY(A,2)
    New:
    B2: =DAY(A)
    Fill down to end of column.
    Because of the arrangeent of your Data table, you will need to repeat this formula in column H (with references to column G), etc. for each set of dates in the table.
    The SUMIF formula in column F is fine as is, except that it assumes all condition data will be in column B of Data, and all data to be summed will be in column F of Data. Since this is obviously not the case for your Data table, you will need a separate iteration of the formula for each week in the table, with the four SUMIF statements enclosed in a SUM statement:
    E2: =SUM(SUMIF(Data :: $B,A2,Data :: $F),SUMIF(Data :: $H,A2,Data :: $L),SUMIF(Data :: $N,A2,Data :: $R),SUMIF(Data :: $T,A2,Data :: $X))
    Fill down for as many rows as there are days in the month being summarized.
    Column references in the formula assume that six columns are used for each week, and that there is no gap in the table between weeks.
    Note that the formula does not distinguish between transactions on July 7 and those on June 7 or August 7. Because of this, the Data table must be limited to transactions in a single calendar month.
    Regards,
    Barry

  • Copying sum total in sapscript

    Hi Experts,
    we have a customer invoice print in sapscript. In this we calculate the sum total in the end of the script .
    My question is how to copy the same sum total to be displayed in the first page of the script.
    Thanks in advance..

    Hii
    put the summation filed in the first page of script
    regards
    Jaipal

  • BAPI to upload facts @ rate category level

    Dear ABAPers,
    is there any function module to upload facts value at rate category level in ISU..
    I got BBAPI to upload Installation facts in ISU..
    Please help me..

    Hi Shiva,
    First of all, can you clarify if you want to update the rate category - Is it at the Installation Level or at the Device Level.
    For updating the rate category at the installation level, go to Business object INSTLN,and then make the necessary changes in Change Installation without dioalog.Pass the input parameters as required for the Method.
    If you find this answer helpful, please reward points.
    Amitav

  • Uploading Linked Captivate 2 Projects into Sum Total LMS

    I've been trying to upload a series of media-rich linked
    projects to our Sum Total LMS. Although there are several projects,
    they are linked to play seamlessly to the end user. The problem is
    when each project is published, it creates its own zip file. In
    order to upload the files to the LMS they must be in one zip file
    or they will upload as separate, independent learning modules. I've
    encountered numerous challenges in attempting the upload.
    Does anyone have any experience/suggestions about:
    - Publishing each project into the same zip file
    - Uploading linked Captivate 2 projects to an LMS, especially
    the Sum Total LMS
    - Uploading a project with flash videos to an LMS
    I greatly appreciate any feedback you can provide.
    Thanks!

    I always link between Captivate files to ensure that my files
    are not too big. I have done this many times; however, I have not
    tried it when there is a quiz involved. What I do is link them
    inside Captivate, publish the files (non-zipped, which you can do
    if there isn't a quiz involved) and then zip them up together with
    Winzip. When you load it into the LMS, you need to choose either
    "Knowledge Document" or "General Document" and there, you can
    choose the launch file (whatever file you want to load
    first.)

  • Total Score in Sum Total not correct

    We are using Captivate 4 and the Sum Total LMS.  Our course consists of 2 lessons which are not scored and an assessment which is scored.  The settings for the lessons are Slide Views Only so the lessons have the Topic Status Complete or Incomplete on the Sum Total LMS Learning Activity Progress Detail page, with the Score % blank.  The assessment also has Topic Status Complete or Incomplete, and also a Score % (80% required to pass).  The Topic Status and Score % values are correct for the lessons and the assessment, however the Total Score is not correct.  When the user completes the 2 lessons and the assessment with a score of 100%, the Total Score shows as only 33%.  So it seems that Sum Total is including the lessons in the Total Score, and calculating the Total Score by (100+0=0)/3 = 33%, i.e. assigning 0% to the lessons even though the Score % is blank for the lessons.
    Is there a way to have the Total Score be just for the assessment?  If the user scores 100% on the assessment we would like the Total Score to be 100%. 

    Hi,
          Can you make your question more clear, it is not clear what is you requirement exactly.
    '.Total stock not issued from gate in stock.' : Yuou mean to say GR made with 103 but 105 not done for that
    or  Total stock in store but not issued yet )  : there is no GI with any movemen type ??
    regards,
    zafar

  • Required a Exit/Badi when creating a PO in Item Category Level

    Dear Experts,
                         I want a Exit/Badi when creating a Standard Purchase Order in item Category level
    when i am giving item Category as L (Subcontracting) Component Over view will have the material that material should come and sit into the item level .
    Rewarded If it is Useful.

    Hi,
    check these...
    Enhancement/ Business Add-in            Description
    Enhancement
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number
    Business Add-in
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer
    ME_PO_PRICING                           Enhancements to Price Determination: Internal
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    SMOD_MRFLB001                           Control Items for Contract Release Order
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address
    ME_REQ_POSTED                           Purchase Requisition Posted
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_PURCHDOC_POSTED                      Purchasing Document Posted
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active
    ME_BSART_DET                            Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_BADI_DISPLAY_DOC                     BAdI for Internal Control of Transaction to be Invoked
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data
    ARC_MM_EKKO_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    ARC_MM_EKKO_CHECK                       BAdI: Enhancement of Archivability Check (MM_EKKO)
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active
    ME_COMMITMENT_RETURN                    Commitment for return item
    ME_CIP_REF_CHAR                         Enables Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking
    ME_CHECK_OA                             Check BAdI for Contracts
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    No.of Exits:         35
    No.of BADis:         55
    Arunima

Maybe you are looking for