Bug – CR 2011 cross tab number decimal formula not executing

I have a formula to format the number of decimal points in both the column and row header values in a cross tab subreport. The formula does not appear to execute.  If I display the data in a simple table format and use the same decimal formula the format is correct.
cross tab header, decimals not displayed correctly
Data when displayed in a simple table using the same formula, decimals are displayed correctly

Hi Paul,
Here's another way:
Remove the formula you've used under 'Decimal' for the cells in the crosstab.
Right-click one of the cells > Format Field > Common tab > Click the formula button beside 'Display String' and use this code:
numbervar x := CurrentFieldValue;
numbervar ipart; 
numbervar decpart; 
ipart := int(x) ; 
decpart := x - ipart;
if ipart > 0 then
totext(ipart,0)
else if decpart > 0 then
Replace(totext(decpart),"0","")
-Abhilash

Similar Messages

  • On cross tab, sub totals are not displaying...

    i build the cross tab report.
    region  period    status_cnt
    ========================
    south   apr-07     10
         may-07     10     
         jun-07     15
            sub-total 35
    north   apr-07     18
         may-07     75     
         jun-07     15
            sub-total 108
    grandtotoal 143and when i applying subtotal and grand totals its returning nulls.
    i tried sum,cell sum but didn't worked out.
    and i am not suppose to use cellsum distinct (status_cnt is repeating.)
    how i have to display subtotals and grand totals in my cross-tab report.
    i am using OracleBI Discoverer Plus 10g (10.1.2.1)

    Hi,
    try to cerate a new calc :
    nvl(status_cnt,0)
    and create the totals on it,
    I think you got nulls in that column so it wont aggregate properly.

  • 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 - select dates

    Hi I have created a cross-tab report using only two fields. enrollment_id and create_date. What is needed is a count of the # of enrollments and a summary for the week starting on Sunday. I have been able to do this however, they only want for the previous 4 weeks - I am returning all weeks since the start.  I am not sure where to filter.  Here is what I used in a regular report which worked but is not working in the cross-tab.  The formula below gives me up to the last 4 weeks sunday to today.
    not ({ISSUANCE.CREATE_DATE}in Last4WeeksToSun) and
    not ({ISSUANCE.CREATE_DATE} in WeekToDateFromSun)
    Here's what it should look like and includes a count up to today for week of 11/30.
    Site_name    11/02/08              11/09/08     11/16/08    11/23/08    11/30/08
    #issued            25                     29               16            18             15
    Any help would be appreciated.

    I figured this one out....needed to take out "not"

  • To Merge Cross Tab Header in Web-I XI R2

    Hello All,
    I have one cross tab report and Its header is Name field.When we run the report, suppose we get 15 columns so 15 times the report header displays the "Name" in cross tab. I want to display the 'Name ' field only once in middle of cross tab header.
    The Scenario :--
         Name     Name     Name     Name     Name     Name     Name     Name
    Region     q     wr     er     dv     vderg     gr     gff     dfgf
    Region                                        
    Region                                        
    Region                                        
    Region                                        
    Region                                        
    Region                                        
    The expected result :--
                                                                             Name                                   
    Region     q     wr     er     dv     vderg     gr     gff     dfgf
    Region                                        
    Region                                        
    Region                                        
    Region                                        
    Region                                        
    Region                                        
    As per the cross tab basics --- we can not merge the cross tab header however I want any alternative solution or any work-around for it.
    Thank you.
    Bhushan

    Hi Sunil Kumar ,
    I tried this way my user wants a report year,quarter,sales and quantity in cross tab format..
    YEAR
    Q1
    Q2
    sales
    quantity
    sales
    quantity
    2009
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    2010
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    2011
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    2012
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    If any inputs always welcome.
    Regards
    Durgaprasad.yelluri

  • Energy Cross Tab Report

    I have a client who wants to monitor thier energy usage. In particular he wants to know the peak demand, energy usage among other energy parameters. He also wants to display the time when the value was read by the meter
    All of this information is stored in a csv file which I can connect to Crystal Reports. My problem is I want to do Cross Tab report which gives me the "Maximum Demand" and the time it occured. In Cross Tab Report I can have it report the "Maximum Demand" but how do I display the time that it occured.
    Regards
    Phasor

    I Grouped using this formula.   {@GROUPIT}
    if {Sheet1_.Two} in 0 to 200 then 1 else
    if {Sheet1_.Two} in 201 to 500 then 2 else
    if {Sheet1_.Two} in 501 to 999 then 3 else 4
    So all values from 0 to 200 are in group 1, and 201 to 500 are in group 2 etc.
    I then created a summary, of  maximum value for each of the groups.
    Created a formula
    Maximum ({Sheet1_.One}, {@GROUPIT})
    I placed the formula in the cross tab, and put the cross tab, in the group,
    Not sure if that is what you really want, but It should give you some ideas to try.

  • Cross tab Header display..problem!

    I have cross tab report in that we wanted to give user drag and drop option,but when the user drags and drops a new object the name of that object will not come automatically. i have tried in other ways to get that but unable to.Could somebody syggest the best way to get the Column names in Cross tab report..thanks..

    Jaspal,
    the best way to get the Column names in Cross tab report
    WebI does not provide automatic column headings once you go into Cross tab.  The easiest way to achieve is to click once on the top most cell, then right-click and choose insert, insert a row above.  Once the row is inserted, then in each column you can place a header by manual intervention.
    Thanks,
    John

  • [svn:fx-trunk] 9890: Fix bug involving changes to tabbing related properties

    Revision: 9890
    Author:   [email protected]
    Date:     2009-09-01 15:57:01 -0700 (Tue, 01 Sep 2009)
    Log Message:
    Fix bug involving changes to tabbing related properties
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-19577
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/managers/FocusManager
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19577
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

  • Cross tab in Oracle8i

    why access such a small database can provide cross tab query
    facility and not by oracle, if somebody knows the real and
    flexible method of doing this plz be informs us.I will be highly
    oblized
    thanks

    I came across this example recently on the site:
    http://www.onwe.co.za/frank/faqscrpt.htm
    I believe this is what you're looking for...
    rem -------------------------------------------------------------
    rem UPDATED VERSION
    rem Filename: matrix.sql
    rem Purpose: Example of a CROSS MATRIX report implemented
    using
    rem standard SQL.
    rem Date: 12-Feb-2000
    rem Author: Frank Naude ([email protected])
    rem
    rem Updated By Mahesh Pednekar. ([email protected])
    rem Description Removed the Main query because the sub query
    itself
    rem will full fill the requirement.
    rem -------------------------------------------------------------
    SELECT job,
    sum(decode(deptno,10,sal)) DEPT10,
    sum(decode(deptno,20,sal)) DEPT20,
    sum(decode(deptno,30,sal)) DEPT30,
    sum(decode(deptno,40,sal)) DEPT40
    FROM scott.emp
    GROUP BY job
    -- Sample output:
    -- JOB DEPT10 DEPT20 DEPT30 DEPT40
    -- ANALYST 6000
    -- CLERK 1300 1900 950
    -- MANAGER 2450 2975 2850
    -- PRESIDENT 5000
    -- SALESMAN 5600

  • SONiC - Items in "Notifications" tab not executable

    Hi,
    We are using the SONiC connector to view items from the SAP Business Workplace inbox.
    Landscape Versions:
    ECC 6.0 with SAP EP 7.0 SP 17.
    We can see the items in the Notifications tab, but they are not executable, so we can not view the body of the mail. Usually the items appear as URL's, and when they are executed, the message body is displayed.
    The connection status is successful for the Notifications tab.
    Please advise if you have seen this behaviour, and found a solution for it.
    Thank you very much.
    Ronald Meyer

    Upto my knowledge , what i know about SONIC is when ever you want to receive mails in the UWL then you will configure SONIC , in order to receive the mails in the notification tab of the UWL., And more over the items under the notification tab are not executable.
    By default all the backend workitems will appear under the TASK's tab. and the items under this tab are executable.
    so can you be a bit more clear on the issue, or if  Iam wrong please let me know

  • Increase Number of Decimal Points on % summarized field in Cross Tab?

    Hi,
    I have a cross tab that I have added a "% of COUNT " summarized field to, but I want to show the percentage to 2 decimal places (DP) and make the rounding more accurate. Currently the rounding means the % values do not actually total to 100%.
    I assumed this would be as simple as changing the formatting of the field to increase the 'Decimals' property to 1.00 and the rounding to 0.01.
    However when I save the changes are not reflected in my cross tab? It still shows them with 0dp? e.g. 60%
    Is it possible to get % values in a cross tab showing to 2dp? e.g. 59.82%
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly
    Formatting is for viewing only. Using formulae to manually round the values.

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

  • SAP Crystal Report - Formula in Cross Tab Report

    I have a below requirement in a cross tab report,
    Category          Name          Valu1          Value2    %ge
    A                       Car               40                  50        80
    A                        Bike             30                  60        50
    Total                                       70               110     63.6
    %ge is a formula field and is calculated as value1/value2 * 100
    Consider the Total section as a group footer.
    In the cross tab report how do I put the formula field for %ge in Total section.

    Vishujain
    Crosstabs are very structured and you are limited in what you can do with them. You can do a percentage summary in Crosstabs, but only as a percentage of the row total or the percentage of the column total. You cannot put a formula in the crosstab to do a percentage of a values in seperate rows. Any time I need to perform a function not available in a crosstab, I do a manual cross tab. Look at: [Manual Crosstab Explaination|Re: Formulas : Help for coding]
    Debi
    Edited by: Debi Herbert on Nov 3, 2011 11:51 AM

  • How to insert page number on each page for Cross-Tab report?

    Hi,
    I have created a Cross-Tab in the section Report Header via Crystal Reports 11.
    Now, I want to created more Cross-Tabs, and each page has one Cross-Tab.
    So, I insert Report Headers to contain Cross-Tabs. But, the report only shows the page number at the last page.
    How to insert page number on each page?
    Thanks in advance.

    Hi,
    Well, the easiest solution is to place the Cross-tab in the Report Footer, Of course, ONLY if the report contains this single object which I'm assuming is not the case.
    If you do not wish to place the cros-tab in the Report Footer, here's what you need to do:
    1) Create a formula;
    whilereadingrecords;
    2) Create a group on this formula. If the report already contains groups, move this formula to the top of the grouping list. It won't affect the other groups or records in any way.
    3) Move the Cross-tab from the Report Header to the Group Header1 and suppress Group Footer1
    4) Add the Page Number field to the Page Footer
    Let me know how this goes!
    -Abhilash

  • Inserting a calculated column after every column in cross tab, in crystal report 2011

    HI,
    I want to insert a calculated column after every column i a cross tab . The cross tab shows , sales by region for a number of years , for example from 2007 to 2013. The year can be changed based on the user parameter. How can I do that ?
    Thanks

    Hi Feroz,
    To calculate the Percentage Change and also to show the Percentage sign, here's what you need to do:
    1) Right-click the Calculated Column Header > Calculated Member > Edit ColumnValue Formula and use this code:
    cdate(1890,01,01)
    If the field used as the column is a datetime field, use this:
    cdatetime(1890,01,01,0,0,0)
    2) Right-click one of the zero values in the Percentage Column and select Calculated Member > Edit Calculation formula and use this code:
    if CurrentColumnIndex  = 2 then 
        If GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex) = 0 then 
        0 
        else 
         (GridValueAt(CurrentRowIndex, CurrentColumnIndex-1, CurrentSummaryIndex) - GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex))/ 
         GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex)
         ) * 100 
    else 
        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 
    3) Right-click one of the Values in the summary cells > Format Field > Number tab > Customize > Currency Symbol tab > Click the formula button beside 'Currency Symbol' and use this code:
    If Year(GridRowColumnValue("Date_field")) = 1890 then
    "%" else "$"
    Note: Replace Date_field with the field name you've used as the Column in the Crosstab. The double-quotes ARE required and you should remove any curly braces that CR adds automatically.
    4) You might want to use a similar code in the 'Position' formula too.
    Let me know how this goes.
    -Abhilash

