How to design customize Cross tab in Crystal 9

hi guys,
            i'm having a big problem in designing this format in cross tab, coz it causes a lot of space that i wouldnt need in displaying the report in my application here's i want to show on my report,
this is just a sample data, but this is supposed the designed, or the output in crystal cross tab
                                    SM                           gl orieta                        buyer            and soon.....   
                         sales     TX    PX      sales      TX     PX          sales   TX    PX
Mar-1 Mon        1000      1        1       200        2         3            400     4      5
Mar-2 Tue           200      10      11     300        4         8             220    5      8
Mar-31 Sun
Running Total     1200                           500                               620
Discount              200                            300                               400
Net sales            2000                           3000                             5000
Quota                 100000                        1200000                      250000
TX                        11                                   6                                9   
PX                         12                                   11                            13
the upper is the name of the stores which supposed to be dynamic, each store have 3 column which are the sales,TX and PX, on the left side is date which is my parameter is filtering sales by date, under the last date of the month is the running total followed by discount, net sales and soon.. Now my problem is how i'm going to design it in cross tab format in crystal report 9..any suggestion or other way to do it...

Please re-post if this is still an issue

Similar Messages

  • How to arrange month in order in cross tab in crystal report

    Hi all,
          we are using cross tab to arranging the data (month wise)  in crystal report. we have month in string format like jan2008. this field is in column of the cross tab. now we need to arrange the month in sorted order. At Present , the month is displayed as april2007, arpil2008, april2009,may 2007, may 2008, may 2009.
      now i want in this order. april 2007, may 2007, april 2008, may 2008, april 2009, may 2009. how to achieve this in crystal report.
    Regards,
    Shanthakumar.

    Try this,
    Create a new formula
    For example, "April 2009" is stored as string in {TABLENAME.FIELDNAME}
    datevalue("1 "&{TABLENAME.FIELDNAME});
    Now you have a date, composed of your year, your Month and 1.
    you can use it to order your data by date.
    If sometimes there is no blank between month and year ("April2009") try this
    local stringvar x;
    x:={TABLENAME.FIELDNAME} ;
    x:=left(x,length(x)-4)&" "&right(x,4);
    x:=replace(x,"  "," ");
    datevalue("1 " & x);
    regards,
    zettels.

  • 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...

  • Cross tab in Crystal report

    Hi There
    I need to create 3 cross tabs in one crystal report with different condition, how i can do that?
    for example, in one cross tab, i  only want to show last year's information, in another one, i want to show this year's information
    is there a way i can add some condition with the cross tab?
    thanks

    I think what Ian means is....
    Right now you have you cross tab set this way..
                           2008         2009
    Location1         
    Location2
    Location3
    He wants you to switch rows to cloumns and make the Year your first Group.
    Then you'll have
                     Location1       Location2          Location3
    2008
    2009
    This way all your locations show up in your cross-tab.
    Hope this makes sense....

  • Inserting a calculated column after every column in cross tab, in crystal report 2011

    HI,
    I want to insert a calculated column after every column i a cross tab . The cross tab shows , sales by region for a number of years , for example from 2007 to 2013. The year can be changed based on the user parameter. How can I do that ?
    Thanks

    Hi Feroz,
    To calculate the Percentage Change and also to show the Percentage sign, here's what you need to do:
    1) Right-click the Calculated Column Header > Calculated Member > Edit ColumnValue Formula and use this code:
    cdate(1890,01,01)
    If the field used as the column is a datetime field, use this:
    cdatetime(1890,01,01,0,0,0)
    2) Right-click one of the zero values in the Percentage Column and select Calculated Member > Edit Calculation formula and use this code:
    if CurrentColumnIndex  = 2 then 
        If GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex) = 0 then 
        0 
        else 
         (GridValueAt(CurrentRowIndex, CurrentColumnIndex-1, CurrentSummaryIndex) - GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex))/ 
         GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex)
         ) * 100 
    else 
        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 
    3) Right-click one of the Values in the summary cells > Format Field > Number tab > Customize > Currency Symbol tab > Click the formula button beside 'Currency Symbol' and use this code:
    If Year(GridRowColumnValue("Date_field")) = 1890 then
    "%" else "$"
    Note: Replace Date_field with the field name you've used as the Column in the Crosstab. The double-quotes ARE required and you should remove any curly braces that CR adds automatically.
    4) You might want to use a similar code in the 'Position' formula too.
    Let me know how this goes.
    -Abhilash

  • 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

  • How create SQL for Cross tab in template

    Hi,
    I have been starting to build data templates using SQL to select the data I require. I noticed in the word template-building tool there is an option to create cross tab table. I have tried looking at the standard documentation. I have been unable to work out how I should structure the SQL in my data template to allow me to create a cross tab table in the template?
    Thanks,
    Mark

    Post Author: SunilKanta
    CA Forum: General
    Yes, I had done exactly the same but when tried to display the subreport in new page, some portion of the cross tab is displayed. The page width is not increased proportionately.
    i have passed that sub report in footer of main report.
    But when i overlap this sub report with other cross tabs already present in the main report i can see full width view of sub report.

  • How to produce dynamic cross-tab query result on this data ?

    Hi gurus,
    I have sales (simplified) sales data as below :
    create table sales_summ (area_code varchar2(3), sales_amt number, product varchar2(10) ) ;
    insert into sales_summ values ('A01', 100, 'P01');
    insert into sales_summ values ('A02', 200, 'P01');
    insert into sales_summ values ('B01', 300, 'P02');
    insert into sales_summ values ('A01', 400, 'P02');
    insert into sales_summ values ('A02', 500, 'P01');
    insert into sales_summ values ('A03', 600, 'P01');
    insert into sales_summ values ('A01', 700, 'P02');
    insert into sales_summ values ('A02', 800, 'P02');
    insert into sales_summ values ('A03', 900, 'P01');
    And I want to produce a cross-tab sales summary like below :
    Product A01 A02 A03 B01
    P01     100          700     1500          0
    P02     1100          800     0          300
    How is the query ?
    Thank you for your help,
    xtanto

    Search this forum for "pivot". Plenty of examples.
    Regards,
    Rob.

  • Data binding cross tab in Crystal 2008 with Xcelsius swf file

    I've created a visualisation in Xcelsius and want to bind it to a cross tab in CR2008.   The labels appear correctly in the swf visualisation but I get no data.   The format of the table in Xcelsius and the cross tab I believe to be the same, covering data formats.   I have placed the Xcelsius visualisation in page header "a" with the cross tab in page header "b".   The Xcelsius table has been defined in terms of column and row headers as well as data area, so I've done everything that I understand to be correct.   In CR2008 I have specified that I use the existing named cross tab.
    Does anyone have any idea what I may have missed.
    tia
    Neil

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • How to create a Cross Tab view

    hi all
    I have a table with records with this format:
    Year, Month, Id, Value
    2006, 01, 1, 10
    2006, 02, 1, 15
    2006 03, 1, 5
    2006, 01, 2, 6
    2008, 05, 1, 8
    What I need to do is a view that will select these records for a specific year and show a column per month and a total column for the whole year. Rows will be by ID and every cell will show values
    how can I do that?

    Something like...
    SQL> with t as (select 2006 as yr, 1 as mnth, 1 as id, 10 as val, 5 as daysusage from dual union all
      2             select 2006, 2, 1, 15, 2 from dual union all
      3             select 2006, 3, 1, 20, 1 from dual union all
      4             select 2006, 4, 1, 2, 1 from dual union all
      5             select 2007, 1, 1, 11, 7 from dual union all
      6             select 2007, 2, 1, 10, 7 from dual union all
      7             select 2007, 3, 1, 22, 6 from dual union all
      8             select 2007, 4, 1, 20, 10 from dual)
      9  -- ### END OF TEST DATA ###
    10  select yr, id
    11        ,max(decode(mnth, 1, val)) as m1_val
    12        ,max(decode(mnth, 1, daysusage)) as m1_days
    13        ,max(decode(mnth, 2, val)) as m2_val
    14        ,max(decode(mnth, 2, daysusage)) as m2_days
    15        ,max(decode(mnth, 3, val)) as m3_val
    16        ,max(decode(mnth, 3, daysusage)) as m3_days
    17        ,max(decode(mnth, 4, val)) as m4_val
    18        ,max(decode(mnth, 4, daysusage)) as m4_days
    19        ,sum(daysusage) as total
    20  from t
    21  group by yr, id
    22  order by yr, id
    23  /
            YR         ID     M1_VAL    M1_DAYS     M2_VAL    M2_DAYS     M3_VAL    M3_DAYS     M4_VAL    M4_DAYS      TOTAL
          2006          1         10          5         15          2         20          1          2       1             9
          2007          1         11          7         10          7         22          6         20      10            30
    SQL>

  • How do I customize the tab text displayed on bookmarked sites?

    I often use "open all as tabs" for a bookmark folder of weather.com "5 day forecast" sites covering the towns in a geographical region where I plan to go hiking.
    One Firefox browser with six tabs for six towns in my state. "5 day forecast for Gorham," "5 day forecast for Jackson," "5 day forecast for Lincoln," etc.
    The problem is the tab displays only some of the first few words of the site description: "5 day forcas," "5 day forcas," "5 day forcas," etc.
    I'd like to display only the end of that sentence, which is the name of the town. This way I would have a list of towns across the top of the browser for direct reference.
    I changed the "name" property of each bookmark, but that only affects the name in the bookmark collection list, not the display name of a tab in use.

    1. With all due respect for your attempt to help; Of course it's part of the page source! That's a given.
    2. Again, with all due respect for you bothering; Letting me know that you don't think a thing is doable is not helpful, it's just chat.
    Thanks anyway, for your time.
    ~~~~
    My instinct is that of course there is something that could be done, it's a computer, every bit of it is adjustable.
    Some browser function grabs the title-tag text for display. It could just as well be redirected by a script (is that the right term?) to grab text held in a list in the bookmark for that page. Let's hear from someone on this idea, please.
    The point is, why have titles on tabs if it is junk information? Best use of the small tab text display area would be an abbreviation!

  • How do I suppress Cross Tab row subtotals?

    Hi. I've created a specified order group, which forces my rows to subtotal at each line. Thus, Income now has specified account numbers that subtotal on each number, then on the group Income. How do suppress the account row subtotals? I'm using CR 2008.
    Thanks!
    Robin

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • How do use a cross tab for this ?

    Hi,
    I have the following details :
    Sn idType cnt1 cnt2
    1 test1 11 22
    1 test2 2 4
    2 test1 33 2
    2 test2 3 4
    i need to show it as
    Sn test1cnt1 test1cnt2 test2cnt1 test2cnt2
    1 11 22 2 4
    2 33 2 3 4
    how can i do that using analytic function ?
    kindly advise
    tks & rdgs

    Hi ,
    managed to do something like this :
    select lotid ,
    sum(decode(a.type , 'cp1' , cnt)) type1Cnt ,
    sum(decode(a.type , 'cp1' , yield)) type1Yield ,
    sum(decode(a.type , 'cp2' , cnt)) type2Cnt ,
    sum(decode(a.type , 'cp2' , yield)) type2Yield
    from testing a
    group by lotid
    results :
    LOTID     TYPE1CNT TYPE1YIELD TYPE2CNT TYPE2YIELD
    1 lotid1     22     33     2     4
    2 lotid2     5     6     7     11
    but would a analytic function be able to do that ?
    appreciate ur advise
    tks & rdgs

  • 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 correct XML Output in Cross Tab Template for sum function?

    I have designed a Cross Tab Template to summarize R12 Account Analysis data by Period by Party_name. The template is doing what I want it to do with the exception of amount. I have a function in the sum(accounted_net) field and it will only display 0.00 even though I know there are actual amount. Can someone help in looking at my template to see what I have done wrong?
    Here is the sum funciton.
    <?if:count(current-group()[CCID_SOURCE=$ABC])?><?sum(current-group()[CCID_SOURCE=$ABC]/ACCOUNTED_NET)?> <?end if?>
    CCID_SOURCE is an element I created in XML to concatnate CCID and Party_name for grouping. $ABC is a variable that I defined for "CCID_SOURCE" to check if there is null value for a specific ccid_party. If it's null, it won't do the sum function, otherwise it will sum the accounted_net for the period_name, party_name.
    Thank you for your help.
    Stacey

    Figured this out on our own

