Cross Tab And summary fields

<p>Hello Guys, </p><p>Need your help for the following problem:</p><p>1. In a Crosstab i have the customers in the Rows and the sum(invoiceamount) in the summarised fields. I have sort (group sort expert) to show the top 10 customers. Now i want to show what is the <strong>sum(of the invoice amount of the top 10 customers only), sum(of the invoice amount of the other customers), sum(invoice amount for all the customers). <font color="#ff6600">How do i get this</font></strong></p><p>2. I have year on Year comparison report. Customer in rows, order date(summarised for each year) in columns, sum(invoiceamount) in the summarised fields. <strong>Now i want to show what was the % growth or decline from last year.</strong> <strong><font color="#ff6600">How do i get this</font></strong></p><p>If you need any more information or explanation please let me know....</p><p>Any help is welcomed</p><p>Vignesh</p>

Search forums for the answer

Similar Messages

  • Format Fields in Cross Tab and Calculated Members

    Hello:
    I have a cross Tab with a calculated member, I need to display one decimal or no decimal in some of the columns so I created a formula in the Display String option like this:
    if GridRowColumnValue ("@TestID_desc")= "ALK mg/L
    then
      Cstr(CurrentFieldValue, "0")
    else
      Cstr(CurrentFieldValue, "0.0")
    But, after I saved the formula the value in the calculated member colums disappears. Any ideas? Thank You in advance!

    right click on calculated field and go to format field and in number tab select customize button and write the condition for decimals.
    regards,
    Raghavendra

  • Functions in Calculation and Summary Fields

    Hi,
    I'll give a bit of background to my situation before describing the advice I'm looking for here.
    I am experienced Mac user and I have used AW a fair bit in the past, but since I've been working in a job which has Windows machines and uses a complex custom-written relational database for its main tool, I use it less often than I did, so I am a little rusty. It is the shortcomings of the complex relational database (which I do not have admin rights to) that has led me back to AW and its database module.
    Essentially, I am a complaints investigator, and the relational database provided by my employer is used to keep track of correspondence and various metadata associated with the investigation of the complaint. However, although it is called a Complaints Management System (CMS), it does not help me manage my caseload very well. I've previously tried to create an Excel spreadsheet that would help me manage my work, but it is not a database (or I am not sufficiently skilled with Excel) and I cannot get it to provide me with what I want.
    So, my problems.
    I have complaints (cases) assigned to me to investigate. These cases have differing priorities, which means differing time limits for completion of the investigation. The priorities and time limits are set out below:
    J (jurisdictional issues) - time limit = 1 month
    D (discretion not to investigate) - time limit = 3 months
    1 - time limit = 4 months
    2 - time limit = 6 months
    3 - time limit = 12 months
    The priority field in my AW DB is currently a 'pop-up menu' field, but I could change this to another type if this would be advisable.
    I have a date-type field in which I enter the date the complaint was received. I have an calculation-type field in which I calculate the age of the complaint using the function:
    =(NOW()-'DateReceived')
    This returns an age in days, which I input into a separate calculation field that divides the result of 'age in days' by 30, to give a rough approximation of the number of months old the complaint is (If AW has an equivalent to Excel's 'workdays' variable, I'd love to hear about it). This latter field is the one that I display in the main data entry view of the database.
    Given the priority assigned to the complaint, and the age of it, I am either 'On Target' or 'Over Target' for completing the investigation.
    Each month I have a meeting with my manager to review progress, and since the reports that can be extracted from the CMS are not very useful for this purpose, I want my AW database to help me generate reports that can form the basis of discussion in these meetings.
    Part A of My Query
    At present, I have a manually operated field, in the form of a pop-up menu, to indicate for each record (complaint) whether I am over or on target for completion of the investigation. I would like to make this a calculated field, so that the database keeps track of this for me automatically. Unfortunately, I'm either too dense, or not good enough with the syntax of AW functions, to be able to write a function which essentially does the following:
    IF 'Priority'=1 AND 'Age in Months'<4 THEN 'On Target' ELSE 'Over Target'
    - and then repeats that for the other priority possibilities.  It seems likely that the 'IF' function is what I'm after, but I haven't been able to get the syntax right to combine 'Priority' and 'Age in Months' in the format spelt out in the AW help, which is:
    =IF(logical,true value,false value)
    Getting the syntax of one part of this function right would be a good start. However, I suspect that I have a larger problem, in that I have 5 priorities to measure against and I need the overall calculation (that produces the 'On Target' or 'Over Target' results) to report in one result field. This means nesting the functions that look at the 5 priorities and 5 age limits. I've tried and failed to get the syntax of such nesting right, so advice on this is doubly welcome.
    Unfortunately, I have a sneaking suspicion that unless the answer is much more concise than I imagine it to be, there will be an additional problem: AW appears to have a character limit for the length of a function string in a calculation field which may be too short for my needs.  If you think this is an issue but that it can be solved through the use of intermediate fields (which don't need to be displayed in the main 'data entry' layout), I'm happy to give that a shot.
    Part B of my Query
    Even if the problem above cannot be solved, and I have to manually enter whether a complaint is 'On Target' or 'Over Target', I have a separate but related question for the reports I have to present to my manager.
    On these reports, I would like to have a summary at the top of the first page (in a grand-summary part, I assume) which gives a count of how many complaints are 'On Target' or 'Over Target' for each priority. Below that is a sub-summary part, ordered by the type of action that must next be taken in the investigation. (Getting that right may be a subject of a separate post at a later date.) The report must, of course, only report on those complaints that are still being investigated ('open complaints') and not those which have been completed ('closed complaints'). So, I need a function in a summary field which will present an accurate count of the number of open complaints that are 'on target' for priority J (with separate summary fields that do the same thing for priorities D, 1, 2, and 3), and a separate set of summary fields that will present a count of open complaints that are 'over target' for each type of priority.
    It might look a bit like this table below, with figures from the summary fields populating the cells in the third row:
    Priority
    J
    D
    1
    2
    3
    In / Out of Target
    In
    Out
    In
    Out
    In
    Out
    In
    Out
    In
    Out
    Number of Complaints
    My guess is that it is easier to have the summary field simply count all the complaints that are on or over target for a given priority, regardless of whether they are open or closed, since the report could be based on a saved search (match) which strips out all closed complaints. But if I'm off-beam with that idea, I'm happy to have another way of cracking this nut.
    Many thanks in advance to any Community members that take the time to try and help me with this.
    Andrew
    PS Cross posted in AWUG forum too, if people prefer to answer there.

    Hi Andrew,
    Part A:
    I've done some restating of the question, and distributed the calculations among several fields, not all of which need to be included on the visible layout. Other than formatting the Date fields and moving the 'Completed Date' field and its label, I've left this in the default "Layout 1" produced by AppleWorks.
    Field List:
    Priority: Popup menu with six items: 00, J, D, 1, 2, 3  Defaults to 00
    TL (time limit in months): Calculation:  CHOOSE('Priority',0,1,3,4,6,12)
    Received: Date. Option: Automatically insert today's date (ie. Date Record created) (may be edited)
    Target Date: Calculation:
    DATE(YEAR('Received')+INT(MONTH('Received')+'TL')/12,MOD(MONTH('Received')+'TL', 12),DAY('Received'))
    Remaining (Days): Calculation: INT('Target Date'+1-NOW())  (see revision below)
    Completed: Checkbox. Set default value to Unchecked.
    Completed Date: Date: Entered manually
    OnTarget: Calculation: IF('Completed',IF('Completed Date'<'Target Date',"On Target","Over"),IF(INT(NOW())>'Target Date',"Over","On Target"))
    The On Target field shows the current status of the case while still open, and the state on the closing date when it was closed.
    Having done that, I was unhappy with the Remaining field continuing to calculate an ever larger negative number after the case had been closed. Hence this revision below:
    Remaining: Calculation: IF('Completed','Target Date'-'Completed Date',INT('Target Date'+1-NOW()))
    Shows the number of days remaining while the case is open, the days remaining at completion if the case has been marked Completed and the completion date entered.
    Rsults (and some further formatting of the Layout) below.
    Part B:
    You will need Subsummary parts when sorted on Completed and on On Target. Fields can appear on  a Layout only once, so each subsummary part will need a separate Summary type field for each field to be summarized.
    Regards,
    Barry

  • Creating a Cross tab that contains fields with shared variables

    I am trying to create a cross tab in CR2008. I can get the field in the details but cannot choose it when trying to create a cross tab. Please help.
    Thanks.
    Shared numbervar MonHrs;
    Shared numbervar TueHrs;
    Shared numbervar WedHrs;
    Shared numbervar ThuHrs;
    Shared numbervar FriHrs;
    Shared numbervar SatHrs;
    Shared numbervar SunHrs;
    If dayofweek(today) = 1
        then {@CapacityTeamCount} * SunHrs else
    if dayofweek(today) = 2
        then {@CapacityTeamCount} * MonHrs  else
    if dayofweek(today) = 3
        then {@CapacityTeamCount} * TueHrs else
    if dayofweek(today) = 4 
        then {@CapacityTeamCount} * WedHrs else
    if dayofweek(today) = 5
        then {@CapacityTeamCount} * ThuHrs else
    If dayofweek(today) = 6
        then {@CapacityTeamCount} * FriHrs else
    if dayofweek(today) = 7
        then {@CapacityTeamCount} * SatHrs

    I don't use CR cross tabs as a matter of preference so I can't tell you if the shared variables are having an impact on their availability in the cross tab dialog or how to make the necessary adjustments...
    I can, however, tell you that you don't need a cross tab for what you are trying to do. All you need to do is split all of the IF formulas in to their own formulas.
    This will place each day in it's own column.
    Now... you'll notice that there's a lot white space and nothing's aggregated... Not to worry, it's easy to fix.
    Just create a grouping on which ever field you were going to use as "rows" in the cross tab... insert SUM totals in the group header... and hide the details.
    Now you have created your own manual cross tab, without using CR's cross tab object.
    HTH,
    Jason

  • Suppress values in Cross-Tab and Cross-Tab Chart if null

    I am developing a cross-tab report that has no-values contributing to the summary in a number of cells.  For instance, if I were to display the average value for the testing of particle-counts by the day of the month, and no testing was performed on a particular day, then I would hope that the cell would be blank and a plot of the cross-tab would just omit that data point.  However, Crystal interprets this as a 0.00 instead of NULL, and the plot (incorrectly) includes the zero-datapoint. 
    I can suppress the datapoint in the cross-tab if it's zero, but that isn't correct either (as, sometimes, zero will be the correct answer).  Even then, though, I cannot suppress the datapoint on the plot.
    Anyone have experience with a workaround for this?
    Thanks - Tim

    BTW...I found that I can work-around the plotting issue if I convert the chart to a "Group" type (instead of cross-tab).  It will then ignore the null-values.  Still thinking about cross-tab displaying zero for a summary value when it is working with no data.
    Suggestions?

  • Cross-Tab and Top-N

    Dear Experts,
    How can I add Top-N into Cross-Tab?
    Thanks,
    David

    Hi David,
    Right-Click on the top left corner of the crosstab and select 'Group Sort Expert'.
    This opens up the Cross-Tab Top N and Sort Expert. Specify the Top N value for the groups here based on one of the summary values.
    Hope this helps!
    -Abhilash

  • Issue with Duplicate Results and Summary Fields

    My report is based on an Access Database. For the purposes of this current issue, there is the Master Table called u201CCnu201D and then a related u201CTable Au201D which includes multiple records related to the Master and also a related u201CTable B,u201D also with multiple records related to the Master.
    For my report, I want to output results from Table B based on criteria in Table A. This naturally produces duplicate output on the report. As a result, the Summary Fields that I want to include are incorrect.
    I have tried multiple combinations of the Select Distinct function, suppression based on u201Cprevious fieldu201D being equal, summary fields, running totals and if-then statements and still cannot find a solution that works in all of the cases involved.
    Below are descriptions of three different scenarios that are occurring:
    EXAMPLE #1: Entry 1 has 2 records in Table A and 2 Records in Table B so "Select Distinct" including the Table B ID # and then a Summary Field for the Total produces the correct results, while a Running Total is Incorrect.
    EXAMPLE #2: Entry 2 has 2 records in Table A and 1 Record in Table B so a suppression formula of the field based on the "Previous =" Table B ID # and the Running Total produce the correct results, while Summary Field is incorrect.
    EXAMPLE #3: Entry 3 has 6 records in Table A and 6 Records in Table B. Neither Summary or
    Running Totals produce correct results.
    I would greatly appreciate any advice in terms of creative formulas, etc. that would help produce correct results here.
    Iu2019ll be pulling my hair out soon! Thanks so much-

    Hi Berry
    Try to create a command with a subquery. The subquery will be returning the the duplicate records and the main query that uses this subquery will find distinct records out of the resultset returned by the subquery.
    Let me know if this helps.
    Regards
    Nikhil

  • Ordering of formula and summary fields - Reports6i

    Hello,
    I want to know if it is possible to make certain order of field (XML tags) in XML.
    If I have ordinary field that I get from SQL I can put it in the place that I want it to be and position in xml is OK, but when I put formula or summary field on certain place in xml file it is always on last place.
    For example:
    I have sql with 3 fields (one, two, three) and two formula fields (fo1, fo2). In report they are in this order:
    1. one
    2. fo1
    3. two
    4. fo2
    5. three
    but in xml file I get this order:
    <body>
    <edp:bodyContent>
    </one>
    </two>
    </three>
    </fo1>
    </fo2>
    </edp:bodyContent>
    </body>
    and I wish to have this order in xml:
    <body>
    <edp:bodyContent>
    </one>
    </fo1>
    </two>
    </fo2>
    </three>
    </edp:bodyContent>
    </body>
    Is this possible and if so how?
    Thanks for your help

    Finally, I got the fix.
    Here is what I did: Instead of the format mask '000' or '099' or '0nn' I used '000Y'
    adding a Y supresses the extra space that is reserved for + or - sign. And supression need to be added at the end like I showed, not like 'Y000'.
    Now my data looks like this, which is what I wanted:
    04/23/20120020123.451234.5610/24/2008
    If you look close, there are no spaces now as compard to my previous data line.
    Thank you all both for spending some time and giving me pointers.

  • Cross-tab and hyperlinks

    Is it possible to have each rows of a cross-tab be a hyperlink poiting to another report and how to accomplish that?
    My cross-tab rows represent categories, and I have another report for sub-categories (with category name as parameter), I'd like to be able to click a category and view the detail for that category.
    Thanks for your help!

    you need to try using open doc URL
    "http://<servername>/businessobjects/Enterprise11.5/InfoView/scripts/opendocument.aspx?sPath=Report+Samples&sDocName=Target.rpt"
    to pass the category to your sub report parameter you need to use currentfieldvalue
    regards,
    Raghavendra

  • Extra blank space in formula and summary fields

    I have a report that gives text output. In that I have 3 fields which are numeric.
    One of them has source as summary column- numeric 3 digits(format mask 000) and other 2 has source as formula column- numeric format mask (0000.00)
    Here is my problem- When the value in my summary column is 3, it prints space(instead of 0) and 03,
    if the value is 56, it prints a space and 56. if the value is 139, it prints a space and 139. Now this increaases the size of my line by 1 space, which is acceptable to the system that we are feeding this data.
    Similar thing is happening for the formula columns, 1 space (instead of 0) and then 000.00 is printed, if the value is filling the format mask, then it will have an extra space before giving out the value 1234.56.
    Can somebody please help me with the situation.
    Thanks
    Anna

    Finally, I got the fix.
    Here is what I did: Instead of the format mask '000' or '099' or '0nn' I used '000Y'
    adding a Y supresses the extra space that is reserved for + or - sign. And supression need to be added at the end like I showed, not like 'Y000'.
    Now my data looks like this, which is what I wanted:
    04/23/20120020123.451234.5610/24/2008
    If you look close, there are no spaces now as compard to my previous data line.
    Thank you all both for spending some time and giving me pointers.

  • Data Format in Cross Tab and Parameter window about numeric and date

    Hello,
    I got a problem to show Year 2008 as 2,008.00, it's rediculous...
    My PC and Notebook both show "2008",  but my three co-workers' PCs all show "2,008.00"
    the group field is:      CStr(Year({SJ_Inv;1.TaxDate}))+ '  Sales Analysis'
    How to convert such a numeric into text without decimal?  CStr looks not workable.
    also,
    the numeric var in parameter window, sometimes I don't want it to show up comma and decimal, how to format it?
    And, the datetime var in parameter window from store procedure,  can it be a "Date" without Time for user to entry only?
    I will be very appreciate for your helping.
    ~Michelle

    Hi, Raghavendra,
    The reason to use stored procedure is to save server room -- limited data for output; this is why we declare variable in Store procedure, and got problem there -- datetime but not date.
    On the other hand, if we declare variable in Crystal report, it's allowed date type, but how to defaut the Date-from as 1st day of current month, and Date-to as Today in Crystal Report parameter setup ??  And then how to pass the parameter to store procedure to limit the data output volume?
    (I am also trying to get this done in Store procedure right now..)
    The pros and cons exist in Store procedure and Crystal report, which is better is not definite!
    Best regards,

  • How to include both percentages and number values in a cross-tab chart?

    Hi,
    I created a cross-tab and a multiple pie chart using Crystal XI. I would like to include percentages as well as numbers in my pie charts' slices. Seems I can either show % or numbers but not both!
    The multiple pie chart compares different charges for different Departments. It has an On Change Of by "DifferentDepartments" and "ItemCharges" (e.g. Normal, Double Time, Time & half, Shift, Meal... )  and the Summary value is sum of "Labour".
    Is there any workaround available? Please advice.
    Thanks,
    Nazee
    Edited by: Nazee TVK on Feb 23, 2012 1:52 AM

    hi Nazee,
    this is possible sometimes, using a workaround, and depending on the values you're showing.
    instead of using your department field as the On Change Of field, create a new formula which is something like
    {departmentfield} + chr(10) + totext({your group level summary})
    as an example using the xtreme sample databae
    {Customer.Customer Name} + chr(10) +
    totext(Sum ({Customer.Last Year's Sales}, {Customer.Customer Name}))
    now in your Pie Chart switch the department field for the new formula you just created.
    i have attached a sample report...however, please note that the forums sometimes don't work with these attachments. so you can try different browsers or right clicking on the attachment and doing a save first etc.
    jamie

  • More than one summary column in cross tab reports

    Hi,
    I have a cross tab report.  The summary column is SUM. I want to add another summary column next to SUM which will be AVG(Average) column.
    Any ideas?
    Please see the attached image.
    Thanks,

    hi Anurag,
    my fault...i should have looked closer at your data.
    here's the easy way of showing two sets of summaries at the end of a crosstab, without having duplicate columns.
    1) copy your existing cross-tab and paste it to the right of your current cross-tab.
    2) now go to the cross-tab expert of the new cross-tab and remove the fields from the Column dialogue
    3) change the summary to an Average
    4) exit the cross-tab expert and go to the Section Expert for the section where both cross-tabs are...ensure that you check Relative Positions
    preview the report. now you'll have to move the 2nd cross-tab a bit so that it aligns properly with the first one.
    as a sample, see the attached report. extract the contents and change the .txt extension to .rpt.
    -jamie

  • Cross-Tab - conditional suppression and formatting

    I have a cross-tab report of "widgets" sold. There are $10 widgets, $20 widgets, and $50 widgets. All widgets will always cost some round dollar amount, never anything like $10.99. My report shows weekly, month-to-date, and year-to-date sales for each widget denomination by both count and total amount by state. For example:
                                   $10                          $20                              $50
         count     amount       count       amount         count       amount
    New York
           Week        5             $50           4                 $80             1               $50
            MTD
            YTD
    Delaware         1              $10
    etc.
    I also have totals by row, along with mark-up amounts (11% of gross sales amounts) and net sales (gross - mark-up). These last 3 columns are included in my dataset, not calculated in the cross-tab.
    My problem is that I can't figure out how to do 2 things:
    1.  the count columns for mark-up and net will always be blank, so I want to suppress the "count" column header
    2. I want to display the dollar amounts for those 2 columns with 2 decimal places, but the other amounts with no decimals.
    Can this be done, and if so, how?
    Thanks!
    Phil

    Hi Phil,
    I also found the following information under Cross-tab Help for suppressing rows or columns.  I hope this is what you're looking for.  Sylvie
    To suppress empty rows and columns
    Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
    The Cross-Tab Expert appears.
    Click the Customize Style tab.
    Select either the Suppress Empty Rows or Suppress Empty Columns check box.
    Click OK.
    Now, when you print the report, empty rows and/or columns will not appear.
    To suppress row and column grand totals
    Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
    The Cross-Tab Expert appears.
    Click the Customize Style tab.
    Select either the Suppress Row Grand Totals or Suppress Column Grand Totals check boxes.
    Click OK.
    To suppress subtotals and their labels
    If you have more than two groups in your Cross-Tab you can suppress the subtotal and label for one of them.
    Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
    The Cross-Tab Expert appears.
    Click the Customize Style tab.
    Click the field whose subtotal you want to suppress.
    The Suppress Subtotal and the Suppress Label check boxes become active.
    In the Group Options area, select the Suppress Subtotal check box.
    Click the Suppress Label check box to suppress the label associated with subtotal.
    Click OK.

  • How to add tab and field in purchase order

    hi friends,
    I have to make changes in the purchase order. i have to add tab and a field in that.
    i know that badi ME_GUI_PO_CUST have to used this.
    can anyone send me the code or documenation fot add a tab and field using this badi or suggest me how to do this.
    if code or documenation is not available then send me the steps if possible.
    my mail id is [email protected]
                        [email protected]
    hitesh kumar

    Hi,
         1. Double-click on your implementation class
    2. Click on Attributes tab
    3. Add attribute SUBSCREEN1 with level Constant, visibility Public, type MEPO_NAME, initial value 'HDRSCREEN1'.
    please go thourhg the below link .... in this the steps are there and the some of the standard Enchancements also there.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    See this treads :
    ME_PROCESS_PO_CUST header n item connection
    Re: BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_SCHEDULE
    <b>Reward points</b>
    Regards

