Disappeared a column in specific order Cross tab

Hi friends
I have a cross tab with YEAR column. (YEAR-1, YEAR). It use an specific order.
I create a column with the desviation with theses 2 years.
But when i modify the specific order of the columns, the column Desviation is dissapeared!
any idea?

I was a error from my code

Similar Messages

  • Unable to change column width dynamically in cross tab report.

    Hi,
    We have developed cross tab layout using template builder v.10.1.3.2.1 in EBS.I am trying to increase column width dynamically and the width is coming xml.
    i looked at document and found one command <?split-column-width:name?> for the same.i tried but it is not increasing the size of one column.
    Output
    column1 column2 column3 .......
    Row text1 10 20 30
    Row text2 40 50 60
    I want to inrease the size of column for row text1 and row text2.
    Need help in this.
    Thanks,
    Mahesh

    Is the field that holds your width value called "name"?
    Can you send me the xml and RTF template to [email protected] and I can take a look.
    Thanks,
    Bipuser

  • Count Function Specific with Cross Tab Name for Multiple Cross Tabs

    Hello Friends I have cross Tab1 and Cross Tab2 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and DISPLAY In cross Tab2
    Dimension name is ITEM ID
    So if there are 21 items in Cross TAB1 then in Cross TAB 2
    I want to display "Number of Item" = 21
    so do this i Created a count variable
    =Count([Item ID]) In Report
    which give me 21 in cross tab1 but when I drag that to cross tab2 it give me count of Item in Cross Tab2 = 87 which is wrong since i want 21
    so How do I fix this Count in Cross Tab 2
    Please help with code to say Count([Item ID]) In Report from cross tab1
    thanks
    Soniya

    Hi,
    Have you tried for the solution given in the previous thread by converting it to the dimension or detail?
    What result did you get?
    If you use "Report" operator/keyword then the formula will give you result for whole report. So if you have sections in the report then you can replace it with Section keyword.
    Also measure are dynamic and gives result according to the dimesion you associate with them. so you have to convert it to STRING dimension or detail. before using it in the next block.
    Regards,
    Rohit

  • 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

  • Date Formatting in Charts and Dynamic column resizing in Cross tabs

    Hi All,
    I am new to Design Studio, so am in desperate need of your help on the following:
    Is there a way we can change the date format in x axis in charts?
    For ex: Am getting dates as mm/yyyyy from BW but requirement is to show in yy-Mon
    Requirement is to display data in cross tab just below the charts. How can I make the column widths in the cross tab the same as x-axis divisions in the chart? Also, this will be dynamic as depending on filter selection x axis scaling in charts will vary.
    In cross tab, can I hide the column header?
    Would really appreciate any kind of help from you.
    Thanks & Regards
    Swasti

    HI Swasti,
    To answer your first question, in Design Studio it's what you see is what you get! so it shows the Data Labels as it is in the BEx output, if you have to modify this you have to change it in the Background.
    There might be CSS workarounds, but I am not sure if that will satisfy your requirements.
    You can fix the Column width, but it would be constant, aligning that to your X-axis would require a lot of Effort.
    You cannot hide the Column header directly, but one workaround would be to use a white BG text component to overlay on the Crosstab.
    Regards,
    Fazith Ali Z

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

  • Relative positioning of two cross tabs.

    I have two cross tabs. The first one is dynamic as the number of columns change based on user prompts. The second cross tab is fixed one column which is attached as the last column to the first cross tab.
    When the columns of first cross tabs change, the second cross tabs column doesnot move across to fit as a last column i.e., there is no relative positioning between the cross tabs..
    How do we achieve this? Any help would be greatly appreciated.
    Thanks,
    Adam

    Right click on the section where the two crosstabs placed and go to section expert and check the option "Relative Positions"
    Regards,
    Raghavendra

  • Hide Cross Tab Header

    Post Author: lbassil
    CA Forum: Crystal Reports
    All,
    I want to know if it's possible to hide the header of a cross tab? The suppress option did supress the header, but leaves space equal to the height of the header. So I tried to set the height = 0, i could not do it because the minimum height is 70 (as I concluded). Any clue?
    Anyone can help in this issue? Either tell me how to make the height of the cross tab header = 0, or how to stop repeating the column header of the cross tab on each new page?
    Regards.

    Hi!
    if i've correctly understood your question:
    click on your left into the section "document structure and filters) (incon paper with a pencil)
    right click on your cross table block and select "format table"
    on the option page that come up there is on the right a flag "show top header".
    remove it a click ok!
    i hope this help!
    b.r.
    Adrians

  • Array in formula to use in a cross-tab

    Post Author: eliasc
    CA Forum: Formula
    I am using CR 10.  I have a report where I am using a formula to use as a column header for a cross-tab.  Below is an example of what I am trying to achieve.
    ATLANTA INVOICE  ATLANTA SERVICE  ATLANTA WARR.  BIRMINGHAM INVOICE BIRMINGHAM SERVICE BIRMINGHAM WARR.  ETC..
    Below is the array in my formula.
    Shared NumberVar i;Shared StringVar CompanyName;Shared StringVar Array Companies := &#91;"HFSE - FW","ATLANTA INVOICE","ATLANTA SERVICE","ATLANTA WARR.","BIRMINGHAM INVOICE","BIRMINGHAM SERVICE","BIRMINGHAM WARR.","BGSI INVOICE","BGSI SERVICE","BGSI WARR.","PEN INVOICE","PEN SERVICE","PEN WARR.","JACKSON INVOICE","JACKSON SERVICE","JACKSON WARR.","FORT WORTH INVOICE","FORT WORTH SERVICE","FORT WORTH WARR.","JAX INVOICE","JAX SERVICE","JAX WARR.","LOUISVILLE INVOICE","LOUSIVILLE SERVICE","LOUISVILLE WARR.","OKLAHOMA CITY INVOICE","OKLAHOMA CITY SERVICE","OKLAHOMA CITY WARR."&#93;;0;
    local stringvar tString;shared numbervar CompName;
    CompName :=UBound(Companies) +1;i := CompName;
    For i := 1 to CompName step 1 do(  ReDim Preserve Companies&#91;i&#93;;    tString :=Companies&#91;i&#93; );
    tString;
    Can someone please help me.  I don't know where I am going wrong and why it isn't putting the above names in the cross-tab columns.
    Thank you for your help.
    Chris

    Hi,
    The "buffer" variable in DIG_Block_Out is an array of short integers (16 bit integers). It expects you to pass the array pointer as the function value. In the example below, "buffer" would be the parameter value.
    Dim buffer(5) as Integer
    Ron

  • How does one have a recursive query in a cross-tab report?

    I am trying to build a report off of a table much like an accounting transaction log where a subsequent (payment) transaction points to a previous (charge) transaction on the same table.  Most of the data I need to display is off of the payment transaction but the column header in the cross-tab needs to pull off of the initial, charge transaction (the data is not stamped on the payment transaction). 
    Whenever I add the second instance of the table to my report (as the column label) my summary data is doubled or worse.  I have tried to create a calculated field to filter and hopefully only sum up the payment transactions and use the calculated field as the summary data field but that is not affecting the totals.
    The truly odd thing about this is the summary field on the charge transaction does not contain any data, only the payment transactions have data in this field so the sum totals should be correct despite the double pull from the table.
    How can I read data from related records on the same table without affecting the sum totals?
    Any guidance would be appreciated!!  Thanks!

    Please re-post if this is still an issue and add a lot more info

  • Cross-tabs in Multiple Sub-reports

    Post Author: Kiwi Jan
    CA Forum: Crystal Reports
    I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
    I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
    For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
    I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
    However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
    How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
    Any suggestions would be greatly appreciated.

    Hi Kim,
    What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
    Here's what you need to do:
    1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
    2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
    3) In the Properties area, set the Insert Evaluation to 'Before'
    4) Now the new col would be the 1st col in the crosstab and it's values would be 0
    5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
    6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
    select Gridlabelat("Row",currentrowindex)
    case "Job1" : 50
    case "Job2" : 20
    Default : 0
    The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
    Gridlabelat("Customer.Country",currentrowindex)
    You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
    At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
    That's it! The grand totals for the row won't add the values from the calculated member.
    Hope you get this working.
    -Abhilash

  • How to refernce the field in the cross-tab report

    Hello,
    I'm trying to refer to the field in the cross-tab report using GridRowColumnValue function.
    The field name in formulas is DevelopmentTracking_SELECT.Completed, so I'm trying to refer like this:
    GridRowColumnValue("DevelopmentTracking_SELECT.Completed")
    I'm getting:
    "This is not the name of a grid group for the field being formatted."
    I've tried different way - gave the name of the field, for instance, or used the name form the Cross-tab expert - Max of DevelopmentTracking_SELECT.Completed, or simply use "Completed" - nothing worked.
    I see the possible cause for it. DevelopmentTracking_SELECT.Completed is not a row or column name, in the Cross-tab expert this is a Summarized field. How to reference the field like this correctly?
    Thank you,
    Peter
    Edited by: Peter Afonin on Feb 17, 2009 9:52 AM

    Oh I thought it is
    ROW: Product Name
    COLUMN:  Anticipated Date, Completed
    SUMMARIZED FIELDS: Product Stage
    Anyhow try to move the Completed field above the Anticipated Date in SUMMARIZED FIELDS by clicking up arrow.
    Now right click on the field Completed go to format field-->write the suppress condition like this
    WhilePrintingRecords;
    boolenavar i;
    i:=CurrentFieldValue;
    false
    Now right click on the Anticipated Date field and go to font and write the condition for color like this
    WhilePrintingRecords;
    boolenavar i;
    If CurrentFieldValue &gt;= CurrentDate Then
    crGreen
    Else If CurrentFieldValue &lt; CurrentDate And i=False Then
    crRed
    Else
    crBlack
    I hope this helps!
    Raghavendra

  • Column dissappeared in Cross tab with specific order

    Hi experts,
    I have a cross tab, with 2 columns from YEAR (2009, and 2010). Then I created a other column with the differences of both columns before, I changed the SPECIFIC ORDER and the 3th column is DISAPPEARED!!!
    I dont understand why!!
    thank you very much

    At the beggining i have the following columns:
    2009 2010 Desviation
    I created this with specifciar order.
    Then, I want to change the order and I put :
    2008 2009
    but the desviation is disappearing.
    thank u

  • Cross Tab calculation in Individual column-Crystal Report

    Hi experts
    I am preparing a report in Crystal report 2008. Report template is Cross Tab.
    Structure of report is
    Cardname-Row, DocType-Columnd, DocTotal-Summarize field.
    Result of this report is
                          IN(Invoice)             RC(Incoming Payment)      Total
    XYZ                    1000                  -500                                 500
    ABC                    2000                 -1000                               1000
    Total                   3000                  -1500                               1500
    I have inserted a column using calculated member. I want to Calculate in that column with BP opening balance
    eg. OCRD.Balance-DocTotal when I do this it give first value to all column rows, i.e (consider XYZ opng Balance is 1500, I have calculate month opening balance which meance Current Opening Balance-Current month Order bookings=Month opening balance)
              IN(Invoice)             RC(Inc Pmt)      Total   Opng Balance
    XYZ       1000                  -500                  500     500
    ABC      2000                 -1000                1000     500
    Total      3000                  -1500                1500    500
    I want to calculate Opng Balance for each CardName but it gives first Customers opning balance to all customers.
    Give me solution.
    Thanks in Advance

    Hi
    I think you can do calculation based on the formula .On the cross tab ,there is :
    X -selection - row
    Y - selection -column
    Z - summary
    You can also use formula on cross tab to do that function  and insert into summary section .
    Hope this helps .
    Bishal

  • Too many columns in CROSS-Tab

    Post Author: plm
    CA Forum: Crystal Reports
    Hi,
    I have created a cross-tab table that is supposed to return one column per value from a specific field. This specific field is not fixed and currently contains about 50 values (let's make them Col_1, Col_2,...,Col_50. Tomorrow, a user can create Col_51, calling it whatever he wants, and another user delete Col_3. In short, this is fairly dynamic, and the cross-tab is supposed to reflect these values and the data attached to it.
    At the moment, Crsytal report XI returns has many columns as there are occurences in my column field. GREAT. How can I get 5 columns over 10 pages instead???
    Thanks,
    Philippe

    Sorry, don't think you can. At least I have not been able to figure it out. If you have less rows than columns, you could try reversing it.

Maybe you are looking for