First page summary

Hello all:
I wonder if it's possible in CR to have a summary of all groups on the first page.
Something like this:
    Page 1: (Report Header)
        Group A:   15.00
        Group B:   20.00
        Total:     35.00
    Page 2:
        Group A
            Detail 1:   5.00
            Detail 2:  10.00
        Group A Total: 15.00
        Group B
            Detail 1:   3.00
            Detail 2:  10.00
            Detail 3:   7.00
        Group B Total: 20.00
    Page 3:
I tried using Running Totals, but I only get "5.00" in the field on the first page, relating to the first detail line.
I also tried a Formula field using Sum(Amount, Group1), but I only get 15.00 referring to the first group total...
So... any ideas on how to do this (without inserting a subreport!)?
Thanks!
Joerg.

V361:
OK, I think I can use your approach, since I know what groups to expect. However, I am not very profficient in CR yet, so could you please indicate how to create the shared variables?
I suppose I need to create a new Formula field... and put your piece of code there? Where does the summing up occur? Another formula field?
Thanks,
Joerg.
PS: This is what I have so far in the formula field:
WhilePrintingRecords;
Global NumberVar CK_Transito;
if {Command.tipo} = "20" then CK_Transito = CK_Transito + {Command.monto}
Edited by: Joerg Aldinger on Apr 22, 2010 1:14 AM

