Summary first before details.

I have the summary first in my crystal reports through formula. and details follows through sub-report.
I have same Database source for main and sub reports.
So, I have to connect to database twice to get the records.
I wanna call the database only once.
So, is there any other way I can solve this problem
Summary:
Group 1 record 1(as user)
          group 2(dept)      record1      totalline        totalunits        total time        average
          group 2(dept)      record2      totalline        totalunits        total time        average
          group 2(dept)      record3      totalline        totalunits        total time        average
Group 1 record 2
          group 2(dept)      record1      totalline        totalunits        total time        average
          group 2(dept)      record2      totalline        totalunits        total time        average
          group 2(dept)      record3      totalline        totalunits        total time        average
Group 1 record 3
          group 2(dept)      record1      totalline        totalunits        total time        average
          group 2(dept)      record2      totalline        totalunits        total time        average
          group 2(dept)      record3      totalline        totalunits        total time        average

Details from subreport
user1     date         time         line1          units          time         average         dept1
user1     date         time         line1          units          time         average         dept1
user1     date         time         line1          units          time         average         dept1
user1     date         time         line1          units          time         average         dept1
user1     date         time         line1          units          time         average         dept2
user2     date         time         line1          units          time         average         dept2
user2     date         time         line1          units          time         average         dept2
user2     date         time         line1          units          time         average         dept2
user3     date         time         line1          units          time         average         dept1
user3     date         time         line1          units          time         average         dept2
user3     date         time         line1          units          time         average         dept3
This kind of report I am having
I wanna do two things, One is I wanna do this reports without subreport.
And I don't wanna use cross-tab for summary, I wanna get the following result
                  dept1         dept2        dept3  
user1          25               15            0
user2           0                20           0
user3          10                10         10
The numbers are averages here.
[Don]
I broke the message up so the formatting was retained. We have a 1500 charater limit then formatting is removed when Previewing. 2500 character max per reply. If you click on the Preview tab when wrtting you can see what others see when viewing.
Edited by: Don Williams on Mar 14, 2010 9:20 AM

