Crystal Report Cross Tab Report

In crystal report 2008, i created a cross tab report. Column shows sales order number and rows show item number.
For columns that shows sales order #, I also wanted to show sales person name field right beside it. In cross tab expert, I added the field salesperson name.
However, crystal cross tab shows the sales person at a separate column with duplicate information. I only want to show sales order no. with sales person name under one column. Is there a way to achieve this? Thanks.

This would be a hard job.
Have you tried Pivot Table function in Excel? You can play with it and get some ideas.
Thanks,
Gordon

Similar Messages

  • Crystal Reports Cross-Tab Report not showing all available fields

    I am running CR2008 against MS SQL Express.  I have several tables with fields and data in them and can create standard reports to show all the data in all the fields.  However, when I try to create a cross-tab report, only some of the fields appear for me to choose from.
    I created a standard report with all the fields I needed in my cross-tab report and ran a preview.  Everything was there.  I then added a cross-tab object, selected the tables only to find that fields that are in the main report are not showing up for selection in the cross-tab.

    UPDATE:  I exported the entire database from MS SQLExpress to MS Access and I am having the same issues, so it does not appear to be a problem with the database engine and, since the standard tabular reports show the fields, I am at a loss as to why they don't show up in the cross-tab or the Parameter fields.
    I am creating the cross-tab through the Cross-Tab wizard.  Is there maybe a bug in that?  Is there a way to create it otherwise?

  • Row Headers in Cross Tab Report -Crystal Report XI

    I am trying to create a cross tab report. The report has 4 rows and the columns get generated based on the value of a database field.
    I have 2 questions
    Question 1 : I want the rows to have headers. I insert text objects in the report and when I run the report in crystal, the headers are displaying as required. But when I export to excel, the headers are displayed after the data. How can I create row headers and get them exported to excel as row headers.
    Question 2: I am creating the column based on a database field. The field is of text data type. The sorting for this filed is 1. abc ,10. abc , 11.abc , 2.abc , 3.abc ; etc where abc is a text string. How can I sort the columns so that the columns appear as 1.abc, 2.abc, 3.abc etc.
    I tried using the specified order sorting, but when I check the list of values that it creates to select the values, it is truncating the values. I can only see part of the values from the database.
    Please Help!!!

    I don't have Crystal in front of me so I will try to do this from memory.  If you right click on a report object, there is option on one of the tabs (I think it is General) that says Display String with a corresponding X button.  If you click on that, then you can enter a text expression that overrides the actual value of the report object.
    In your case, if you want to add a static header text to the row data, you could try something like the following:
    if Gender = "M"
         then "Mr. " + CurrentFieldValue
         else "Ms. " + CurrentFieldValue
    where Gender is a field object in the report and CurrentFieldValue is the data object specified for rows in the cross-tab.
    If you wanted to put header on the previous line, you could try something like this:
    "Account ID" + chr(13) + CurrentFieldValue
    where CurrentFieldValue is the account ID string.
    Fuskie
    Who expects this looks nothing like your actual report but hopefully it works as an example...

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • User-Defined Alphanumeric field not showing in Crystal Cross-Tab Reports

    Hi  All,
    We are facing the given below issue in crystal reports :
    In Crystal Cross-tab reports User defined fields with alphanumeric datatype are not displaying where as User defined Fields created with Numeric datatype are displayed and SAP fields for eg; Item name which are AlphaNumeric datatype are showing up.Can any body help us on this?
    Regards
      Uma

    Hi Uma,
    You may check these first:
    Re: Problem after upgrding to SAP B1 8,81 PL07
    Re: Crystal not displaying  UDF
    Re: UDF not visible in crystal report
    Thanks,
    Gordon

  • Crystal report cross tab

    hi all
           i am new in this forum.  i have facing problem in cross tab report. in my project i'm using cross tab crystal report. i have removed record navigation option.so entire record will be displayed in one page, in this crystal reportviewer will split the records with help of page break. if  i got page break the heading will be display again and again for every page break.  i want to display heading only one time for all pages using Cross Tab report.  Anybody knows tell me the idea
    Thanks & Regards
    Aravinth K

    The above highlighting works in regular crystal report but not in cross tab report.
    I am wondering is there differnt procedure to work in cross tab? I noticed there's a highlighting expert function in corss tab menu...

  • Cross tab reporting in Crystal 8.5

    Post Author: KPetrey
    CA Forum: General
    I am trying to create a cross tab report for some data that will have varying number of columns.I am running into a problem where some situations are producing 25 or more columns.  This results in the crossing over to a second page.My end-users are going to dislike this very much.  I am trying to duplicate a report they had with their previous software system and it did not cross pages.  All data stayed on one page. My questions are as follows:Is there a way to make the cross tab wrap so that data does not cross to second page?Is there a different way to do what I need other than cross tab?What I am trying to do is list a column for each store that will show the qty of a product that is ordered for it....the number of stores will vary depending on my end-users setup. Any help would be greatly appreciated.Thanks

    Post Author: wapper
    CA Forum: General
    Crosstab is designed to grow wide-wise if the number of columns increases. How can you avoid splitting pages if the number of columns will reach, for example, 50?
    You should probably first make a decision, whether your report must be fixed-column or variable-column. If you stick to fix-column, you can design the report to accommodate theoretical maximum of columns, and imitate dynamic columns by using groups, formulas and hiding columns not in use at run time. Pain in the a** with 25+ columns but still doable. Drawback - if actual data will exceed the maximum number of columns, you are out of luck. Or you could stay with crosstab to keep support for variable number of columns, using small font and "Show Cell Margins" option to squeeze as many columns as is actually possible before falling over to the second page. I would prefer the latter if you ask me.
    Wapper

  • SAP Crystal Report - Formula in Cross Tab Report

    I have a below requirement in a cross tab report,
    Category          Name          Valu1          Value2    %ge
    A                       Car               40                  50        80
    A                        Bike             30                  60        50
    Total                                       70               110     63.6
    %ge is a formula field and is calculated as value1/value2 * 100
    Consider the Total section as a group footer.
    In the cross tab report how do I put the formula field for %ge in Total section.

    Vishujain
    Crosstabs are very structured and you are limited in what you can do with them. You can do a percentage summary in Crosstabs, but only as a percentage of the row total or the percentage of the column total. You cannot put a formula in the crosstab to do a percentage of a values in seperate rows. Any time I need to perform a function not available in a crosstab, I do a manual cross tab. Look at: [Manual Crosstab Explaination|Re: Formulas : Help for coding]
    Debi
    Edited by: Debi Herbert on Nov 3, 2011 11:51 AM

  • Help with formatting for Cross Tab Report Crystal 2008

    This is probably a simple question.  I have a cross tab report that displays sales by month for a period of 6 months.  These sales columns are formatted to be numbers with no decimals.  In addition to these columns, I have inserted columns that display the percentage up/down in sales over the previous month.  If I try to format the percentage columns, it changes every column to then display "##,##.##%" when I need to keep the sales columns at "##,###" with no decimal or percentage sign.
    1.  Is there a way to change the formatting of some of the columns but not all in a cross tab report?
    2.  If not, can I add a function that would change these in the calculation formula of the calculated member? 
    I tried to add "%" but it wants it to return a number.
    Here is the current code:
    //The calculation formula is used in place of the summaries in Calculated Members.
    // This calculation formula must return a/an Number value.
    If GridValueAt (CurrentRowIndex,CurrentColumnIndex-3,CurrentSummaryIndex) = 0 then 0 else
    ((GridValueAt (CurrentRowIndex,CurrentColumnIndex-1,CurrentSummaryIndex) -
    GridValueAt (CurrentRowIndex,CurrentColumnIndex-3,CurrentSummaryIndex)) /
    GridValueAt (CurrentRowIndex,CurrentColumnIndex-3,CurrentSummaryIndex)) * 100
    Any help is appreciated. 
    Thank you,
    Tobi

    Carl,
    Thank you for your help.  I did try your method but still couldn't get it to ignore the fact that it wanted a number.  I changed my approach a litte and managed to solve the problem.  Here is the method that I chose which managed to solve the problem.  If this is a poor way to solve it, please let me know as I am always open for new ways.
    Format Field > Number Tab > Customize > Currency  Symbol Tab
    Checked Enable Currency Symbol Fixed, changed  currency symbol to %.  This is the same thing that I did before which changes it for all columns. 
    Beside Enable Currency checkbox, I added this formula:
    // This conditional formatting formula must return one of the following Currency Symbol Constants:
    // crNoCurrencySymbol
    // crFixedCurrencySymbol
    // crFloatingCurrencySymbol
    If GridRowColumnValue("InvoiceLine.TxnDate") = Date(0,0,0) then
        crFixedCurrencySymbol  
    else
        crNoCurrencySymbol
    My added columns have a null date field so they take the currency format.  My other columns do not so they do not take the formatting.
    Thanks again for the help.
    Tobi
    Edited by: Tobi@TABeverage on Dec 2, 2009 3:58 PM

  • Crystal Reports 10 Cross Tab Report Issue

    I created a Cross Tab Report with multiple rows of data.  It has two columns to return data for Year 2008 and Year 2009.  When reading the database the report does not return data for rows that have a result of 0 in both columns even though Suppress Empty Rows is NOT checked in the Cross Tab Expert Customize Style Tab.  Any suggestions as to how to get all of the rows to display including those with results of 0?

    I'm guessing that your issue is that "results of 0" is really a lack of data, not that something is there and is summing to zero.
    In that case, you need to base your report on an SQL Command.  Take the SQL that the report is currently using, and UNION it with another select statement that returns all of the rows that you are looking for with zero values; something like this:
    UNION
    select category, 0 as PY_Value, 0 as CY_Value
    from categories
    This will cause the data to be there, which will cause the rows to display on the cross tab.
    HTH,
    Carl
    (Resolution for 2010:  Count the number of times this question is asked!  :->)

  • Cross-Tab Report export to Excel

    I have a cross-tab report that I need to export to excel and keep the same formatting.  When I export the report the first column is Part # the next is operation #.  The report is grouped on Part number, but each part may have multi operation.  When I look at the report in Crystal or as a PDF the part # is at the top then each operation is a seperate row that follows.  When I export it to excel it works fine but instead of the part # appearing at the top then follow by each operation the part number ends up on the last operation in the list.  How can I export this and keep the format the same?  by the way I have tried both xls data only and xls 2007 options

    Hello Experts,
    I also tried to export the CR cross tab report in Excel Data only format.
    Also I want to display Row label i.e. my Rows are different dates so I created a text field and named as Date & Time but when export it to Excel Data Only, the date time label appears 1 row above then rest of the columns. It works good while looking on InfoView but export messed it up.
    Can you please suggest.

  • How to put report title and page no to appear in multiple pages,when using cross tab reports

    Post Author: shaminranaweera
    CA Forum: General
    I am using crystal reports 9.0 with odbc foxpro database conectivity
    I have designed a cross tab report and it is on the report header part and all the report details  are fine,except that the report title and  and page no's only show on the first page of my report.Pls tell me how can i put my report title and page no on all the pages in my crosstab.

    Post Author: foghat
    CA Forum: General
    You need to put your title in the page header if you want it to appear on every page.  The report header only displays once per report.

  • How to add an image or static text in the header of EACH page of a cross-Tab report

    Post Author: rtutus
    CA Forum: General
    Hi, I use Crustal 11.0.
    I have a cross Tab. I display the items on the left column and the months horizontally, the items are grouped by category field. The values are the sum of quantities are displayed for each month. Like this:
                             Items         Jan       Feb       March .....................Total
    Category 1                       
                             Item11         val11     Val12      Val13                     Total values
                             Item12         val21     Val22      Val23                     Total values
                             Item13         val31     Val32      Val33                     Total values
    Category 2                       
                             Item21         val11     Val12      Val13                     Total values
                             Item22         val21     Val22      Val23                     Total values
                             Item23         val31     Val32      Val33                     Total values
    Category 3                       
                             Item31         val11     Val12      Val13                     Total values
                             Item32         val21     Val22      Val23                     Total values
                             Item33         val31     Val32      Val33                     Total values
    The problem, I want to add a page header for each page of the report.
    When Crystal reports first displays my cross-tab in the designer, CR displays the cross tab in the Report header section. I d like to add text or image for each page and not only at the begining of my Cross-Tab.
    If I just add an image or text at the top of the report designer, which is my report header, I get the image or text only on the begining of the 1st page of my report but never in the other following pages.
    If I try to work around the problem and move the cross Tab to a group section instead, and then put the Image in the group header, I get what I want, but the problem is that:
    The columns header: Jan, February....December are displayed for each group of my report and not only in the beginning of the report. I get something like this:
                             Items         Jan       Feb       March .....................Total
    Category 1                       
                             Item11         val11     Val12      Val13                     Total values
                             Item12         val21     Val22      Val23                     Total values
                             Item13         val31     Val32      Val33                     Total values
                             Items         Jan       Feb       March .....................Total
    Category 2                       
                             Item21         val11     Val12      Val13                     Total values
                             Item22         val21     Val22      Val23                     Total values
                             Item23         val31     Val32      Val33                     Total values
                             Items         Jan       Feb       March .....................Total
    Category 3                       
                             Item31         val11     Val12      Val13                     Total values
                             Item32         val21     Val22      Val23                     Total values
                             Item33         val31     Val32      Val33                     Total values
    You see the months get duplicated. Any way, my real need is to add an image or text in the header of EACH page of a cross-Tab report.
    Thanks a lot for your help.

    Hi Divya,
    you could do for example in the wdDoInit() of the view
    wdContext.currentContextElement().setPicture("picture.gif");
    Now you assign this context variable to the Tab using the Tab_header's imageSource-Property. When you click on its value column, you see a button with three dots on it. If you click on this button, you will get all context nodes and attributes for this View. Usable variables are clearly marked, you now choose the one named Picture or what ever name you prefer to use. But it must correspond to the one set in the wdDoInit.
    I think setting a picture (not necessarily for the tab-page) is done in one of the excellent tutorials. If you are a newcomer I strongly recommend doing some of the tutorials.  I have learned tremendously from them.
    Hope this helped
    Harald

  • Dynamically color to each column in Cross-tab report

    Hello All,
    I am a newbie in Crystal report,from last few weeks, i am working on cross tab crystal report.i have a requirement to show color dynamically for each column.i am adding an attachment how i want it. i tried dynamic coloring using object field formula but it is showing red color to all data.i want red color data when in 2nd  cross tab report data is beyond upper or lower limit in first cross tab table. it will be very helpful if somebody will give me any clue on this.... i read so many articles now it seem like impossible for me..:(
    i am using visual studio 2010 and sap crystal report version 13.0.0.99 for visual studio 2010.

    Hello Manish,
    I have attached a sample report that does this. You will need to remove the .txt extension from the attached file to open it as an .rpt file.
    Please right click on one of the value fields of the first cross tab in the report > Format Field > Common > Suppress if Duplicated conditional formula.
    The nested formula is as follows;
    numbervar array l;
    numbervar array u;
    numbervar x:=CurrentColumnIndex;
    if GridRowColumnValue ('@limit') = 'lower limit' then
    (redim preserve l[x];
    l[x]:= tonumber(CurrentFieldValue))
    else if GridRowColumnValue ('@limit') = 'upper limit' then
    (redim preserve u[x];
    u[x]:= tonumber(CurrentFieldValue));
    false
    So it assigns each lower and upper limit value for each client (in the sample it is country) to an array using the cross tabs column index to index the array and it ends in False as we don't actually want it to suppress if duplicated. This nested formula is just used to generate the arrays of upper and lower values.
    In the second cross tab if you again right click on one of the value fields > Format Field > Font > Color you will see the following conditional formula;
    numbervar array l;
    numbervar array u;
    numbervar x;
    if not(tonumber(CurrentFieldValue) in l[CurrentColumnIndex] to u[CurrentColumnIndex]) then
    crred
    else
    crblack
    So this compaes the current field value to range generated by the 2 arrays and assigns a color based on whether or not it is in the range.
    Regards,
    Graham

  • How to Add new column in cross tab reports

    I am using crystal reports 10
    I created cross tab report for monthly sales. I need to add one more column in that report
    ex:
    Month   Customer    Part1  Part2    Part3      
    Jan         A               10       12         15        
    Jan         B                20      0           10        
    Jan         C               0         3           5          
    Feb        A               5         10          8          
    Feb        D               55        23        33        
    In above data Parts are no limit, thatswhy i am taking cross tab report.
    I am taking Month and Customer name as Rows,
    Part Codes as Colums,
    Quantiry as Total fields in cross tab Report.
    Here month field is storing as Transaction date in database, I am calculating by month
    I am getting upto this.
    User needs add one more field is Invoice no
    Month   Customer    Part1  Part2    Part3        Invoice no
    Jan         A               10       12         15          B1,B2,B3,B4
    Jan         B                20      0           10         B12,B30
    Jan         C               0         3           5           B6
    Feb        A               5         10          8           B35,B40
    Feb        D               55        23        33          B25,B56
    How to add invoice nos by group wise(By customer and  By month)
    Thank you.
    Raja shekar Reddy K.
    Edited by: Raja shekhar Reddy on Apr 16, 2009 5:10 PM

    Dear Amogh,
    Thanks for u'r  Replay.
    If i use new crosstab for Invoice no each invoice number can display like seperate columns.
    But I need Invoice  no in single column with seperate with "," or "/".
    Thanks & regards,
    Raja Shekar Reddy K.

Maybe you are looking for

  • OpenJPA is firing separate query for embedded class in the entity

    Hello experts, I have an Embedded class in my entity which has some common similar columns for all the tables. e.g @Entity @Table(name = "MY_TABLE") public class MyTable implements Serializable {      //... some specific fields here      @Embedded   

  • Use dimension in HSF freeform calculation

    Hi everybody, I want to use dimension structure in Oracle Hyperion Strategic Finance Application. I assigned a user defined dimension, to an account. Then, I used a different dimension for any other account. e.g: v300.00.001/A1 - v300.00.002/B1 Now,

  • Weird Battery informations

    Hi, Without any sort of previous symptoms, my battery indicates me bad informations (it began 2 days ago) : Please find below a copy/paste of the status of my battery : Informations sur le modèle : Nº de série : Sony-ASMB012-3702-ecba Fabricant : Son

  • Use of other applications through Apple TV

    Will we ever be able to stream additional Applications throug Apple TV - such as Spotify ?

  • The program thinks I am "Try user"

    The program thinks I am "Try user" because first I logged in from another account, now that I have logged in with my good account everything is as try.