Formatting a cross tab report

Post Author: gronkette
CA Forum: General
I have a simple crosstab report column A + column B = column C (total). Rows 1 - 24 and a total
1  4276  5553  9829
2  4132  5383  9514
3 etc.....
I would like the maximum value in each column to be highlighted in Yellow.....
thanks
I'm using CRXI Rel2

You can do that in single table itself , as one of our friend mentioned above, still you want to do it in multiple table.
You can change the line spacing from single line spacing between the table to exact and can give 1pt
try this. otherwise
send me your xml data and template to,
fusionDOTobject AT gmailDOTcom
i will have glance at it,and see if i can help.

Similar Messages

  • PeopleSoft XMLP : Conditional Formatting for Cross tab report

    I have developed a XMLP cross tab report using ps query. Report runs good for (.htm,pdf,rtf) extension . But I am unable to format the data based on condition.
    Code which get displayed at the data field : <?sum ($G1[(./DESCR=current()/DESCR)]/JOB_REQ_NBR)?>
    any help ot suggestion ?
    Report layout(table) in .rtf format
    H GDESCR*E* Total (Header Row)
    GXLATLONGNAME G999*E* 999*E*
    CTotal G999*E* 999

    <?xml version="1.0" ?>
    - <query numrows="10" queryname="HF_EREC_BU_JOBREQCOUNT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    - <row rownumber="1">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="2">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="3">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="4">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="5">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="6">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="7">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="8">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="9">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    - <row rownumber="10">
    <XLATLONGNAME>XLATLONGNAME sample data</XLATLONGNAME>
    <DESCR>DESCR sample data</DESCR>
    <JOB_REQ_NBR>JOB_RE</JOB_REQ_NBR>
    </row>
    </query>

  • 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

  • Cross-tab report: need to SUM field and present as HH:MM:SS format

    I am creating a cross-tab report and several of the selected data fields I need to summarize are time-based fields, which are stored as seconds in the database.  When I create a standard report, the formula to convert the seconds to HH:MM:SS and SUM works just fine, but when I try to bring that formula field into the cross-tab report, it does a COUNT on it rather than a SUM.
    How can I get it to SUM that data and present it in an HH:MM:SS format in the cross-tab report?
    Here is the formula I'm using in the Standard Report to convert from seconds to HH:MM:SS and SUM the data.
    totext(abs((Sum ({wagent.acwtime})) / 3600),"00") & ":" &
    totext(abs(remainder((Sum ({wagent.acwtime})),3600) / 60),"00") & ":" &
    totext(abs(remainder(remainder((Sum ({wagent.acwtime})),3600),60)),"00");

    In the cross tab, do the sum on {wagent.acwtime}.  In the cross tab on the page, right click on the field for the sum, select Format, press the X-2 next to Display String, and enter your three line formula, replacing {wagent.acwtime} with CurrentFieldValue.
    HTH,
    Carl

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

  • 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

  • Variance formual in Cross tab report

    Hi,
    I am new to crystal and don't have formal training. I am trying to create a report that shows Actuals and Budget and I want to the variance.  Format is 1 row is for actuals, 1 row is for budget and the other is for forecast.
    I would like to have a variance that is actual - budget and another actual - forecast for each measure.
    I am using cross-tab report for formatting, any assitance for how to over write totals coloumn with Variance calculation, assistance for creating variance formula in formula workshop is required. I happend to see the logic in other forums but not in cross-tab scenario.
    Thanks in advance.
    Bhanu

    Use a manual Crosstab report so you have full control

  • Restricting data in cross tab report

    Hi
    I am creating a cross tab report.In that I want to restrict the column dynamically.The column depends upon the parameter field.
    say for example if i enter the parameter as 2007,it should display field from 2004-2007 only rather than displaying all years.
    Thanks in Advance,
    Eswari

    Hi,
    You can use a formula. e.g
    < Basic format>
    Select case year({Command.tradeDate})
        case 2005 to 2007
            formula = 1
        Case else
            formula = 0
    end select
    Then on the crosstab column group options, choose "specified order" and on the "Other" tab choose "Discard all others"
    Hope this helps
    Regards
    Dotun.

  • BIP Cross tab report

    Requirement is to display cross tab report in the format mentioned below
    Currency Denominations
    ----------------------------------1000-------500---------200--------100-----
    AED ---------------------------abc----------xya----------pqr-------www
    ----------------------------------1000-------500---------100--------50-----10
    INR ---------------------------abc----------xya----------pqr-------ww------uuu
    ----------------------------------100---------50-----------20---------10-----5
    USD ---------------------------abc----------xya----------pqr-------ww------uuu
    where number denotes the various denominations for a currency, text values denote the cell value, for the sake of simplicity only one row is displayed.
    Normally in a cross tab report, column values are fixed for each row value, but as illustrated above, each row has a different set of column values.
    How to achieve this format.

    http://winrichman.blogspot.com/search/label/cross%20tab

  • Cross Tab Report Summaries

    I have a cross tab report with a row for loan type and another row for Investor Name.  The columns are for loan disbursements by month.  The summaries are for the loan count for loan type, loan count as a % of loan type, sum of loan amount for loan type and sum of loan amount as a % of loan type.  The monthly numbers and % are correct, as well as the final column for the totals.
    The total number of loans and total sum of the loan amounts in the total row at the end of each loan type are also correct, but I want the % of loan count and % of loan amount in this row to be based on the total count of all loans on the report, not just the % of the loans in that particular loan type.
    Can someone tell me how to modify the % count summary and % sum summary just on the total row printing for the loan type?

    Hi Diann,
    Try to use the display string by right clicking on total field>format Field>Common tab-->Display string
    and write the formula like
    currentfieldvalue/count(field)
    Regards,
    Raghavendra

  • Cross tab report customization

    Post Author: Tejas
    CA Forum: General
    I m devloping the customize application for crystal report which is set the height , width of fields inserted in the report.
    but i got problem to change the width of cross tab report field. i can't find width property of fields which there in the standart report field,
    so how i customize the width of cross tab report.???.

    Hi Diann,
    Try to use the display string by right clicking on total field>format Field>Common tab-->Display string
    and write the formula like
    currentfieldvalue/count(field)
    Regards,
    Raghavendra

  • Cross-tab report functionality does not support .csv export.

    I want to export the cross tab report in .csv format , but when I export the cross tab report to .csv format only header and footer gets printed multiple times and data is not getting exported.

    No , cross tab report does not getting properly exported in .csv format. Only header and footer gets printed multiple times and data is not getting exported. 
    does cross tab report support .csv export based on WYSIWYG?

  • Cross Tab report in RTF

    Hi,
    I'm trying to create a cross tab report in RTF, it is a time sheet report and the data needs to be print based on the days of week
    the report should print in below format
                                  Week: Dec 08 TO Dec 14
          Employee                 Sun          Mon          Tue          Wed          Thu          Fri          Sat
                                         Dec08     Dec09       Dec10     Dec11         Dec12     Dec13     Dec14
              EMP1                    0                0               8            0                8
              EMP2                    0                0               8            9               10
    I could get the correct grouping of week range and dates, however the number of hours are not printing in correct cell,
    for ex. EMP1 has worked 2 days (dec 10th & 11th) but my rtf output is printing that number of hours under Dec 08th & dec 09 th respectively.
    Need your help in understanding what is wrong with my RTF template.

    The RTF and XML is available in below link,
    https://app.box.com/s/vk2tb5xpuce9ccyvpz0c
    In the XML the data is available for only a few days for each user, however when there is no working hours for a user in a day of the week we have to keep 0 hrs else the number of hours worked on that day.
    Thanks

  • Sorting by date in columns cross tab report.

    Hi all,
    I am working on a cross tab report in BI Publisher in which columns are generated dynamically in a pivot table depicting months as Jan 09 , Feb 09.... but data type is char.When displayed in pdf, columns are generated sorted alphabetically.
    How can I have them sorted by date in final pdf?
    or
    How can I stop the columns being sorted in pivot table at template level?
    Thanks.
    Edited by: user9061488 on Jul 21, 2010 1:13 AM

    You need to get a extra column in the query just for sorting purpose, which will have month number in it or YYYYMMDD. format, so that , it can be used in only for sorting.
    with JAN 09, FEB 09 , we can do it, but it will be little complex

  • SORTING FOR THE CALCULATION FIELD IN CROSS TAB REPORT

    LIST_G_AUCTION_TITLE>
    <G_AUCTION_TITLE>
    <BID_NUMBER>5002</BID_NUMBER>
    <AUCTION_TITLE>E2E-01 Construction RFQ</AUCTION_TITLE>
    <ITEM_NUMBER>C2631</ITEM_NUMBER>
    <ITEM_DESCRIPTION>4G000,000,0STRUC,X,SPECIAL STRUCTURE</ITEM_DESCRIPTION>
    <ESTIMATED_QTY>1</ESTIMATED_QTY>
    <UNIT>LS</UNIT>
    <QUOTE_PRICE>400</QUOTE_PRICE>
    <ESTIMATED_QUOTE_PRICE>400</ESTIMATED_QUOTE_PRICE>
    <SUPPLIER>X - L CONTRACTING</SUPPLIER>
    my xml data is in this format, i created a cross tab report for ITEM_DESCRIPTION as row and SUPPLIER as column and calculated a sum(ESTIMATED_QUOTE_PRICE)
    for all the ITEM_DESCRIPTION for every SUPPLIER in templete . now i need to sort the data by sum(ESTIMATED_QUOTE_PRICE) from lowest to higest from left to right , that is supplier with lowest sum(ESTIMATED_QUOTE_PRICE) should display first from left to right.
    can any one help thanks in advance.

    thank you tim , for asking i got the solution. it is actually in template builder i was asking about. xml template builder