Maybe you are looking for

  • Adobe After Effects CS 5.5 Startet nicht?

    Hallo Leute, ich habe mir das Adobe After Effects, und Adobe Premiere Pro CS 5.5 heruntergeladen, und installiert. Als ich dann das Programm starten wollte, kam die Meldung: Konfigurationsfehler Deinstallieren Sie das Produkt und installieren Sie es

  • Read only rows in input-ready query ?

    Hi experts, I would appreciate your advice on the following issue: I have built an input ready querry with structures both in the rows and columns area. The aim is to make some of the rows read only. I have tried to set the elements that I only need

  • My facebook password was hacked on my pc. I changed it and it works on pc ,but not IPhone.Help

    My facebook password was hacked .I have a pc and changed my facebook password and it works on my pc but not my iphone.I plugged the iphone into computer thinking it would sync. That didn't fix my phone.What to do? can't sign in on ipone as it says"pa

  • Jump to Macbook Pro?

    Hey All, So I've been using Windows laptops thus far- a Compaq and a Sony laptop. And I have used Win XP, Vista, 7, 8 and 8.1. It's time for an upgrade, and I'm thinking of going headfirst into the Mac family, with the Macbook Pro 15 inch retina. Thi

  • IPod mini displays sad ipod on screen

    Well I've had my iPod mini for about 6 months now and up until a month ago it has been working great..but it has started showing me the folder with the explanation point and the sad ipod. I have already restored my iPod once, but now I think I need t