Adding up multiple columns in report

On my rtf template I have 3 totals that show per row:
<?BEGIN_SEATS?>
<?MIN_SCHOOL2_BEG_SEATS?>
<?MAX_SCHOOL2_BEG_SEATS?>
I want to comput a total column for each row as well. I tried this:
<?BEGIN_SEATS + MIN_SCHOOL2_BEG_SEATS + MAX_SCHOOL2_BEG_SEATS?>
It's throwing the error below. I assume becuase some of the columns have a blank value (instead of a number). Is here anyway to code around this?
Caused by: oracle.xdo.parser.v2.XPathException: Cannot convert to number.
     at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)

If possible the best solution is to do it in your back end: your sql should make that calculation so it comes as part of the
already calculated data. At template level you just print the value.
cheers
Jorge

Similar Messages

  • How to display multiple column in report

    Hi Abaper,
    I have client requirment to develop new report for sim hotel.
    The requirment is we have select multiple hotel , based on hotel selection the report will display, the report layout like:
    Hotel1               |Hotel2               |Hotel 3          
    Day     |Month     |Year     |Day     |Month     |Year     |Day     |Month     |Year
    Please any one can give me idea  how to develop same layout for this requirment.
    Thanks in Advance.
    Regards,
    Sourav

    Hi,
    U can use write statement like below
    write:/ 'Day 1'.
    write:20 'Year 1'.
    This will leave 20 spaces between Day 1 and Year 1.
    For more information u can go to transaction 'ABAPDOCU' and in Keyword help type 'Write' u will get all options u can use with write statement.
    Let me know further.
    Cheers,
    Parth Parikh

  • Adding of new column in report for downpayment

    Dear Experts,
    We want to add column for downpayment in report S_ALR_87013019 for which we have created a new report with the help of GRR2, (report)602 - (Description)internal orders and have selected its sub category 60BU-001 - Budg/act/commitm, also we have created a new column for downpayment and have assigned valuation type - 61(Downpayment) and valuation - zero(Legal valuation).But while posting downpayment the report is not getting updatedwith the downpayment values. The internal order that is being created is a statistical order but even if real orders are assigned still the values are not getting displayed.
    Please tell us the combination of valution type and valuation or any other characteristic that requires to be made for updating the downpayment column.
    Thanks & Regards
    Edited by: Aniruddha B. Mahalle on Feb 21, 2012 11:25 AM

    hi
    check cost element is created also check is there any exclustion of cost element setting done.
    Edited by: AP on Feb 21, 2012 11:50 AM

  • Problem in designing multiple columns crystal report

    I have got a crystal report having around 25 columns(all are test boxes) in header section.Out of these 25, I can view only 10 columns in crystal reports design window. When I view the contents as 25% I can view all the columns. Now I want to add one new column almost at the end. How can I add it. As last section of report is not under white background (visible in design window) I'm not able to do any modifications to it.
    Please help....

    Please post questions related to using Crystal Reports on their
    forums.

  • Adding a balance column in report

    I want to create to create a balance column in ledger report.
    Please guide me how to create a balance column in oracle
    reports 6.0.
    Thanks.
    null

    Hello Sajid.
    How are u . I have same problem with me but it is
    nearly to solve.There is a clue to solve your problem.If you
    need just sum of any numeric column then u can use summary
    column out side the repeating frame, and if u need current
    balance for each row use summary column in data modal in related
    group.It will display in this form of column
    100 100
    20 120
    30 150 ....
    If it fullfil your requirment and if you get more out of it
    please tell me at [email protected] for my convenience.
    Thanks
    Amjad ali
    Sajid Mirza (guest) wrote:
    : I want to create to create a balance column in ledger report.
    : Please guide me how to create a balance column in oracle
    : reports 6.0.
    : Thanks.
    null

  • Multiple columns per report page

    I've created a simple one-column report and would like to display more than one column per page (reducing the # of pages to scroll through). This would seem to be a simple task yet I'm having difficulty locating the supporting documentation. I'm hoping someone could point me in the right direction. Thanks.

    Hi there Otto... If I understand you correctly, you might need to look into the LEAD function.
    Here's an example:
    with table1 as
    (SELECT ROWNUM rn, 'Line ' || ROWNUM text
    FROM all_objects
    WHERE ROWNUM <= 10)
    SELECT *
    FROM (SELECT rn, text AS text_col1,
    LEAD (text, 1) OVER (ORDER BY rn) AS text_col2,
    LEAD (text, 2) OVER (ORDER BY rn) AS text_col3
    FROM table1)
    WHERE MOD (rn, 3) = 1
    outputs
    RN,TEXT_COL1,TEXT_COL2,TEXT_COL3
    1,Line 1,Line 2,Line 3
    4,Line 4,Line 5,Line 6
    7,Line 7,Line 8,Line 9
    10,Line 10
    Cheers,
    Vidar

  • Crystal Report multiple columns

    I'm having trouble with Crystal Report's multiple columns in the detail section.
    The details section, the multiple columns is checked then the printing direction is across - down. Since the form I am using is a pre-printed form, by estimation it can only allow at best 30 records in one page, that is 15 in the 1st half of the column and another 15 records on the next. For visual:
    Invoice No    Invoice Date        invoice total                                               Invoice No    Invoice Date        invoice total
    1                                                                                16
    2                                                                                17
    3                                                                                .
    .                                                                                28
    14                                                                                29
    15                                                                                30
    For some reason there is this giant space after the last set of rows before it prints out the page footer. This giant blank section disrupts the layout of the page footer section.
    Here are some info on the details section as configuration is involved:
    Format with  Multiple Columns - checked
    In Paging: New Page after 30 visible Records
    In Layout: Width: 3.5 in       Height: 0.0 in
                     Horizontal: 0.0 in      Vertical: 0.0 in     
    Printing Direction: Across-Down
    Anyone knows how to suppress it or have the page footer move upwards?
    P.S To see actual pre-printed form, please download this [http://www.mediafire.com/i/?csu0q75mjynys2k]
    Edited by: Khristine Angelei  Basilla on Mar 1, 2012 8:34 AM

    Now why didn't I try that out. Actually, initial plan was 2 subreports.
    So when I added the second subreport in the group footer section, it only prints the details on the last page, which should not be the case as I need to be printed on all pages.
    I'll test it out. I'll post an update soon.
    Thanks.

  • Multiple Column Report Question

    Post Author: LCS213
    CA Forum: Crystal Reports
    I'm creating a student transcript report that has multiple columns, and is three groups deep.  The first two groups need to be in a columnar layout. However, I'd like the third group to contain a subreport that spans the width of the entire page. 
    Are there any options within Crystal XI to do this?  I know in the Section Expert, i can format the detail level with multiple columns, and on the Layout tab, I can select "Format Groups with multiple columns".  But that seems like it either formats ALL groups or NO groups.  Am I mistaken?  Is there a workaround I'm missing?
    Thanks in advance for any help on this issue!

    Hi Dan,
    According to your description, we are not clear about the “6 sections for each Additional task”. Do you mean six data records? If so, based on my understanding, there are three groups and eighteen records in your report. You want to make those records appear
    on eighteen separated pages, right?
    In Reporting Service, we can add a page break to groups within data regions to control the amount of information on each page. In your scenario, you should add page break to group “Sub task”, group “Additional Task” and details. As we tested in our environment,
    add page break to these records, the report appears in eighteen pages. Please refer to steps below:
    1.On Group Properties of Details1, choose “Between each instance of a group” option on Page Breaks page. Please refer to screenshot below:
     Choose same option on Group Properties for group “Month” and “Name”.
    2.Click drop-down button next to Column Groups, then choose Advanced Mode.
    3.Click on Static under Row Groups, set RepeatOnNewPage as True in Tablix Member Properties.
    4.Click Preview, the results before and after adding page break look like below:
    If you still have any question, please post some detail information or screenshot about the report design you expect.
    Best regards,
    Qiuyun Yu

  • OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time

    OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time

    Exclude:
    you Can exclude columns in either Table view or pivot table view by placing those columns in Excluded section but you will notice that it will appear in bi server parsed sql query.
    Not sure you were asking about runtime??
    would you please explain your question!!
    Thanks
    NK
    Edited by: DNK on May 8, 2013 9:48 PM

  • Multiple column report

    <p>Hi,</p><p>I am designing a 3 column crystal report.  Each column can hold 30 records.  I would like the first 30 records printed straight down the 1st column and the 31 record printed on the 2nd column.  I can&#39;t find a way to tell CR to do so.  Thanks for any help.</p><p>Joy Liaw</p>

    this is what I did when I needed multi culumns,
    go to section expert on Detail section. on common tab,
    at end of list is a chec for multiple columns, after that is checked a new tab is displayed,called layout, from there set up your columns.

  • Multiple Column Header in Report (BEx and Web Reporting)

    Hi All,
            I've a requirement where my reports is having multiple column header.
       To be precise the column header is further divided into many sub-columns (upto 4 levels).
    Structure cannot help in this case since we have more than 2 such columns and we are using web reporting as well.
    Here is how it looks
                             <b>Header-A</b>
    Header-B1   |   Header-B2   |   Header-B3    |  Header-Bn
    Hdr-C1 |Hdr-C2 |Hdr-D1 |Hdr-D2 |Hdr-E1 |Hdr-E2 |Hdr-Fn..
    The above is a sample header structure.
    This report will be a Web Based report and I need to know whether its possible to do it in BEx also.
    We are not using Crystal Reports.
    If there is any document related to this, please mail to
    [email protected]
    Thanks & Regards,
    Chandran Ganesan

    Hi Chandran,
    I hope i am getting your problem right.
    If your
    Header-B1 | Header-B2 | Header-B3 | Header-Bn
    Hdr-C1 |Hdr-C2 |Hdr-D1 |Hdr-D2 |Hdr-E1 |Hdr-E2 |Hdr-Fn..
    are a set of key figures, then there is an option.
    For example:
    You drag Header-B1,Hdr-C1 |Hdr-C2
    into column section.Right click on Hdr-C1, Hdr-C2 and select down under. So your Hdr-C1, Hdr-C2 will be under
    Header-B1.
    Like wise drag Header-B2,Hdr-D1,Hdr-D2
    Right click on Hdr-D1,Hdr-D2 and say Down under and these two will fit below Header-B2.
    You can repeat the above steps for Header-B3... Header-Bn
    The output will be same as the one you have specified above.
    Hope it helps,
    Regards,
    Parth.

  • How to sort on Multiple columns in WebI report

    Hi
             I am working in BO XI R2. I have a report containing two columns in a section. Section is on Fiscal Year- Fiscal year includes calendar year 2010 and 2011.
    data for fiscal year 2010 is from october onwards.
    The two columns in the section are
    column 1- calendar  Year
    column 2- calendar Month
    I want to display results as follows
    2010 oct
    2010 nov
    2010 dec
    2011 jan
    2011 feb and so on.
    I first sorted calendar year column so that it shows
    2010
    2011
    but when i try to sort calendar month, for 2010 I am able to display oct, nov, dec in a ascending order but for 2011 the months are displayed randomly. Business user wants to see them in ascending order from Jan to June.
    Please let me know how to get this functionality in the report.
    Thanks in advance.

    Hello Gurus,
    I have same issue with me I am working on XI3.1 and I want to apply Sort on multiple columns on Single block.
    So as you can see the "Org Name" is decending Order and " Emails Sent" total is 63 and   "BCB" have 18 total.
    How would I apply sorting based on email sent from high number to low number. Please help.
    Thank you.
    Adil
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Well Shot
    11111111
    22222222
    [email protected]
    32
    0
    11111111
    22222222
    [email protected]
    12
    0
    11111111
    22222222
    [email protected]
    10
    0
    11111111
    22222222
    [email protected]
    9
    0
    Well Shot
    Subtotal:
    63
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Well Play
    444444444
    33333333
    [email protected]
    1
    0
    WellPoint KY Test Org - Central
    Subtotal:
    1
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    BCB
    55555555
    99999999
    [email protected]
    8
    0
    55555555
    99999999
    [email protected]
    8
    0
    55555555
    99999999
    [email protected]
    2
    0
    BCB
    Subtotal:
    18
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Ghazi, Foundation
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    Ghazi, Foundation
    Subtotal:
    5
    0
    Availity Orgnaization Name
    Org Tax ID
    Org ID
    Email
    Number of Emails Sent
    Undelivered Emails
    Ghazi, Foundations
    66666666
    1234567893
    [email protected]
    1
    0
    66666666
    1234567893
    [email protected]
    1
    0
    Ghazi,  Foundations
    Subtotal:
    2
    0
    Totals:
    89
    0

  • Fill multiple columns of the report at once ???

    I have been told that when coding a Report, there is some way to fill multiple columns of the report at once.
    Instead of
    select
    field1,
    field2....
    You could do
    <????> filling field 1 and 2
    My source was vague as to what kind of thing it would be that could give a value to more than one column at one time.
    Can anyone help me here? Sorry to not have any more specifics.
    Thanks, Wayne

    You can have placeholder columns and assign the output of your select statement to the place holder columns.

  • APEX Interactive Report - sum multiple columns table1 X with table2 value

    I have a challenge in oracle apex, were i want to sum multiple columns to give 3 extra rows namely points, Score, %score. There are more columns but chose only few for now.
    Below is an example structure of my data:
    Town | Sector | Outside| Inside |Available|Price
    Roy-----Formal----0----------0----------1------0
    Kobus Formal--0 ---------0--------- 1------0
    Wika ---Formal----0----------0--------- 1------0
    Mevo----Formal----1----------1---------1------0
    Hoch----Formal----1----------1---------1-------1
    Points--------------2----------2----------5-------1
    Score-------------10---------10---------10------10
    %score-----------20---------20---------50------10
    Each column has a constant weighting (which serves as a factor and it can change depending on the areas) in this case the weighting for this areas are the ones in the first row for the sector Formal:
    Sector |Outside| Inside |Available|Price
    Formal----1----------1 ----------1-----1
    Informal--1----------0 ----------2-----1
    I tried using the aggregate sum function in apex but it wont work since i need the factor in the other table. Which is where my challenge started
    To compute the rows below the report:
    points = sum per column * weighting factor per column
    Score = sum of no of shops visited (in this case its 5) * weighting factor per column
    % score = points/Score * 100
    The report should display as described above. With the new computed rows below.
    I kindly ask anyone to assist me with this challenge as i tried searchin on the internet for solutions but havent come across any.
    Thanks a lot for your support in advance!!

    >
    Please update your forum profile with a real handle instead of "823433".
    I have a challenge in oracle apex, were i want to sum multiple columns to give 3 extra rows namely points, Score, %score. There are more columns but chose only few for now.
    Below is an example structure of my data: Use <tt>\...\</tt> tags as described in the FAQ when posting code and sample data and layouts. Please edit the OP and reformat the example using <tt>\...\</tt> tags so it's clear.
    Town | Sector | Outside| Inside |Available|Price
    Roy-----Formal----0----------0----------1------0
    Kobus --Formal----0 ---------0--------- 1------0
    Wika ---Formal----0----------0--------- 1------0
    Mevo----Formal----1----------1---------1------0
    Hoch----Formal----1----------1---------1-------1
    Points--------------2----------2----------5-------1
    Score-------------10---------10---------10------10
    %score-----------20---------20---------50------10Each column has a constant weighting (which serves as a factor and it can change depending on the areas) in this case the weighting for this areas are the ones in the first row for the sector Formal:
    Sector |Outside| Inside |Available|Price
    Formal----1----------1 ----------1-----1
    Informal--1----------0 ----------2-----1I tried using the aggregate sum function in apex but it wont work since i need the factor in the other table. Which is where my challenge started
    To compute the rows below the report:
    points = sum per column * weighting factor per column
    Score = sum of no of shops visited (in this case its 5) * weighting factor per column
    % score = points/Score * 100
    The report should display as described above. With the new computed rows below.
    I kindly ask anyone to assist me with this challenge as i tried searchin on the internet for solutions but havent come across any.How critical to the solution is using an interactive report? It would be much easier to do this in a standard report where you've complete control over the query SQL and the report structure.
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • Can we add a new column in report which is not in table.

    Hi All,
    Can we create a new column in report which is not in table.
    I have two columns in my table completion_date, manufacture_date. If the difference between the completion_date and manufacture_date is 0, -1, 1 then the new column of the report will say on time against each record or else will display late. Any suggestion how to proceed on this
    Regards
    Edited by: User_Apex on May 16, 2011 5:54 AM

    Standard report then, NOT an interactive report (which if you were using, you could build a computation and report on that)..
    Then the adding a column in the query would be your best best...
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

Maybe you are looking for

  • ITunes gift card from the USA to UK

    Hi, I need some help please, or advice, or anything.. I just found in my mail this morning a very unexpected and generous gift from the USA, of $100 in iTunes gift cards ($50 x 2). I am in the UK and am disgusted to find that I cannot use them. After

  • Error 7 with iTunes 9

    I can see on forum there are (too) many people with the same problem. Is there any "official" answer from Apple as to best procedure to rectify the (their) problem to save us all alot of time, effort and errors trying to resolve it through Forum disc

  • BI Foundation domain not visible in the EM after forms and Reports install

    We installed OBIEE 11g successfully and it has created a domain i.e. bifoundation_domain. Whenever we used to login to EM and Weblogic Console, it was showing "bifoundation_domain". Yesterday we have further installed Oracle Forms/reports 11g server.

  • USB has no power when computer sleeps

    When my computer goes into sleep mode, time machine cannot connect to my external HD because apparently the usb port goes to sleep along with the computer. Same thing happens when i plug my iphone to charge. I plug in my iphone, shows that it's charg

  • I can't access iTunes store

    So I have recently got a Macbook Pro (weeee! My first one) However when it came to setting up my itunes, whilst it shows all the music that was on my iphone, it cannot play a single song. Every time I click on a song it says it is downloading from iT