Maybe you are looking for

  • Is there a way to "purge" muliple copies of the same song?

    Hi, I lost my iTunes library after connecting my iPhone (don't know how or why or even if that was the cause). The library had around 20 songs total in it after disconnecting the iPhone - down from several thousand. I did have a few older copies of t

  • JTree selection problem when using custom renderer and editor

    Hello: I created a JTree with custom renderer and editor. The customization makes JCheckBox to be the component responsible for editing and rendering. The problem is that when I click on the node with the checkbox the JTree selection model does not g

  • POWERBOOK FREEZES...HAS ANYONE  FOUND THE SOLUTION?

    Hi, I just bought a Powerbook a week ago and there have been some randomly system freezes. Since I bought it there have been about 5 freezes. My powerbook its a 15in G4 1.67ghz with 1.5gb ram. I have noticed that when this happens I have the airpot c

  • Create movie in PAL format

    Hi, Just getting in to using iMovieHD (v6.0.3) to create DVD slideshows from my still photos. When I create a new movie and select 'Video Format' I don't get the options for DV-PAL nor DV Widescreen PAL. All my movies come out as NTSC. How can I set

  • Using Project Siena to record a video and take a picture

    Hello: I have seen this question : http://social.technet.microsoft.com/Forums/en-US/9b5869df-669c-4d4b-a68f-400936fc9c2f/recording-video?forum=projectsiena This question was in January.Can I use the Camera visual to record a video in beta 3 now?On th