Break Formatting w/out Break Sums

I would like to create a report with break formatting on the first column and a grand total of the second column at the end of the report, but no totals per break on the first column. For example, what I would like is something like this,
Employee      | Task | Hours
Smith, John     1A     20
                1B     20
Jones, Karen    1A     35
                1B      5
Grand Total:           80but what I get when I select break formatting and mark a column to be summed is something like this,
Employee      | Task | Hours
Smith, John     1A     20
                1B     20
Employee Total:        40
Jones, Karen    1A     35
                1B      5
Employee Total:        40
Grand Total:           80I don't want those lines marked Employee Total, but I can't figure out how to get rid of them while keeping the Grand Total. Am I missing something obvious?
Thanks,
Ian

Hi Ian,
I haven't found a way to do what you want using the column break functionality.
However, you could change your sql statement to hide the repeating values. Have a look at the second post in the following thread:
Re: New Help with Address Display
the output seems to match what you're trying to achieve.
Regards
Andy

Similar Messages

  • How to Suppress Report Total When Using Sum on Columns & Break Formatting

    I need to know how to NOT show the report total line when using the sum functionality with a break in a report.
    I am summing two columns, a debit amount and credit amount. I am breaking on the first column which is the level of a hierarchical query. I want to see something like this:
    Parent Record xxxxxxxxxxxxxx
    Parent Sum $$ $$
    Child Record xxxxxxxxxxxxxx
    Child Record xxxxxxxxxxxxxx
    Child Sum $$ $$
    However, when I run the report, I also get a report total line under the child sum which is really meaningless for this report.
    I have also tried creating this report as an interactive report. When applying the sum on the two columns, I do get the sum totals on the break only - no report total - however, it is reversing the order of the hierarchical query results putting the child records first and the parent records second.
    Thanks in advance for your help.

    Hi, and welcome!
    I don't think that there's an easy way to "switch off" the Total line on a report. The nearest I could suggest would be to either hide the entire row or colour the text so that it's the same as the background - either way, the total is calculated but the user won't see it.
    If you put something like the following into your report region's Region Footer:
    <script type="text/javascript">
    var outertable = document.getElementById("#REGION_ID#");
    var innertable = outertable.getElementsByTagName("TABLE")[1];
    var rs = innertable.rows;
    var lastrow = rs[rs.length-1];
    if (lastrow.cells[0].innerHTML == '<b>TOTAL</b>')
    rs[rs.length - 1].style.display = "none";
    </script>Then, on your report's Report Attributes page, scroll down to the Break Formatting section and put TOTAL into the "Display this text when printing report sums" setting. Also, in the "Layout and Pagination" section, set "Enable Partial Page Refresh" to No.
    The above code is based on the report and region templates that I'm using here: [http://apex.oracle.com/pls/otn/f?p=267:147] (Theme 18, "Report Region" region template and "Standard" report template). Your report may use different templates, so the first two lines on the code may have to change. #REGION_ID# would be replaced with the region's ID value (which would be "R" followed by a long number). As long as you can identify the HTML tag that uses this ID value, you can then get to the actual table that contains the data as it would be a TABLE within that tag - the [1] above is the second table within the region. In some instances, you may have to use "region_#REGION_ID#" as the starting point.
    Andy

  • Interactive Report Need total of aggregate (sums) where break format used

    I have an interactive report that uses break formatting. When I do an aggregate (sum) for the Quantity Column I get the sums for each campaign_id (used for the break format column). This is great. However, at the bottom of the report I need a grand total for all campaign ids (a sum of the sums) in a new row at the bottom of the report. Is this possible?
    I can't paste a screenshot here to show but her is a simple one column example - I can't make the columns stay lined up but I think you can see what I need.
    {code
    Campaign Hand Addressed (break format column)
    Quantity
    100
    200
    Sum:300
    Campaign Travel Check
    Quantity
    100
    500
    Sum:600
    Sum:900 This is row I need to add
    Oracle 11GR2
    APEX 3.2.1

    This works when I run it in SQL Developer. Now I enter this for my report query in APEX and I get the "not a GROUP BY expression.
    {code
    SELECT *
    FROM t3_mail_piece t
    WHERE t.week_id = 11
    GROUP BY ROLLUP(t.campaign_id, t.market_id)
    ORDER BY t.campaign_id
    , SUM(t.quantity);
    What is different?

  • Is there a How To on column sum totals, break formatting, 4 tabular reports

    Hi,
    I haven't needed to do a grand totals for a column until now. I see that there is built in BREAK FORMATTING. I looked for a how to on it but found none.
    Anyone have a good reference to explain basics? customizations?
    Thanks, Bill

    Hi there,
    If your column alignment is right the Sum will be right too in bold.
    Break Formatting/Display this text when printing report sums
    You can do [h4]Total of Something[h4] or use Style, for instance.
    Same with “Display this text on report breaks using #SUM_COLUMN_HEADER# substitutions”. [h4] #SUM_COLUMN_HEADER# [h4] for instance.
    I hope this would help.
    Konstantin

  • Break formatting and number format of SUM value

    Where can I put number formatting functio, which will format breaking sum values...like:
    to_char(#SUM_VALUE#,'fmt 999G999G999G990')....maybe this thread is somewhere posted, but I cannot find it.
    Next, how to exclude showing reports total at the end of report?
    Is there any working demo to see some hints...
    THX!
    Message was edited by:
    Funky

    Hello Damir,
    "Maybe a hint for feature releases to have an option to disable total report sum on column …"There is a relative simple workaround, which will allow you exclude or highlight (style) this total report sum line, as you can see in here - http://htmldb.oracle.com/pls/otn/f?p=22710:10
    In the Report Attribute page, I'm using the Break Formatting section first field "Display this text when printing report sums" - http://i10.tinypic.com/4ie8ck5.png .
    If you want to exclude this line, you should use the same color as your cell background. For the example page, the code is looking like this:
    <div id="FinalSum"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum','TR'); lastRow.style.color='#f7f7e7';</script></div>If, on the other hand, you want to highlight the line, or use any other CSS attribute style available, the code would look something like this:
    <div id="FinalSum1"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum1','TR'); lastRow.style.backgroundColor='#CCCC99';</script>Total Report Sum</div>    Regards,
    Arie.

  • Problem with Break Formatting.

    I have a simple report with 6 columns. I specified breaks to be on the First and second column. That all works ok. Now I want to have an extra blank line between the break groups.
    1.How would I do that?
    2.I tried entering text in the field "display this text before break columns", but it never shows up in the report. Did I miss something?

    it turns out that some of the options available in that Break Formatting section of the report attributes screen are a little buggy. you can only get text from that "When displaying a break row, display this text after all columns" field to show if at least one of the columns in your report is showing sums. same applies for a few of the other columns in that region. if you do decide to show sums on your report, then the values you enter into those "When displaying a break row..." fields require you to enter your html table formatting like TRs and TDs (which isn't necessarily a bad thing). anyhow, we do have some fixes to make in this area, but maybe the following might be an acceptable start to a work around for now:
    --indicate that you'd like your breaks on "First and Second Column"
    --leave the other fields in that Break Formatting section blank
    --indicate that you'd like to "Repeat Headings on Break"
    --consider nulling out the column heading values you specified at the top of the report options screen (so as to counter the affect of the previous step if that's considered undesirable)
    this at least puts that extra line in after your line breaks. to see what's really going on, you could drop a string like...
    <tr><td bgcolor = "RED" colspan="xxx"> </td></tr>
    ...into that "For repeat heading breaks use this format, use #COLUMN_VALUE# subs" field (where xxx is the number of non-breaked columns in your report). that'll show you where/how that repeat heading html is rendered, so you might be able to work something further out from there.
    hope this helps,
    raj

  • Preserving control break formatting in report downloads with BI Publisher

    Hello,
    I am using APEX 4.0.2 and would like to know if anyone has a step by step process or tutorial for preserving control break formatting in an interactive report that has been downloaded to any or all of the available file formats. I am using BI Publisher, to which I am very new, to do the report printing of the Reports Region to a PDF, RTF, XLS, CSV or HTML file. Currently, when we download the report to any of the file formats, the formatting is stripped out and only standard row/columns are being saved.
    BTW, I have changed my username to something more friendly but it has not yet taken effect.
    Thanks,
    Marcy

    Hi Venkat,
    Thanks for your quick respond.
    1.) Auto Run is enabled. And the report runs automatically as well. But then it ignores the dashboard prompt (as a regular report would do as well). But when I choose some values in the prompt and then press go. Then it says I have to press on view as well.
    2.) no that is not the case. My report is so big that it always need a scroll bar ;) also adjusting the size settings in the dashboard doesn't help. The only occurs when viewing in HTML, when previewing in excel or RTF it all just work fine.
    3.) true, but ow well this is the least importetant one ;) so if this doesn't work, than it doesn't work ;)
    4.) Ok, I will have a look on that.
    5.) I did enabled HTML and EXCEL outputs in my BIP report. But when the first point is working, then I don't want to see the control bar anymore and I want to have the output on the dashboard in HTML and then I want to build a button, or a link or something that exports the request to excel. Is that possible?

  • Report Break Formatting

    Can someone please point me to examples of using the various report break formatting options under Report Attributes? Screenshots of this in action using various options would be highly appreciated.
    The online field help (http://tinypic.com/m8z920.jpg) is not enough to fully understand the capabilities provided.
    Thanks.

    This is from: Linnemeyer, Lawrence C., and Bradley D. Brown. <u>Oracle HTML DB Handbook</u>. Emeryville, CA: McGraw-Hill/Osborne, 2006. 222-224.<br><br>
    This description taken directly from the book and is for version 2.0. <br><br>
    Limitations: "...Only break on one, two, or three columns, and they must be the first columns in the report. The second limitation is that you are fairly restricted in formatting the breaks." <br><br>
    "The Break Formatting section of the Report Attribute page provides the input fields for controlling report breaks. The first field, Display This Text When Printing Report Sums, is always active and is used whenever you select the Sum check box for a numeric column in the Report Column Attributes section. If you do not provide text in this field, the HTML DB engine will automatically include the label "report total:". The Breaks field defaults to No Breaks and allows you to select to break the report on the first column, the first and second columns, or the first, second, and third columns. Once you select a value other than No Breaks, the remainder of the columns will be enabled. <br><br>
    The next field, Display This Text on Report Breaks Using #SUM_COLUMN_HEADER# Substitutions, is the way you can format what is displayed when a report breaks to show subtotals. If you leave the field blank, the HTML DB engine will automatically display on the break rows “<i>columnheading</i> total:”. You can customize what is displayed using this field. Use the substitution variable #SUB_COLUMN_HEADER# to reference the header of the break column. Unfortunately, the current version (version 2.0 at time of printing) does not allow you to reference the value of the break column. <br><br>
    The first and last field in the center section of the Break Formatting section can be used to format a row before and after the break row, respectively. Unfortunately, with the way they are currently implemented, you must provide the complete HTML code for the row. For instance, if your report has five columns, you would enter something like: <br><br>
    < t r >< t d >first col< / t d >< t d colspan = “3” >< t d >last col< / t d >< / t d >< / t r >
    <br><br>
    The center field is used to format the actual break column. The formatting entered needs to be the HTML for a column and can use the #COLUMN_VALUE# substitution variable, like this: <br><br>
    < t d align=right >#COLUMN_VALUE#< / t d >
    <br><br>
    Note that all the columns in the row will have the formatting applied to them. <br><br>
    The final two fields provide you two different options for displaying the first column break. The field Identify How You Would Like Your Breaks to be Displayed has two possible values: Default Break Formatting and Repeat Headings on Break. The Repeat Headings on Break option causes the first breaking column to be reported as a heading with the column headings for all the remaining columns repeated after each break.”<br><br>
    Thanks,
    Joe

  • Oracle APEX Classic Report Break Formatting

    I created a classic report. Under report attributes I defined Break Formatting as "First, Second and Third Column".
    The data columns for this report are Domain, Discipline, TechnologyArea and Products.
    Domain is the parent. Discipline is a child of domain. TechnologyArea is the child of Discipline. Products are children of TechnologyAreas.
    Domain prints in the first column, Discipline in the second, TechnologyArea in the third and Product in the fourth. There are one to many products for any TechnologyArea - and one to many TechnologyAreas for any Discipline - and one to many Disciplines for any Domain. The report is sorted on Domain, Discipline, TechnolgyArea and Product. Therefore domain prints over and over and over. Discipline prints over and over until it changes. TechnologyArea prints several times before it changes. I don't like that.
    I want the report to print Domain and not print it again until it changes. I want it to do the save for Discipline and TechnologyArea.
    I set break formatting to "First, Second and Thrid Column". Now Domain prints once and does not print again until it changes. So far so good! Now Discipline prints once and does not print on subsequent rows until the discipline changes. So far so good! The TechnologyArea name prints on every row. That's not good.
    Given this pattern, if there were an option for First, Second, Third and Fourth columns I think that would give me the report I want - but there's not. Can anyone tell me how to stop TechnologyArea from repeating on every row?

    This look about right?
    notice the last two records in the with statement are duplicates.
    with test_data as(
        select 'MAMMAL' domain, 'DOG' discepline, 'BEAGLE' technologyArea, 'SQUEEKY TOY' product from dual union all
        select 'MAMMAL',  'DOG' ,   'RETRIEVER', 'SQUEEKY TOY' from dual union all
        select 'MAMMAL',  'CAT' ,   'LION',      'SQUEEKY TOY'  from dual union all
        select 'MAMMAL',  'CAT' ,   'CHEETAH',   'SQUEEKY TOY'  from dual union all
        select 'MAMMAL',  'DOG' ,   'DINGO',     'SQUEEKY TOY'  from dual union all
        select 'REPTILE', 'LIZARD', 'IGUANA',    'LARGE ROCK' from dual union all
        select 'REPTILE', 'LIZARD', 'GUILLA MONSTER', 'LARGE ROCK' from dual union all
        select 'REPTILE', 'SNAKE',  'CORAL',     'LARGE ROCK' from dual union all
        select 'REPTILE', 'SNAKE',  'PYTHON',    'LARGE ROCK' from dual union all
        select 'REPTILE', 'SNAKE',  'KING',      'LARGE ROCK' from dual union all
        select 'MAMMAL',  'DOG' ,   'BEAGLE',    'BONE' from dual union all
        select 'MAMMAL',  'DOG' ,   'RETRIEVER', 'BONE' from dual union all
        select 'MAMMAL',  'CAT' ,   'LION',      'BONE' from dual union all
        select 'MAMMAL',  'DOG' ,   'DINGO',     'BONE'  from dual union all
        select 'REPTILE', 'LIZARD', 'IGUANA',    'HEAT LAMP' from dual union all
        select 'REPTILE', 'LIZARD', 'GUILLA MONSTER', 'HEAT LAMP' from dual union all
        select 'REPTILE', 'SNAKE',  'CORAL',     'HEAT LAMP' from dual union all
        select 'REPTILE', 'SNAKE',  'PYTHON',    'HEAT LAMP' from dual union all
        select 'REPTILE', 'SNAKE',  'KING',      'HEAT LAMP' from dual union all
        select 'MAMMAL',  'CAT' ,   'CHEETAH',   'BONE' from dual union all
        select 'MAMMAL',  'CAT' ,   'CHEETAH',   'BONE' from dual
    select * from(
    select
        case when domain         != nvl(domain_lag,        ':START:') then domain         else null end as domain,
        case when discepline     != nvl(discepline_lag,    ':START:') then discepline     else null end as discepline,
        case when technologyarea != nvl(technologyarea_lag,':START:') then technologyarea else null end as technologyarea,
        case when product        != nvl(product_lag,       ':START:') then product        else null end as product
    from(
        select domain, discepline, technologyarea, product,
               lag(domain,1)         over(order by domain, discepline, technologyarea, product) domain_lag,
               lag(discepline,1)     over(order by domain, discepline, technologyarea, product) discepline_lag,
               lag(technologyarea,1) over(order by domain, discepline, technologyarea, product) technologyarea_lag,
               lag(product,1)        over(order by domain, discepline, technologyarea, product) product_lag
          from test_data
         order by domain, discepline, technologyarea, product)
    where coalesce(product, technologyarea, discepline, domain) is not null
    edit
    I did not understand the question properly before submitting this. Here it is anyway.
    Cheers,
    Tyson Jouglet
    Edited by: Tyson Jouglet on Jan 26, 2011 2:42 PM

  • I want to plug my apple tv into a projector but i want to break the sound out and plug this in to a sperate audio solution which has 2 phono's. Is there a lead that does this?

    I want to plg my apple tv in to a projector but i want to break the sound out to a seperate audio solution. Is there a lead that I can use? The sound system has 2 x phono connections?

    The sound can already be "broken out" by using the optiocal cable jack. That, of course, assumes your audio input is capable of optical inputs. If not, you might have alook into something like this: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=opt ical+to+rca+converter&tbm=shop

  • Display problem - report /w break formatting

    Hi everyone,
    I'm having a display problem in a standard report with break formatting on first column and repeat headings on break. Whenever I start a new page and a new group of data starts, the heading for the break is displayed 2 times. If the new page doesn't start with a new group, there's no problem.
    I've made an exemple there : http://apex.oracle.com/pls/apex/f?p=25160:9
    You can see the group #1 on the first page, no problem there.
    On the second page, the group #2 begins and the header is repeated.
    On the last page, the header for group #3 is not repeated because it was started on the previous page.
    Why is the header for group #2 repeated ? How can I correct this ?
    Thanks,
    Patrick

    Hi all,
    I think it is a BUG, that was not fixed in 4.2.
    Is it possible to workaround it????
    Probably dynamic action with something like this javascript $("#my_table_id").find("tbody tr:(:eq(0))").remove(); With "On-Change" Event on the Region?
    But this javascript should be execute only on the pages greather than 1. How can I check in javascript which page of report is actually shown???
    Ideas, please!

  • Non-Interactive Report Break Formatting

    I have a non-interactive report that is very large and I am trying to use break formatting to provide subtotals. It works, but is quite ugly. Can anyone tell me where I might find a list of the various substitution strings that can be used for controlling the appearance of the breaks? For example, right now when it breaks for a change in "Payor Name", the subtotal row is labeled "Total for Payor Name". It would be much friendlier if the row label said "Total for Aetna" when Aetna is the Payor Name and "Total for Cigna" when the Payor Name is Cigna, etc. For example
    [Parent Name|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_1_desc::RP&fsp_region_id=27444927281350588|Sort by this column] [Payor Name|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_2::RP&fsp_region_id=27444927281350588|Sort by this column] ClaimType ST [RH Payor ID|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_5::RP&fsp_region_id=27444927281350588|Sort by this column] [Naic/EmdPayor Id|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_6::RP&fsp_region_id=27444927281350588|Sort by this column] LOC TRX [TRX Count|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_9::RP&fsp_region_id=27444927281350588|Sort by this column] [TRX Dollar Amt|http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/f?p=123:75:720425469268847:fsp_sort_10::RP&fsp_region_id=27444927281350588|Sort by this column]
    World Insurance Company World Insurance Company I - COMM085001 75276 DBQ CLM 18 $40,679.82
    Total for: ClaimType *18* *$40,679.82*
    P - COMM098401 75276 DBQ CLM 457 $129,959.38
    Total for: Payor Name *475* *$170,639.20*
    Total for: Parent Name *475* *$170,639.20*

    This has been an area in need of some attention for quite a while, in my opinion.
    Re: Formatting of Reporting Totals
    Re: Report Break Formatting
    I've just looked at 3.2, and the help messages are the same &ndash; not at all helpful &ndash; ones I remember from 1.6.
    I'm seem to recall this was raised on one of the enhancement request threads, but it doesn't seem to have been touched...

  • Break Formatting not working correctly

    Hi All,
    I have a report that I am trying to use the break formatting option on. The columns are as follows:
    Billing Code
    Qty
    Desc
    Price
    Billing Cycle
    I am trying to use the Break on First Column selection, with a summary of Price. If I select QTY as my first column, this works great. However, if I select Billing Code as my first column, I get a break and summary after each row, regardless if the Billing Code is the same. Is there something I am missing?

    Hello Jennifere,
    Try using the order by clause on the column you want to break on. Something like
    select "Billing Code", Qty, Desc, Price, "Billing Cycle"
    from yourtable
    order by 1as your report query, should work.
    Regards,
    Arie.

  • Interactive Report - Break formatting style

    Hi All,
    Is there a way to make Interactive reports break format work/look like classic reports break format? i.e.1st,2nd,3rd column option. The way IR breaks is that is reserves a whole row for the column used in the break, which is not what I want, I want the report to look like the following:
    city               emp           sal
    Chicago     John Miller  1500
                     Mark Horton 2000
    Denver       Rob Martino 1200
    I tried to use rollup queries which work fine except that it does not do exactly what I want when I sort columns through the front end , I am basically displaying a check box for grouped records ( and I want it to display at the first record of each group), so the order is important. for example:
    checkbox   City               emp           sal
    [ ]               Chicago     John Miller    1500
                                      Mark Horton  2000
    [ ]              Denver       Rob Martino  1200
    Thanks,
    Sam

    would someone please confirm if this is doable/undoable at least? I've spend a lot of time exploring possible options (none worked) and it would really help if someone can help me saving some time.
    Thanks in advance.

  • Problem using a lay-out break

    When I want to have a selection of text to have for example two columns I use two lay-out breaks: one before the selection and one after the selection. That works fine, but...
    Then the last line of a column doesn't show all the letters completely (the underpart of the g is cut off).
    What to do?
    Check the lines under numbers 4 and 8.
    Message was edited by: GEN79
    Message was edited by: GEN79

    Hello
    problem solved.
    Here is a screenshot of the original doc in which I just replaced the original font by Myriad.
    This time, the oddity is huge.
    I entered Inspector > Text > Text
    and discovered that line spacing was set to "exactly 15"
    I replaced the setting by
    "exactly 13"
    and the behavior is OK.
    It's OK too if I apply
    single line spacing.
    So, we know how to get rid of the problem.
    I wait a few days to see if some one is able to give a the theorical explanation.
    If I get none, I will post a report to Apple's Bugs Hunters.
    Yvan KOENIG (from FRANCE dimanche 14 juin 2009 21:15:19)

Maybe you are looking for

  • Voice Memo Crashing - Help.

    My "voice memo" keeps crashing when i try to open it.  It has played since my last software update, so I'm not sure what happened. When I sync my phones through itunes, my new voice memos won't transfer either. Any thoughts on how to retrieve the dat

  • My new Ipod Touch has frozen in Safari :{

    i was at work using their WiFi, listening to a lecture from the website Unwelcome Guests, when i lost the signal.....i went home and clicked onto the Safari Icon, and the same website's page was on my screen, but is completely frozen

  • How Can I Get Videos I've Shot, Onto My PC?

    I've shot several videos I'd like to get onto my PC (iTouch 4th Gen). I read the iTouch .pdf docs, and it doesn't explain it very well. So how do I can I get my iTouch videos from my iTouch to a folder on my PC? Thanks for any help! Dan Kap, Whittier

  • 720p 60 fps slow motion

    I have a new helmet cam (Go Pro HD Hero). I have been playing around with the 5 formats for video. I did a 30 second shot with each of the 5 formats. FCP would not recognize 2 of the formats I tried to bring into Final Cut. The two formats are both o

  • Printing Oracle Report.

    I have a problem printing an Oracle report on a dot matrix printer. I have the report set to print in character mode with the width and height of the report set to 132,31 respectivley and the width and height of paper set to 7.25,11 each. The problem