Suppress Columns shift Cells Lefts in Cross Tabs

Hello All
I need some help getting a cross tab report to suppress data correctly.
I have the following reporting requirement
Based upon Fiscal Year Period Selection report should start from the input period back 24 months.
Example
For the following example I use selection criteria of FY 2008 and period 11
Report should look as follows
                                      2008
                                      11        10         9          8         7 ....                           
Account Receivable     100      200       300      4000   5000 ....
Where the starting column is the input period 11
The table structure is
Account Number,  FY, Key Figure Period 1, Key Figure Period 2, Key Figure Period 3 .... Key Figure Period 12
Parameters
Fiscal Year
Period
Cross Tab Format is
                                 FY
Account Number      Key Figure Period 12, Key Figure Period 11, Key Figure Period 10, ... Key Figure Period 1
When conditionally suppressing the field I am using a suppression formual
Key Figure Period 12 = {?FY}="2009" and {?Period}<"12"
Key Figure Period 11 = {?FY}="2009" and {?Period}<"11"
Key Figure Period 10 = {?FY}="2009" and {?Period}<"10"
etc.
The problems is that when I suppress I just get a blank field
                                      2008
                                      12      11       10         9          8         7 ....                           
Account Receivable              100      200       300      4000   5000 ....
What I want is a complete suppression of the column and commence the report from Period 11 as follows.
                                      2008
                                      11       10         9          8         7 ....                           
Account Receivable      100      200       300      4000   5000 ....
Can anyone provide tips on how to achieve this?
Thanks
Phillip

Thanks for your help. Sorry for my wording causing confusion I am new at Crystal Reports. I think I may have caused some confusion for I am actually wanting to stop the summarized data from showing, and shifting the  summarized data to the left based upon a selection criteria.
Some more details
The Cross Tab has a Column heading of Fiscal Year.
The summarized values report the contents of fileds GLTO_HSL12 etc and are shown horizontaly with the label showing.
I can suppress the summarized fields so that they wont show. What I am trying to do is get the summarized fields to move to the left if based upon a selection criteria the logic I am applying is as follows
If Fiscal Year is 2009 and period is 10 then show summarized data from field GLT0_HSL10 to GLT0_HSL1 with GLT0_HSL10 being the first summarized field reported.
Currently based upon the Fiscal Year is 2009 and period is 10 example I can only blank out the summarized data for GLT0_HSL12 GLT0_HSL11 the actual format of the cross tab remains static.
Cross Tab Layout
______________________________FY2009
Summarized Data Heading_______| Period 12_____| Period 11 _____| Period 10 | ....Period 1
Row 1_______________________| GLT0_HSL12__|GLT0_HSL11__|GLT0_HSL10__|...
using suprresion formula in summarized fields I can achieve the following
______________________________FY2009
Summarized Data Heading_______| Period 12_____| Period 11 _____| Period 10 | ....Period 1
Row 1_______________________| ____________|________________|GLT0_HSL10__|...
What I want though is
______________________________FY2009
Summarized Data Heading_______| Period 10_____ | Period 9
Row 1_______________________|GLT0_HSL10__|GLT0_HSL09__|...
I hope this explains my problem alittle better.
Phillip