Similar Messages

  • How to make a summary column appear only once (in the first page only) in SSRS 2008?

    Hello Everyone,
    How to make a summary column appear only once (in the first page only) in SSRS 2008?
    Regards
    Gautam S
    Regards

    Hi,
    Assuming you have test data like this ;
    select 'abc'as [GROUP],'NN' name , 1 id
    union all
    select 'abc' as [GROUP] ,'PP' name , 1 id
    union all
    select 'abc'as [GROUP],'RR' name , 2 id
    Step1  : take Tablix with row group as your group Name .
    Step2 : right Click on Row Group Details -> Delete-> Delete Group Only
    Step3 : In Count Cell use below expression ;
    =CountDistinct(Fields!id.Value)
    Follow this link;
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b6b45917-0a26-4d15-be46-2c6a2697d6e9/distinct-rows-sum?forum=sqlreportingservices#5ffdee06-c2c8-44ea-a3a5-b958488bb6b5
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • How to show the first page and then rest will be created in background

    Dear Friends,
    I am suffering from some seriouse issue of slow opening of report....
    I am using vs2005 and asp.net 2.0 and crXI R2 sp4,
    using oledb for getting data from ms sql server 2005.
    Now my one report called accounts ledger
    when i execute the report query it takes 1.03 mins for 515000 records..no issue with it ,
    when i execute the report from report desginer for 515000 records its taking 26 mins . It is generating all
    32000 pages.
    Now same report i run from my web based erp application it takes 30mins to execute 32000 pages now
    this is too much time it is taking and now our client is fedup of ussss..
    So is there any way that we can show First page at the earliest and rest of the pages willl be getting created in background? is it possible ?
    We have to give them the solution as sson as possible...
    can anyone suggest the diff ways to get out of this problem .......
    Please ur co operation will be appriciated....
    thansk

    Hi Mithun,
    Here are a few points related to performance issue. These might be helpful.
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
    ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of records returned
    ( If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated?
    Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
    They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
    For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated
    in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to
    SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
    Minimise the number of subreports used, or avoid using subreports if possible because
    subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100
    records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest
    factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
    Large number of records will slow down the preview of the reports. Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
    When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page
    of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested. It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
    For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports.
    SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set. It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
    This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Regards,
    Shweta

  • Ssrs 2008 r2 rectangle causes first page to be blank

    In an SSRS 2008 r2 report I have 6 matrixes that I placed into 1 rectangle so that all the individual items do not float.
    The problem is that the first page of the ssrs 2008 r2 report is blank when the report is executing.
    I have set the report properties to: landscape, custom paper size, width 14" and height = 11". The report properties are width 14 inches and the height is 11 inches. The body properties keep changing to 26.75719 inches and width = 13.54667 inches.
    When I set the border of the rectangle to solid,  I can see the rectangle when the SSRS report is executing. The rectangle appears before any of the matrixes are displayed. However when I look at the rectangle in design mode, the rectangle is around all
    6 of the matrixes.
    Thus could you tell me why the rectangle is displayed in a different location when the report is executing and not around all the matrixes at that point?
    If there is no property that can be set, then should I have more than one rectangle? To place the objects into separate rectangles, I want to mention that that there is a header matrix and a summary rectangle that need to be shared. Matrix #2 and Matrix #3
    are for students in grades 01 to 08. Matrix #4 and #5 are for students in grades 09 to 12.
    Can you tell me what I can do so that I do not have a blank first page when the SSRS 2008 R2 report is executing?

    Hi wendy,
    If we want to use a rectangle as a container for other items, we should drag them into the rectangle. When we move the rectangle, the items that are contained within the rectangle move along with it. An item within the rectangle shows the name
    of the rectangle in its Parent property.
    For more information about using a rectangle as a container, please see:
    Add a Rectangle or Container (Report Builder and SSRS)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Word insert object vi only inserts first page of multipage rtf file?

    Hi,
    I need to insert a multi-page rtf file into my report template.  In Microsoft Word, this is achieved by selecting 'Insert, Object, Text from File', which inserts all pages of the rtf file.  How is this achieved in the LabView Microsoft Report Generation Toolkit?  When I use the insert object vi, it only inserts the first page of the rtf file?  I've tried other insert methods but insert object is the only vi that keeps the formatting (i.e. rtf file contains tables).
    In summary, I can insert an rtf file as an object to a bookmark, but only the first page of the rtf file is inserted.  Does anyone know how to insert a multi-page  rtf file?
    Regards,
    Allan
    Solved!
    Go to Solution.

    Hello Allan,
    It looks like that functionality is not included within the Report Generation Toolkit.  It is possible to produce the desired behavior through ActiveX commands.  I was able to create some sample code that successfully inserted a multipage RTF file into a report.  I did this by using the Word._Document reference to generate a Word.Range reference.  The Range reference has an InsertFile method.  This seems to input the file at the proper location.
    Could you give this a try and let me know how it goes?
    Also, just so you know, you are using an unsupported configuration of MS Office and LabVIEW.  Most of the functionality should work, but there might be some glitches.
    Regards,
    Thomas C.
    Applications Engineer
    National Instruments

  • I exchanged my battery-challenged Ipad 1 for a refurbished model, and it won't move from the first page. . .what gives?

    I exchanged my battery-challenged Ipad 1 for a refurbished model, and the new model won't move from the first page, which shows the battery charger pointing toward an Itunes logo.  It has a full battery charge. . .what gives?

    It's been so long since I activated an iPad original model, and I am assuming that it needs to be activated. If that's not the problem, then you need to restore the iOS software.
    Eject the iPad, turn the iPad off, quit iTunes, restart you computer - then restart the iPad and connect it to your computer and see if iTunes launches on it's own. If it doesn't, then launch it yourself. If iTunes does not guide you through the activation process, I assume that you have to restore the software.
    Click on the iPad name on the left sidebar of iTunes. If you don't see the sidebar, go to View>Show Sidebar from the menu at the top. Then you should see the iPad under the devices heading. After you click on the iPad name, click on the Summary Tab at the top of the iTunes window on the right. Then Click on Restore.
    I'm hoping that starting the process over again activates the iPad rather than having to restore the device, but see what happens.

  • How do I display text only in the first page inXML Publisher

    Hi everybody,
    I've been reading so much, on the last two days, on this issue at this forum but I didn't get an answer. My problem is: In an invoices report some text and fields from the invoice header, (such as payment terms, bank details etc.), should be printed only in the first page of the invoice, (If the invoice has more than one page). These elements are not in the document header/footer but in the document body. That's why I think the different fist page of MS Word will not work. I tried also <? start@first-page:body ?>, with no success. Any idea, someone?
    Thanks,
    Shimon

    Hi,
    Did you find solution to your problem? I am facing same issue and I want to know how you solved it? It would be great help.
    Thank you.
    Regards,
    Rahul

  • How can I print only the first page of multiple PDF files at once in my PC?

    That is, without having to open each file individually.
    Thanks!

    Create an Action with the following JS command:
    this.print({bUI: false, nStart: 0});
    This will cause the first page of all the files you process with this Action to be sent to your default printer.
    If you need to specify more complex parameters, you'll need to use a more complex code...

  • How can i print all the tab pages not just the first page (tab)

    how can i print all the tab pages not just the first page (tab)

    You would need to do this programmatically. Here's one way:
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • Refresh First page after returning from a framed pop-up window

    HI Can anyone help me on this technical problem.
    I have got one mainpage and from there i'm calling a popup with two frames (left, right). At frame right i'm populating the tableview.
    So when i submit(button) in tableview(right), the table contents has to be replicated in the first page and the popup has to be closed. So far it has be done successfully.
    The problem is when i return to the first page the page is not getting <b> refreshed automatically</b>. FYI, i'm not using mvc for performance reasons.
    So i need your help on how to refresh the first page, after control passes from popup.
    Here is the code, that calls the popup window
    winvar=window.open("organization.htm", 'main','height=450,width=650,status=yes,scrollbars=yes,toolbar=no,resizable=yes');

    Hi Craig & Raja,
    Let me tell thanks for your response. But your valuable solutions are not working for me. Please, check this code and please let me know that any thing went wrong.
    Here is the code
    My main page is progress.htm
    ============================
    <script language = "javascript">
        function openOrgTree(){      
           var winvar;
           winvar=window.open("organization.htm", '<b>Main</b>','height=450,width=650,status=yes,scrollbars=yes,toolbar=no,resizable=yes');
      </script>
    <htmlb:inputField id          = "InputOrgPlan"
                            showHelp    = "X"
                            onValueHelp = "javascript:openOrgTree()" />
          <% if application->i_desc is not initial.%>
          <htmlb:tableView id              = "tvX"
                           headerVisible   = "false"
                           design          = "alternating"
                           visibleRowCount = "3"
                           fillUpEmptyRows = "true"
                           columnWrapping  = "false"
                           onHeaderClick   = "MyEventHeaderClick"
                           onRowSelection  = "MyEventRowSelection"
                           keyColumn       = "Text"
                           table           = "<%= application->i_desc %>"
                           iterator        = "<%= iterate %>" />
          <% endif. %>
          </td></tr>
    organization.htm (is the frames container)
    =========================================
      <!-- frames -->
    <frameset  rows="110%,*">
        <frameset  cols="40%,*" >
            <frame name="left" src="tree.htm" marginwidth="0" marginheight="0" scrolling="No" frameborder="0">
            <frame name="right" src="table.htm" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0">
    table.htm (right frame)
    ==========================
       function callSubmit()
         alert(parent.window.name);  
    // displays the name as "<b>Main</b>" which i gave at the time opening oraganization.htm
    //        parent.window.opener.refresh();
    // window.opener.location.href = window.opener.location.href ;
             window.opener.refresh();
             parent.close(); // to close the popup
    // all of the above are not working
       </script>
      <htmlb:page onLoad = "callSubmit()">
    <htmlb:button id            = "submitbutton"
                        onClick       = "myButtonClick"
                        onClientClick = "callSubmit()"
                        width         = "10"
                        text          = "Submit" />
    i need onClick to populate the internal table and onClientClick to refresh the opener.
    if event->id = 'submitbutton'.
          refresh application->i_desc.
          application->i_desc = i_desc.
    Regards
    Swaroop

  • Values not getting displayed from first page of the report.

    Values in the report is getting displayed from second page.
    First page in the report only displaying the report title and column names.
    Secone page onwards, data and column names are generated.
    Can any one please help me, with the cause of the problem.

    what reporting tool?
    Interactive Reporting
    Financial Reporting

  • Why do text variables using Running Header character style translate forced returns as a word space in the running head on the first page but close up the space on subsequent pages?

    In an InDesign document that requires 3 different Chapter head paragraph styles (to cope with differrent length headings) I've set up the running heads on the master page with a text variable using the Running header (character style) option. The character style I've assigned to this is an empty character style that is applied to all 3 chapter head paragraph styles.
    Some chapter heads require a forced line break, so that the line breaks are aethesically pleasing. On the first page the text variable translates this forced line break as a word space in the running head, but on subsequent pages it ignores the forced line break. This means that if you have a word space before the forced line break, on the first page you get a double word space and on subsequent pages the running head sets correctly with a single word space. But if you remove the word space before the forced line break in the chapter head text, the first running head sets correctly with forced line break interpreted as a single word space, but on subsequest pages the space is closed up.
    This only seems to be a problem when the character style option is used for header text variables. If a paragraph style is used the forrced line break is interpreted as a a single word space in all instances, both on the foirst page and subsequent pages.
    This would appear to be a bug in how text variables are applied when using the Running header (character style) option. I can't see any other reason why the text variable would beheave differently on the first page and on subsequent pages. There is only one master page, so it isn't a case of their being an error between a main master page and a chapter opener master page.
    Does anyone have any solutionss, or know if this problem has been fixed in subsequent releases of InDesign (I'm using CS6 ID version 8.0)
    Thanks

    Ask in the ID forum...
    Mylenium

  • Issue with auto-play slideshow on the cover/first page

    I'm finding a strange problem in a project that's about to ship.
    Our "cover" is a full-screen slideshow (really some type animation) that is a simple slideshow through states. It look great in the Content Viewer.
    When we build the app in Viewer Builder, the slideshow does not play. Just sits on the first image.
    I know there's an issue about HTML "auto playing" on the first page (that is, you can't). But didn't think that applied to dps slideshows.
    Has anyone seen this issue? Any solutions?
    Thanks

    Here's the panel.
    Interestingly, if we build an app with only the cover (this page), it works. Building it with all articles makes it not work.
    The 'play in reverse' was an attempt to fix this. Did not help or hinder.
    Thanks

  • In two page view preview shows the first page on its own

    In two page view preview shows the first page on its own. I have recently downloaded an ebook which has image based tutorials and the pages are in such a way that pages 3 and 4 should be seen next to each other. Preview seems to want to have pages 1 on its own therefore making this rather difficult. Any help on resolving this issue would be appreciated.

    Try selecting the first page, and then from the "Edit" menu select "insert blank page". This should put a blank page at the beginning of the document, shifting all pages down one and putting them in the order you want for your display.

  • How do I get back to the first page of an application when I'm in the middle of it?

    I'm sure there's an easy answer for this, but I can't find it.  If I'm in the middle of an application, say iBook, and I want to get back to the first page of that application, how do I do it?  When I tap on HOME, I go back to the home page with all the icons.  I want to go to another page within the application I'm in?  I've been stuck in iBook for an hour.....I don't know how to get back to the first page in that application.  Thanks.

    The shelves should show the ibooks that you've got in the app i.e. your downloaded purchases from the iBookstore. At the top of the shelves there should also be a Store button (for browsing, purchasing, re-downloading books from the iBookstore), and Collections (where any PDFs that you've synced/copied into the app go).
    There is a chapter on the iBooks app in the manual, which can be downloaded from here http://support.apple.com/manuals/#ipad

Maybe you are looking for

  • Probelm writing to a cube via FM 'RSDRI_CUBE_WRITE_PACKAGE'

    Hi all, in the cube which I'm trying to write to via FM 'RSDRI_CUBE_WRITE_PACKAGE' there exits an InfoObject called ZCS_UNIT which uses ALPHA conversion. In case I try to write e.g. a value of '206540' for InfoObject ZCS_UNIT into the cube, i receive

  • Error: This entry already exists in the following tables "(ALR2)(ODBC -2035

    Dear Expert, I can not prepare Sales Order and Purchase Order in SAP B1-2007 SP 1(Both Documents Having on Approval ), due to following system error. System Error: This entry already exists in the following tables "(ALR2)(ODBC -2035) [Message 131-183

  • Will a CS6 Master Collection upgrade for CS5.5 upgrade CS5 as well?

    Basically, I want to upgrade my CS5 Master Collection using a CS5.5 to CS6 upgrade package. Can it be done or does Adobe differentiate between 5.0 and 5.5 upgrades?

  • X4200 windows server 2003 sp1 install

    Hello, i'm trying to install a x4200 using windows 2003 sp1. Created the F6 floppy using the make floppy utility found on the drivers cd. during install, after the hardware config has been inspected, i see the f6 screen, hit f6 and finaly enter the a

  • How to Work Faster in Shake, AE, etc.

    Hi, In perusing the market for jobs in rotoscoping, or other digital artist positions related to film, it seems that speed is paramount. If you can't work fast enough, you're fired! What's the best way, outside of practice (which is obvious) to work