Similar Messages

  • I get error 20 when trying to reinstall CS 5.5 on new PC. I thought I deactivated on old PC first before uninstalling; maybe I didn't? Old PC no longer available. What do I do now?

    I get error 20 when trying to reinstall CS 5.5 on new PC. I thought I deactivated on old PC first before uninstalling; maybe I didn't? Old PC no longer available. What do I do now?

    Install errors have nothing to do with activations. Otherwise nobody can tell you much without proper system info and other details.
    Mylenium

  • Why we load Master data first before loading Transaction data

    Hi Experts,
    why we load Master data first before loading Transaction data, specify any reasons for that ? Is it mandatory to load MD first ?
    I will allocate points to those who help me in detail. My advance thanks who respond to my query.
    Edited by: Nagireddy Pothireddy on Mar 10, 2008 8:17 AM

    Hi Nagireddy,
    I hope this helps....
    The bottom line for building cubes it to view facts against dimensions. When i say facts these are the key-figures i.e sales volume, Sales vat etc against some characteristics like sales Area,  Cost center , plant.
    Basically charateristics are those against which key-figures are measures like Costcenter, plant, material etc.
         Dimensions are a grouping of related characteristic. So basically a cube has a central fact table with dimesions associated to it in a relational schema. Imagine now you want to view a key figure Sales Volume against a dimension plant. when you consider plant , it has a distribution channel, purchasing organisation , company code, sales area, region etc associated with it. So which form the attributes of plant and also have some or the other description (texts) and aslo hierarchy. first we load the master data and then the transaction data follows.

  • Updated my iphone 4 today to new operating system...said error 50 and i lost all my previous data...there is no back up to get my contacts and photos back although it did say it was backing up first before it installed the new operating system but

    updated my iphone 4 today to new operating system...said error 50 and i lost all my previous data...there is no back up to get my contacts and photos back although it did say it was backing up first before it installed the new operating system but i cant find it anywhere...so frustrated at losing everything

    http://support.apple.com/kb/TS3694#error50

  • I'm running on Mac OS X 10.5.8. Do I need to buy snow leopard first before upgrading to Mountain Lion?

    I'm running on Mac OS X 10.5.8. Do I need to buy snow leopard first before upgrading to Mountain Lion?

    Make sure your machine meets the minimum system requirements:
    http://www.apple.com/osx/specs/
    Although it says 2 GB RAM is the minimum, it's generally recommended to have at least 4 GB unless you only use your machine for "light" use (no movie editing/burning, etc).

  • I am using an anchor to go to a certian spot on a page from but it jumps up to the top of the page first before getting to that spot.

    I am using an anchor to go to a certian spot on a page from but it jumps up to the top of the page first before getting to that spot. Any suggestions on this not happening?

    Hi,
    Kindly share the link to the site, so I will be able to understand the issue better.
    Regards
    Sonam

  • Do i need to update to ios4.3 first before ios6 for my iphone 4?

    Hi,
    do i need to update my iphone4 to ios4.3 first before updating ios6 ? or can i skip all previous iOs version and update iOS6?
    pls advise.
    thanks
    Steve

    you can ONLY update to the latest available.

  • HT201304 I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?

    I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Summary layout and detail layout

    In my Web interface page, there are two layout, top one is summry layout and the bottom one is detail layout
    The header for summary is as following:
    company code,
    personal area,
    The header for the detail is as following:
    company code,
    personal area,
    position.
    the position is a leading column in summary layout.
    The requirments is that the user can click any row in the summary layout, the detail layout should display the detail information for that position.
    I define position in the detail planning level as vairable. definel both layout's "Excel Web Component" as true, define the variable position's
    property for "Source for Selection" as summary layout.
    according to the F1 online documents for "Source for Selection" Scenario 2, it should display the detail information according to the row I selected.
    But, if I predefine a value for position variable in BPS0 through set variable, after I launch the web application it will the detail for that that position,but can not change to other position; if I leave the position variable's value as blank, it will result with error says that Restrict variable POSITION (Position) to single. Anybody can help?

    Hi,
      use the handle in the variant parameter to the alv function module..That way the summary layout will be stored separately with the detail report..
    Check this thread of how to use this..
    Re: ALV  variant
    Thanks,
    Naren

  • Is there any way that will notify me first before purchasing in iTunes? I have lots of purchased in iTunes in my credit card.

    Is there any way that will notify me first before purchasing in iTunes? I have lots of purchased in iTunes in my credit card that I didn't buy. Pls help.

    You should be prompted to enter your password when buying, if you aren't then on your iPhone you can set Settings > General > Restrictions > Require Password to 'Immediately' so that it has to be entered for every purchase (that setting has a default of 15 minutes during which it doesn't need re-entering).
    If you've been charged for items that you haven't bought then you can try contact iTunes Support via this link : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I have lost the remote that was paired. I bought another remote, but the procedure to pair the new one does not work. I suspect the the AT will work with only one remote at-a-time and i have to unpaid the first before pairing the second. How do I unpair?

    I have lost the remote that was paired. I bought another remote, but the procedure to pair the new one does not work. I suspect the the AT will work with only one remote at-a-time and i have to unpair the first before pairing the second. If this is true, how do I unpair? If not, what can I do?

    I was premature in posting the question. I found the answer in andother posting, and it was successful.
    Thanks, and sorry for the false alarm.

  • Summary and the Detail Report

    Hi All,
    I want to create a summary and detail report in two different layouts on one single report,based the input summary or the detail report shoud execute...,how to do the same.
    Thanks in advance
    C.Somasundaram

    Hi,
    bring your two different layouts in seperate frames and write format triggers on this frames to show or suppress them (depending on your input). Connect the two frames with an collabsing anchor.
    Regards
    Rainer

  • I am running snow leopard, do i have to buy lion first before i can download lion server?

    i am running snow leopard, do i have to buy lion first before i can download lion server?

    Snow Leopard client or Snow Leopard Server ?

  • Sorry, you've reached the maximum number of open tabs. Please close a few tabs first before opening additional tabs.?

    I have just opened email. There is one email. When I click to open I receve the message "Sorry, you've reached the maximum number of open tabs. Please close a few tabs first before opening additional tabs." How can I have too many tabs? Does anyone else receive this message? What do you do to get to read your email?

    Wow, never heard of that one before, is this on your Mac or an iDevice?
    Or is this WebMail in a Browser?
    http://www.justanswer.com/mac-computers/5gzyr-asked-answer-yet-hit-wrong-button. html

  • I'm currently running Mountain Lion. Is it recommended to update to Mavericks first before I would update to the new Yosemite this coming Fall?

    I'm currently running Mountain Lion. Is it recommended to update to Mavericks first before I would update to the new Yosemite this coming Fall?

    VKH wrote:
    ...Is it recommended to update to Mavericks first before I would update to the new Yosemite this coming Fall?
    I would recommend that you do neither unless there's some feature in Yosemite that you absolutely must have. With broad adoption (i.e., after the OS is released to the public), all kinds of problems surface which get fixed in updates. You can take advantage of their discovery and resolution by giving the OS a chance to mature. Since you're asking about going to Mavericks, which has already been out for eight months, there was clearly not that much exciting (except, perhaps, the price) to encourage an upgrade, so staying put was prudent. Once Yosemite's wrinkles are ironed out, you'll be able to jump straight to it, after you make a bootable backup of your ML partition of course, so that you can always retreat if necessary.

Maybe you are looking for

  • URGENT!!!! - select open items from DFKKOP

    Hello experts, I have one big problem. I need to select lots of data using contract account or business partner (the best will be to have FM where is a range of CA or BP at the entry) from DFKKOP (millions..) and the FM FKK_LINE_ITEMS_WITH_SELECTION

  • How do I reset the password to my Ipod touch in order for me to unlock the screen?

    How do I reset the password on my Ipod touch to ulock the screen?

  • CAST MULTISET using a recursive UDT using REF

    I am trying to create a recursive object and populate it using cast and multiset. However I keep getting the following error: ORA-00932: inconsistent datatypes: expected UDT got CHAR 00932. 00000 - "inconsistent datatypes: expected %s got %s" *Cause:

  • Accessing a locked folder

    I had to reinstall mac since my hard drive failed and my old files from my old account are still on the computer but i cant access them because they are locked to the old user, is there anyway for me to access them? I have the password and everything

  • Error in enhanced receiver determination

    Hi Experts, I am trying to implement a scenario in which  i have to get the receivers at run time by doing a  lookup to a file which stores the destinations. i am getting the error that no receivers could be determined. thanks, Anika