Maybe you are looking for

  • I would like to create a multipurpose graph display - how?

    Hi all, I would like to create a simple VI, it has multiple sets of information and signal inputs (Signal generators or DAQmx cards), and whilst all the information is important, i don't need to see them all at the same time. instead I would like to

  • My broken iphone4 wont turn on no matter how i try ton long press home+sleep botton! :C

    Hi everyone. pls help me what to do. my iphone 4 fell on our tiled floor. it was broken and screen is totally black. at first it slowly died, but now it is totally died. several times I hold the sleep and home button but still it doesnt work. I tried

  • FCP X unable to scale any still image beyond 400%-why???

    Just wondering if anyone else has run into this problem. If I try to scale any image in the Inspector window, FCP X doesn't let me scale beyond 400%. Why does FCP X place this limit? And is there any way it can be bypassed?

  • Undeploy EAR on Oracle10gAS 10.1.2 using ANT

    I am using JDeveloper10g - 10.1.2 on my local machine and Oracle10gAS - 10.1.2 on a remote machine. I am able to deploy remotely using ANT task oc4j_remote_deploy.jar, but UNDEPLOY doesnt work. Anybody has a readymade UNDEPLOY task on a remote machin

  • Griffin Reflect (2G) Case and Dock Adapters

    I have a 2nd Generation iPod Touch and I just got an alarm clock/ iPod charger/speaker/ radio for Christmas. It's alot like an iHome and I'm pretty sure that it has Apple's Universal Dock Adapter. It's a Memorex Mi4019. I have a Griffin Reflect case