Cross Tab Formatting a summarized field

Hi All,
    I have a field that is summerized in my crosstab. However, I want to be able to take that number and format it in HH:MM:SS and am having difficulty accomplishing this. In my drill down reports I was able to do this with ease. Could someone help me out in this regard?
Thank you in advance,

You should be able to create a formula, something like this
and then add the formula to the cross tab
whileprintingrecords;
NumberVar Hours1;
NumberVar Minutes1;
NumberVar Seconds1;
NumberVar TimeBreak;
TimeBreak:= 0;
if Sum (, , "daily") = 0 then 0 else
TimeBreak:= Sum (, , "daily");
Hours1:=(Truncate(TimeBreak/3600));
  Minutes1:=(Truncate(Remainder(TimeBreak,3600)/60));
  Seconds1:=(Remainder(Remainder(TimeBreak,3600),60));
//Display the time formated.
ctime(hours1,Minutes1,seconds1)
This example, is grouped by RowDate by day, and converts the seconds (Auxtime2) to
HH:MM:SS

Similar Messages

  • Convert cross tab with 2 summarized fields to a chart

    Greetings,
    I have a simple cross tab containing a date row and 2 summarized fields. It looks like this (see Figure 1)
    When I convert (insert) my cross tab into a stacked bar chart, I only get one of the summarized fields to show up on the chart. It looks like this (Figure 2)
    Is there a way for me convert this cross tab into a stacked chart so that both of my summary fields appear?
    Many Thanks!

    OK... Thank you.
    I was using the cross tab  in hopes of controlling graph labels for months (Customize Group Name field) . What I was doing was converting dates to month verbiage (Sep, Oct, Nov, etc) so that the month verbiage would appear on my graphs instead of the numbers while still maintaining proper calendar order . (thanks for showing me this technique by the way as it works great). Too bad it does not work when there is more than one summary field (thanks for explaining its limitations... I had not told you that I was adding a second summary field).
    Given that I have 1 row ( Date_discharge) that I need to display as months (verbiage) in calendar order
    and
    Given that there are 2 summary fields: Vaccine Indicator (a sum) and Birth_date_Baby (a count) ...
    (I am contrasting # of vaccine's given against total babies per month in a monthly stacked bar chart)
    Is there a way to display 2 summary fields on a stacked bar graph grouped by month (where the month is listed in alpha format, (Sep, Oct, Nov, etc.) but still sorted by its calendar value? My initial attempts to do this in a graph (without a cross-tab) would display the month verbiage just fine, but it would order my months alphabetically.
    Thanks again for your suggestions!

  • How to display Zero(0) values in cross tab format in Webi???

    Hi All,
    Is there a way to display the zero(0) or null values in cross tab format in
    webi. I can able to display in Regular tabular format in Webi as u got an option
    in Properties --> Display --> Show all rows/columns, but it is not working when
    i am using Cross Tab format for the same data.
    Regards
    Ram

    Hi Sunil,
    Happy to see your solution. My requirement is that if you have a data like
    SBU,                   Cadre,                Value
    Chemical Buss,     Manger,                  45
    Crop Buss,            Workmen,               63
    Agri Buss,              Executive,              70
    Chemical Buss,     Executive,              84
    Agri Buss,              Workmen,              -      
    Crop Buss,                 -,                        -
    So now we need to get the rows or columns that are having blank values. Say like if Crop Buss is not having any values so it wont be displayed, but actually it has to be displayed.
    Regrads
    Ram

  • Display Data in Cross Tab Format...Per Quarter

    Hi Team,
    I have following issue...which i am struggling to solve...
    My current report format is
    Material Technology -  Q1(Qty) Q2(QTY) Q3(QTY) Q4(QTY) - Q1(Pirce) Q2(Pirce) Q3(Pirce) Q4(Pirce) - Q1(Rate) Q2(Rate) Q3(Rate) Q4(Rate)
    I have generated cross tab report...in which i am getting following display...
    Material Technology Q1(Qty) Q1(Price) Q1(Rate)  and so on...
    Is there any way i can get the required format...please assist..
    Q1 to Q4 - Quarter 1 to 4...
    regards
    nic

    Hi Nic,
    The problem is you have 3 measure objects available: qty, price and rate.
    If you put them in a vertical table then you will have 3 columns. As soon as you put in the quarter to create the crosstab BO will the for each quarter display the qty, price and rate.
    To solve your problem is to not create a cross-tab, but a vertical table.
    For each measure object you crreate 4 new variables (type measure) using the the formula:
    E.g. for the quantity in the first quarter you create variable like: qty_q1
    =<qty> Where (<quarter> = 1)
    The same you do for the quantities for the other quarters.
    And you do the same for the price and rate.
    Ending up with 12 new variables which you can put in a vertical table in any order you like.
    Regards,
    Harry

  • Unable to bold a cell verticle line in Cross-tab Format Grid Lines

    Hi
    I am unable to bold a random Cell vertical line inside the cross-tab. My cross-tab is having access database which pulls every data correctly,
    To elaborate , here is the images to make it clear.
    First one is the current output of cross-tab & 2nd one is the desired output :
    To make it more clear ,
    I am giving the screenshot of Format grid lines option,  when I have selected Cell vertical lines , I can change Line options (Like style,width,color) from it. When I change it, it changes all three lines simultaneously. But, in that, I just want to bold only the last line of this grid.
    The screenshot as follows (To denote the lines, I have put numbering under the vertical lines, where I want to bold only the third one) :
    Please let me know, if  any solution to this. I m using CRVS_13.
    Thanks in Advance.

    Hi,
    try to do this way..
    Right click on crosstab - > crosstab expert -> customize style -> select your particular column then goto Format Grid Lines -> select your particular one based view -> ok..
    I hope this not yet possible because select 1 automatically 2,3 vertical lines are selected..
    See how it works......Please update ASAP
    tHANKS,
    dj

  • Cross Tab Formatting Problem when exported to excel

    Hi There,
    I got a problem with cross tab when exported to excel, Call_id field is occupying 4 cells. Below is the structure
    AssignedGroup-Call_Id-Total
    A--1001-
    A--1011-
    Total-----2-
    B--1021-
    B--1031-
    Total-----2-
    C--1041-
    Total-----1-
    can anyone help? How to restrict call_id to fit in single cell?
    Thanks,
    Jyothi
    Edited by: Jyothi Yepuri on Sep 16, 2009 7:50 AM

    Yeah.. crystal has giving  some issues while exporting reports without SPs, especialy previous versions.
    So  Better to install latest SP or patches for CR 10.0. I think SP 6 is the updated one for CR10.0.
    For More info Go through this link,
    http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CR10
    Regards,
    Salah

  • Cross tab formatting issue

    Post Author: forumguy
    CA Forum: General
    Hi Guys,
    I am using crystal 10. The cross tab is in the group.
    It was giving me a blank page in the middle of the report. So, unchecked the "Keep together" in the section expert in the group. And the Blank page was gone. But now with "Keep together option" unchecked, it gives error " Error formatting the cross tab" after one particular page.
    Is there any other way to remove that blank page ?
    Appreciate ur comments.
    Thanks

    Create a manual crosstab report

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

  • Cross tab formatting in Infoview

    I uploaded a Crystal 2008 report into Infoview product version 12.1.0. The report contains indented row labels in the cross tab. When I view the report in Infoview, the indents don't display nicely indented. Instead, they almost look centered, which defeats the purpose of this feature. Anyone know whether I'm doing something wrong or maybe it's a version/Infoview setting issue?
    Thx.

    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

  • Cross Tab Format Report

    Hi,
    I have data like this in xcelsius data sheet,
            A                B            C
    1   State         Month       Sales
    2   Austin       Jan           200
    3  Austin        Feb           300
    4  Austin        Mar           400
    5  Texas        Jan            400
    6  Texas        Feb           200
    7  Texas        Mar           500
    8  DC             JAn          100
    9  DC             Feb           300
    10 DC            Mar           150
    I want to aggregate the sales values in the following format,
            H                 I             J               K
    1     State           Jan        Feb           Mar
    2     Austin         200        300          400
    3     Texas         400        200          500
    4     DC               100       300           150
    I used SUMIFS function, unfortunately Xcelsius does not support this function.
    Is there any work around to get the values in desired format using Excel functions.
    Sorry in the preview the format is not shown properly, but iam looking for something like crosstab report format.
    Regards
    Sudhakar

    Hi Sudhakar,
    One way to do this is to create a new column say column D which contains a concatenation of columns A and B e.g.
         A     B     C     D
    1     State     Month     Sales     Combined
    2     Austin     Jan     200     AustinJan
    3     Austin     Feb     300     AustinFeb
    4     Austin     Mar     400     AustinMar
    5     Texas     Jan     400     TexasJan
    6     Texas     Feb     200     TexasFeb
    7     Texas     Mar     500     TexasMar
    8     DC     JAn     100     DCJAn
    9     DC     Feb     300     DCFeb
    10     DC     Mar     150     DCMar
    The use this formula in cell I2 which can then be copied down and accross as required =SUMIF($D$2:$D$10,$H2&I$1,$C$2:$C$10)
    That is where the setup is as you described above i.e.
         H     I     J     K
    1     State     Jan     Feb     Mar
    2     Austin     200     300     400
    3     Texas     400     200     500
    4     DC     100     300     150
    Regards,
    Paul
    Edited by: zygorf on Dec 13, 2011 12:19 PM

  • How can I avoid the null values in cross tab?

    How can I avoid the null values in cross tab?

    Hello Anindita,
    Let me explain you the problem in detail.
    I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
    In DB I can have both User and Program null.
    Letu2019s take these scenarios...
    1) For a User, Program can be null
    2) For a Program, User can be null
    3) And both can be null.
    A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
    Problem comes in scenario 2 (For a Program, User can be null).
    In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
    "Suppress empty rows" and "suppress empty colums" does not help.
    Thanks & Regards,
    Amrita

  • Is there a limit to no. of summary fields that can be used in a cross tab?

    Hi,
    While creating a cross tab is there a limitation to number of summarized fields that can be used?
    - The cross tab when uses 184 fields as summary fields leads to Crystal report application to crash at the time of export to excel.
    - Tried with two Datasources: XML and excel
    - If we reduce the number of summary fields used to 102 exactly, export works fine in excel.
    - If 2 cross tabs are used each containing 92 summary fields(in order to show 184) export to excel works fine.
    Please let me know if there is any such limitation which leads to CR application to crash when exporting in excel?
    Thanks
    Regards,
    Nidhi

    I suggest you purchase a case and have a dedicated support engineer work with you directly:
    http://www.sdn.sap.com/irj/boc/gettingstarted
    Or
    http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728
    If this is a bug you'll get a refund, if not post your enhancement request in the Idea Place. Or the Rep will suggest a better way to create your report.

  • User-Defined Alphanumeric field not showing in Crystal Cross-Tab Reports

    Hi  All,
    We are facing the given below issue in crystal reports :
    In Crystal Cross-tab reports User defined fields with alphanumeric datatype are not displaying where as User defined Fields created with Numeric datatype are displayed and SAP fields for eg; Item name which are AlphaNumeric datatype are showing up.Can any body help us on this?
    Regards
      Uma

    Hi Uma,
    You may check these first:
    Re: Problem after upgrding to SAP B1 8,81 PL07
    Re: Crystal not displaying  UDF
    Re: UDF not visible in crystal report
    Thanks,
    Gordon

  • Crystal Reports Cross-Tab Report not showing all available fields

    I am running CR2008 against MS SQL Express.  I have several tables with fields and data in them and can create standard reports to show all the data in all the fields.  However, when I try to create a cross-tab report, only some of the fields appear for me to choose from.
    I created a standard report with all the fields I needed in my cross-tab report and ran a preview.  Everything was there.  I then added a cross-tab object, selected the tables only to find that fields that are in the main report are not showing up for selection in the cross-tab.

    UPDATE:  I exported the entire database from MS SQLExpress to MS Access and I am having the same issues, so it does not appear to be a problem with the database engine and, since the standard tabular reports show the fields, I am at a loss as to why they don't show up in the cross-tab or the Parameter fields.
    I am creating the cross-tab through the Cross-Tab wizard.  Is there maybe a bug in that?  Is there a way to create it otherwise?

  • 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

Maybe you are looking for