Design Monthly Report in Cross Tab

Hi Experts,
I want to create Cross tab report in the following model.
                    Jan              Feb        Mar       Apr       May
State 1        No. of Documents
State 2
State 3
I have only document for Feb month. I want to display Zero for others. While I am trying to create this I just get only one column for Feb month without month name.
Please help me.

Hi Sastry,
Thanks for your reply. I tried your idea but i am getting only for February month not for all the months.
In Group option i have to select which field formula field or database field.
If i select database field column label changed.
Also I unchecked suppress blank columns / rows from cross custom style.
Give me your suggestions.
Thanks & Regards,
Poonkodi. K

Similar Messages

  • Suppressing a prior Year Month Column on Cross Tab Report

    I have two cross tab report in the footer that compares orders booked against what was shipped by month.  I need to suppress the columns (Month) for the prior year but keep the Totals.
    I have a pdf of the report

    Try to add a formula as a column in the crosstab instead of a field. Create a formula like this
    if year()=year(currentdate)-1 then
    year()
    else
    month()
    This works only for two years of data, means you need to have the record selection formula like this
    year()>=year(currentdate)-1 and year()=year(currentdate)
    Regards,
    Raghavendra

  • Issue with passing parameters through Java-JSP in a report with cross tab

    Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
    I hava report that works perfectly fine
       with ODBC through IDE and also through browser (JSP page)
    (ii)    with JDBC in CR 2011 IDE
    the rpt file has a cross tab and accpts two parameters.
    When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
    I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
       Re-Write the rpt files not to have cross-tabs - This would take significant effort
    OR
    (ii)  Abandon the crystal solution and try out any other java based solutions available.
    I have given the code here in this forum posting..
    CR 2011 - JDBC Report Issue in passing parameters
    TIA
    DRG
    TIA
    DRG

    Mr.James,
    Thank you for the reply.
    As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
    To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
    You are right about the parameters, we are using  {?@Direction} is: n(1.0)
    {?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
    When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
    You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
    Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
    This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
    Additionally we tested the same in
        With CR version 2008 instead of CR 2011.
    (ii)   Different browsers ranging from IE 7 through 9 and FF 7.
    The complete environment and various softwares that we used for this testing are,
    OS      : XP Latest updates as on Oct 2011.
    App Server: GlassFish Version 3 with Java version 1.6 and build 21
    Database server ; SQL Server 2005. SP 3 - Dev Ed.
    JTds JDBC type 4 driver version - 1.2.5  from source forge.
    Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
    I am uploading the log file that is generated when rendering the rpt for view in IE 8
    Regards
    DRG

  • Pass a shared variable from a sub-report into cross-tab

    Hello everyone!
    I need to pass a calculated value in a shared variable from a sub-report into a croos-tab in the Group footer of the main report. When I place this variable in the group footer I can see the value, when I use this variable in the Cross-tab, it is 0.
    In the Sub Report:
    whileprintingrecords;
    shared numberVar Total_SF;
    Total_SF:= calculation.
    In the Main report:
    whileprintingrecords;
    shared numberVar Total_SF;
    In the Cross-Tab I am using the above formula from the main report.
    Do you guys know what I need to do for this to work?
    Thank you,
    T.

    Hey Tat,
    I have learned to avoid passing shared variable from sub reports back to main reports.  You just always seem to run into issues with execution order.
    Personally, I try to create a shell report and add sub reports, calculating the values I need in the first sub report and pass the values to subsequent sub reports using shared variables.  I'd recommend thinking about arranging your reports like this during your design time.  It has saved me some headaches.

  • Crystal Report 2008 - Cross tab in subreport doesn't expand horizontally

    Hello,
    i'm migrating all my company's reports from crystal report X to crystal report 2008.
    And i'm facing the following issue:
    when a sub-report contains a cross-tab that is too large for one page, in crystal report X a second horizontal page is generated, but in Crystal report 2008 the second horizontal page is not visible.
    Is it a known bug, is there a patch to install?

    Hi Abhilash,
    thank you for your answer, but this workarround does not works in my case.
    My main report is just a container for multiple subreports and some of them contains crosstab that can grow on several pages horizontally and vertically.
    For example i have some crosstab that can span on more than 5 pages vertically and on 2 pages horizontally.
    I tried to create an empty cross tab that span on 2 horizontal pages in the main report, and to mask it. That works for the first vertical page of the subreport but only for this one. Moreover if the first page of the crosstab contained in the subreport does not span horizontally, this solution create an unwanted empty page.

  • Display Chinese Word In Crystal Report's Cross-Tab

    Hi all,
    I am trying to display chinese word in my cystal report. It can be display correctly in detail, page header or formula. But when come to cross-tab, it just will show some funny symbol on it. any idea?
    i am using Crystal report xI release 2.
    Thank You
    Wong

    Hi,
    I solve it.Just for your reference, change the font type inside cross-tab.

  • 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!  :->)

  • 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

  • Problem in Cross Tab Report in crytsal report

    Dear members,
    I have designed and generated a cross tab report with fields being percentage,country,amounts. i have obtained the sum of row level.But i need to obtain the sum of amounts in each region wise. I need the report as shown below. I have tried the running total field in cross tab as sum but its showing the overall total.
    Month PO Ger EurTot.USA Canada NATot
    5%       10     20  30       15    25          40
    But i am getting the report as like this.
    Month TOTAL PO GER USA CAN INDIA
    10%     150    15   30    15    45     45.
    Can anyone please help me in this regard?
    Thanks and Regards,
    Venkatesh.R

    Hi,
    cross tab is a diagonal report , u have to make query in such a way so that it returns the all field in row and columns way  i.e in diagonal form .
    U have to fetch total in same manner
    Rgds,
    Premraj

  • 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

  • How Should select default (Apr-mar)month in cross tab?

    HI Experts,
    I have created webi report with cross tab format. In this report how should select  Current year (April Month) to Next Year (March Month).
    For Example:
    2013 apr.......2014 may

    Hi Manikandan,
    Similar to your previous post about selecting Fiscal Year, do this in BEx, Have a range on Fiscal Month which either the user can input the range or use Customer Exits to derive it.
    The in your cross tab, having Fiscal Month in your columns will show the range selected.
    with regards
    Gill

  • Cross tab design : x position based on number of columns

    Hello everybody,
    In my report, I have a group section for the country.
    For each country and in the group header, I have 2 cross tab.
    They have always the same number of columns (columns is period).
    But 2 country could have different number of periods.
    I need to have the 2d cross tab just near the 1st (right side) so I want to change x position of the 2d cross tab depending of the number of period.
    I have try to use GetNumColumns but it doesn't work (always not supported), this is the same for other grid value function.
    I'm not sure to understand why ...
    So I have tried to calculate the number of row , using another group (period), but I can't summarize in a header.
    I'm a little bit lost and need some new idea...
    For information, my reports are based on a simple mysql DB.
    Thanks

    hello, i see that no one has responded to your forum post...is this still an issue?
    in the Section Expert for the section where the cross-tabs are sitting, there is a Relative Positions checkbox wherein the cross-tabs will stay in a relative x postion to each other.
    e.g. if you are in design mode and the cross-tabs are 1/2 inch from each other, when previewed, the 2nd cross-tab will start 1/2 inch after the 1st one stops.
    cheers,
    jamie

  • How to make cross Tab report for SAP B1

    Hello and Hi
    i trying to make cross tab report for SAP B1 but test column not appera in
    File >>New >>Cross Tab Report  start cross tab report creation wizard select database name and table
    but only numeric columns appear in available column fields , how will appearall fields including test fields..

    i got solution
    thanks google
    memo type field will not apper in list .use bellow  statment to convert in interger or char type
    convert(int,U_Dist_Sr_No) AS Dist_Sr,            CAST(U_Dist_Name AS varchar(250)) AS Dist_Name,

  • Removing spaces in cross tab

    Hello...
                  I created one cross tab with 10 rows and 2 columns.(In Crosstab Expert) Based on grouping  i got 5 set of cross tab reports,Each cross tab contains 4 records .But in between these crosstabs blank spaces are there ,How can i avoid such blank spaces...
                                            Expecting Answers.....Thanks...

    Hello  Jebin
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • View Cross Tab in CRS 2008

    Dear All,
    I have a problem with format left side in Cross Tab Report. When I design Reports using Cross Tab  and I view it, it works well in Crystal Reports. But When I upload it to Crystal Report Server 2008, the left side become to the center. I don't want it to display in the center.What is the reason for this problem?
    Member Grade_____________Amount_________Ratio
    Gold_____________________200,000_________50%
    Silver____________________200,000_________50%
    When I viewed in Crystal Report Server 2008, It displayed:
    Column Member Grade: Gold and Silver become the Center even though I format it to the Left
    Best Regards

    Check on the No Printer option or instlal the same Printer you used when designing the report on the Server.

Maybe you are looking for

  • Pavilion g6 sound issue

    The sound will just stop working and I can't get it to work again. İ don't know what should i do... OS : Windows 8 64x My product number is : C0Y46EA #AB8

  • Response in OAM

    Hi in our requirement we want to send error response like authentication failed, pwd expired,authentication successful so that portal can get this response and display appropriate custom message to user.How can i send this response through OAM to por

  • Can't see airdrop icon on my Control Center

    I have iphone 5s, latest iOS 8.3 when I open the control center, the Airdrop button/icon is missing. what ever  i did, i can't find a place in the setting when i can turn it on? is there any sujestion or solution?

  • Why does my Q10 keeps updating and clearing my phones saved information?

    Sorry these did not help me and the first one took me to something and said i had a virus and keep pop ups popping up on my computer.  Thanks anyway...I think???

  • Unable to print after migration assistant use MacBook to iMac

    I recently used Migration assistant to move my MacBook to my Imac and now cannot print to my HP printer