Maybe you are looking for

  • Getting error when creating internal table

    hi i m creating internal table giving erro like 'VBELN' must be flat structure. DATA: BEGIN OF INT_VBAK,         VBELN  LIKE VBELN-VBAK,         AUDAT  LIKE AUDAT-VBAK,         KWMENGE LIKE KWMENGE-VBAP,         ARKTX LIKE ARKTX-VBAP,         WERKS L

  • Problem with GUI_download in background

    Hi all,         When i ran the program in the background,the job has been canceled.         the report should download the records into the local file have checked in debug mode the job has canceled when it comes to GUI_DOWNLOAD,GUI_download will not

  • Sound volume keeps changing

    Hi, I bought my hp dm4-3055dx 2 weeks ago and I have problems with the sound ever since the beginning. I'm using the pre-installed Windows 7 64 bit OS. The problem with the sound is the following: The sound volume keeps changing. Sometimes it seems t

  • I've created a character report without user

    I've created a character report without user parameters that works just fine. The moment I've created a user parameter, without even putting it in a query, instead of a report I've got the message: "REP-1219: 'repeating_frame_name' has no size - leng

  • When delete message viewer goes to previous email not to the next one

    In mail 3.1 message viewer if I delete a message instead of going to the next unread message in the list it goes back the previous message in the list. The messages are sorted with most recent message first. When reading mail there are some messages