Similar Messages

  • How to Get Text to Appear on in a Cell of a Cross-Tab

    <p>Have you ever felt the pain of not having enough control over the content of the cells in the cross-tab?  For instance, ever wanted to put text or even just round the numbers to the nearest thousands to save room?  Did you know that the Display String formatting formula can help you accomplish this?  </p><p>This sample will help you accomplish this</p>

    sorry i got the answer.

  • Calculated column shows all zeros in cross tab discoverer report

    Hi
    I have a calculated column in a cross tab report which shows all zeros, but when i duplicate the report as 'table' the calculated colun is getting populated.
    i did not understand why it is doing like that, are there any special privileges or any special settings required for creating a cross tab report.

    Hi,
    No there is no special privs for cross tab but there is an aggregation issue.
    There are some methods of aggregations used in the discoverer.
    First thing you can so is to make sure that in the cross tab sheet you use the detailed data points and that you are not combining different levels of aggregations (for example one amount in details and another one summed).
    Second thing you can try is to change the aggregation for this worksheet, you can do that by going to the worksheet properties to the aggregation tab and try to change the settings.
    Third thing is to check the pref.txt file in the application server and set "AllowAggregationOverRepeatedValues" to 1
    BTW also search your data and find whether you got NULL values in the aggregated items, if so then wrap the data points with NVL function.

  • Displaying other columns/tables apart from a cross tab

    Hi,
    I designed an RTF template. This contains 3 tables. First table contains the invoice information. 2nd table is the cross tab and 3rd table contains the aging details. My requirement is to print the other tables in all pages if the cross tab goes to multiple pages. Presently all the tables are displayed in the 1st page only. If the cross tab output goes to next page then the 1st and 2nd tables are not being displayed in other pages.
    Can anyone suggest me how to display the other columns/tables apart from cross tab columns if the cross tab output goes to multiple pages.

    Can u plz send me the sample xml and the template so tat i can help u frm my side...

  • Filling cells of a cross tab with zero if null

    Hi All,
    I am using Deski 5.1.
    We have a cross-tab, that show sales data like below for each week id and store.
    Week_ID   Store1  Store 2  Store3
    12             100                    150 
    13                          100       180
    14              200      250       250  
    When there is no sales for a store in a week, the cross tab is showing a null in the cell. Can I show that as Zero using some formula?
    Kindly help.
    Warm Regards,
    Chandran KCS.

    Hi Chandran,
    In a crosstab you can have cells that are not even null, but simply no data exists for that cell.
    That combination of dimension objects is not in the database.
    In this case you can use format cell to get a zero in these cells.
    Right click the cell and from the Format Cell submenu, choose a number format,
    then add a 0 (zero) under the heading undefined.
    Now all empty cells will show as zero.
    Good luck,
    Marianne

  • How to count number of columns in cross-tab report

    I have created a cross-tab report and have managed to get the data out as below:
                 Jan     Feb     Mar....(display of months will auto expand) Avg/Mo  Total
    UserA     4          3        4                                                                         11
    UserB     6          1        1                                                                          8
    UserC     5          5        5                                                                         15
    Total       15        9        10                                                                        33 
    I want to insert a calculated column (Avg/Mo) into the cross-tab report based on the formula: Total/Number of Months. I used this calculation formula  for Avg.Mo column:
    (GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/GetNumColumns)
    However, I get the wrong average since GetNumColumns count the total number of columns including the column of Avg/Mo and Total.
    How do i get the number of columns, excluding the Avg/Mo calculated column and Total column?
    PS: I can't use hardcode since the number of months/columns will auto expand the months progress...
    Edited by: jutamind on May 26, 2010 9:27 AM

    ok managed to solve this by slightly changing the formula:
    GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/(GetNumColumns-2)

  • Column values shift towards left for null values when export to excel

    Post Author: pssuresh
    CA Forum: Exporting
    All,
    I have a strange problem when using crystal report 10 export through C# Code. Consider in a row there are 3 columns and i am exporting to excel. ex.Student_id,Student_name,Student_Section. If Student_name values are null, then student_section values get displayed under student_name. There is a column shift towards left when there are null values. If anybody has already faced this problem, please post ur answer.
    Note:  When i just export to excel directly from crystal report, it works fine. i face problem only when i export through .Net code. I guess it is the problem with some formatting through code. if any body has fix, let me know.
    Thanks,
    Suresh.P.S

    Post Author: pssuresh
    CA Forum: Exporting
    Thanks for your reply. Even i have done the same thing yesterday to solve that problem. But we have nearly 100 of reports and started migrating now. The best solution crystal reports suggest is this.
    http://support.businessobjects.com/library/kbase/articles/c2014430.asp
    Thanks,
    Suresh.P.S

  • Display two different column types in cross tab

    I am using Cross Tab template in crystal XI and I have to show two different column types one is of type int and other is of type string. Below is the format of the report
                                  AmountGiven             Amount Spent            Attended
    Mike                       5000                              3000                         Yes
    Steve                     200                                 200                           No
    Is there a way I can do this showing "yes" or "no" in the third column???
    Thanks...

    Hi
    If you are trying to show "yes" or "no" for a column value in a cross tab, then yes we can try using a formula for it.
    I would suggest you 2 ways that you can try at your end:
    1.
    a) Create a formula in the cross tab expert and write your condition.
    for eg: if Sum({Orders.Order amount}) > 5000 then "yes" else "no"
    b) Then select that formula in the summarized fields in cross tab expert and change the summary to MODE.
    c) You can see the "yes" and "no" Within the same box.
    2.
    a) Add a field to the colums in the cross tab expert.
    b) A column gets inserted in the cross tab.
    c) Right click the field and select format field.
    d) Go to Common tab and write a formula for the display string.
    e) Write the condition in that formula.
    f) You can see a new column with the expected values.
    Hope this helps you..
    Please revert incase of any queries.
    Regards
    Pradeep Hulke

  • Changing cell height in a cross tab

    Hi,
    I want to reduce the height of rows in a cross tab. The help index says to click a cell within the cross tab to activate the sizing handles, and to then click and drag them to change the height. But the only size handles I see are the one for the data itself within the cell, and not the cell itself.
    And if I right click on the cross tab, I get the Size & Position option, which seems like what I want. But when I change the height there, it saves my change, but the height of the cell doesn't change.
    Ideas?

    I have CRXI, you can try, crosstab expert, customize style, look for ShowCellMargins,
    uncheck that box, now you may need to adjust things to add a little extra room.

  • Cross-tab cell padding: how to change

    Post Author: EnRoute
    CA Forum: General
    I am trying to minimize the height of the cells of a cross-tab object.  I can re-size the text, but that doesn't change the padding between the text and the cell border lines.  There is more padding than I want.  If I reduce the text height any more, the bottoms of the letters g, j, p, q, and y are truncated, even though there is a significant amount of whitespace below.  Is there a way to change the amount of cell padding?
    Product: Crystal Reports
    Version: 10.0.0.533
    Patches Applied:
    Operating System(s): Windows XP
    Database(s): Microsoft SQL Server
    Error Messages: Not applicableSteps to Reproduce: Place a cross-tab object on a report.

    Post Author: SKodidine
    CA Forum: General
    One way to do it in CR XI is to right click on the cross tab and then Cross Tab Expert and in the Customize Style tab, uncheck Show Cell Margins.  That will eliminate the cell padding of white space.

  • Hide the cross-tab headers

    Hi -
    I am trying to figure out how to hide the cross-tab headers on even number pages.  I know that I can suppress the text in the header columns but I would also like to hide the cells as well.  Is there a way to do this?
    Thanks
    Akash

    hi Akash,
    unfortunately there is no ability to hide the cells / space for column headers that are suppressed. the grid lines cannot be conditionally hidden either.
    if you really need this look and feel you may wish to insert a 2nd section below your existing cross-tab. copy and paste the cross-tab into the new section and have that 2nd cross-tab's column header suppressed as well as shrink up this header with the Size and Position > Height property. you can then remove the grid lines (if applicable) on the column header for this 2nd cross-tab.
    now you need to conditionally suppress the new section based on the page number and the original section based on the page number. to suppress the new section should be 
    remainder(pagenumber, 2) <> 0
    and for the original section
    remainder(pagenumber,2) = 0
    -jamie
    Message was edited by: Jamie Wiseman

  • 2 Cross tab summaries divided by each other

    I have a cross tab report that summarizes 2 fields, sum of amount paid and distinct count of customers.  The rows of the cross tab are grouped by revenue category, the columns are grouped by month.  Within each cell I would like to divide the total amount paid by the distinct count of customers.  See the attached image, I would like the quotient of the top number divided by the bottom number displayed to be displayed in each cell of the cross tab.
    Any help is greatly appreciated.  FYI, I am fairly new with Crystal Reports so I apologize if this is not making sense or if I am not going about this the right way.
    Thank you,
    Matt

    Hi Matt,
    Here's what you need to do:
    1) Right-click the second summary field in one of the cells (example would be number 166 for Row = 01) > Select Embedded Summary > Insert Embedded Summary
    2) Next, right-click the 'Edit this formula' > Embedded Summary > Edit Calculation formula and use this code:
    If GridValueAt(CurrentRowindex, CurrentColumnIndex, CurrentSummaryIndex-2) = 0 then 0 else
    (GridValueAt(CurrentRowindex, CurrentColumnIndex, CurrentSummaryIndex-2) /
    GridValueAt(CurrentRowindex, CurrentColumnIndex, CurrentSummaryIndex-1) )
    -Abhilash

  • Cross-Tab Formating

    Can you conditionally format a cell in a cross-tab based on the value in other cells?  Thanks in advance.

    Hi,
    You can use similar condition.
    IF GETCOLUMNGROUPINDEXOF(CURRENTCOLUMNINDEX)= 1 AND GRIDROWCOLUMNVALUE(u201CMONTHu201D)=u201DJANu201D AND GRIDVALUEAT(CURRENTROWINDEX, GETCOLUMNPATHINDEXOF(u201CJANu201D), CURRENTSUMMARYINDEX) > 5000 THEN
        CRRED
    ELSE
        CRBLACK
    This example will highlight amount in red color under January month column where the amount is greater than 5000.
    Hope this helps.

  • Help with Cross-tab

    Hello everyone...
    Here is some quick background info on my project:
    1) I am attempting to write a Crystal Report (version 10) to automatically capture crime statistics for a previous time period based on a current time period entered into the Crystal Report parameter. The current date range to automatically be captured is the previous seven weeks. For example, if a user enters the date range of June 15, 2008 - August 2, 2008, the Crystal Report will automatically gather data for the two date ranges of April 27, 2008 - June 14, 2008 (the previous date range) and June 15, 2008 - August 2, 2008 (the current date range). The purpose of this is to automatically gather crime statistics for two equal date ranges to compare crime rates.
    2) I have been able to successfully construct a formula to gather the previous date range.
    3) I have constructed a cross-tab but I am having difficulties formatting the cross-tab to display data as I desire.
    With the background of my project now described I will move into the main problem I am experiencing. I am able to display the data for all the necessary weeks in the cross-tab; using the same date range above I am able to show data for the fourteen weeks of April 27, 2008 - August 2, 2008. However, I wish to have a single cross-tab display the grand totals for just the previous date range while having weekly totals and a grand total for the current date range.
    Using the same date ranges above as an example, the date range of April 27, 2008 - June 14, 2008 will show just the grand totals for all seven weeks of that period. Conversely, I would like to have the date range of June 15, 2008 - August 2, 2008 show weekly totals as well as grand totals for all seven weeks of that period.
    I would like to keep all this data in a single cross-tab due to having to put the data in another crime analysis report.
    Any help you can provide is most appreciated...let me know if I can provide further info. Just so you know I am a bit of a beginner when it comes to Crystal Reports.

    Hello, you might try this:
    1) Create a formula field in your details section with this:
    Whileprintingrecords;
    If (table.date >= "start date of your pre-date range" and
    table.date <= "end date of your pre-date range") then 'Pre-Date'
    else
    if (table.date >= "your 1st week start" and table.date <= "your 1st week end") then 'Week 1'
    else (if table.date >= "your 2nd week start" and table.date <= "your 2nd week end") then 'Week 2'
    else .... for the 7 weeks you want a separate column.
    2) create the cross-tab and put the formula field as the column.
    3) I believe if you right-click on the total field to the far right and "Format Field" you can use the "Display String" option to delete the sum of the previous week's from the CurrentFieldValue and use the TOTEXT() function to display it. This will only display the sum of your current 7 weeks.
    You may want to go change the "Group Options" for the column to Sort in "Specified Order" and create named groups for each of your column headings. I can explain how you would do this if you need it.

  • How to create a title over the top of the left-most column in a cross-tab.

    This is one of those things that seems simple until you try it.
    I'm almost there.  I moved the cross-tab from the report header to the report footer so I can have a page title.  I tried using an overlay but it didn't work for any page past the first.
    I can't seem to figure out how to put a title over the left-most column though.
    Thanks in advance,
    J

    I have used a text box, after you type in the text, select the box, and move it to the front.
    then select the crosstab and move it to the back.

Maybe you are looking for