Performing group by

Hi
Please help as how to get group by on selected rows.
I have a query, that results like this:-
a b c we are good
a b c ghy hgf hjgef
a b c ghfr urh urhg
I need the result as
a b c we are good
ghy hgf hjgef
ghfr urh urhg
Please help, as hot to get this.
Also suggest some good book to refer and get basics of writing sql query.
Thanks

Hi,
So you just want to hide this first 3 columns when they are the same as the first 3 columns of the preceding row, is that it?
Your front-end can probably do that easiest. For example, if you're using SQL*Plus:
BREAK  ON  col1  NODUPLICATES
BREAK  ON  col2  NODUPLICATES
BREAK  ON  col3  NODUPLICATESUse your column names in place of col1, col2 and col3.
NODUPLICATES is the default; you can just say "BREAK ON col1" if you want.
If you really have to do this in SQL, use the analytic LAG function to see what a value was on the previous row. Use CASE to return NULL if it's the same as the current row,
If you need help. post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data.
When you post the results, type these 6 characters:
\(all small letters, in curly brackets) before and after each section of formatted text; otherswise, this site will compress the spaces and nobody will be able to tell what's in what column.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to Perform Group By operation in OBIEE 11g

    Hi,
    I have created a report for the "Nationality count in department wise manner", since for this i need to give 'group by department' for getting correct answer...
    But in OBIEE 11g on presentation service how i need to give "Group BY" operation....for viewing correct count in nationality wise......
    Regards,
    Harry...

    Hi sai,
    U mentioned, but i couldn't clearly able to understand that.......Since to perform Group By i need to make some setting changes in content in Advanced Tab setting like that it is mentioned, but i need to perform in the following manner
    select count(nationality), nationality
    from per_all_people_f, per_all_assignment_f, hr_all_organization_units
    group by department
    Note: per_all_people_f-----------> dimension table, per_all_assignment_f--------------> fact table
    nationality from per_all_people_f and count(nationality) from per_all_assignment_f
    But department is from hr_all_organization_units--------->dim table
    I dont want to see the departments but i need to group the result in department manner that i was taking from the table hr_all_organization_units.....
    How to perform Group BY in OBIEE 11g.......
    Thanks,
    Harry.........

  • How to perform grouping like a daisy chain

    Hi:
    I have a database table of Building Inspections (InspectionID) for each Building Permit (PermittingID).  Sometimes the inspections fail and have to be re-inspected. I do not relate each re-inspection to the original inspection.  I relate each re-inspection
    to the inspection being re-inspected.  I am using daisy chain logic. 
    For example:
    PermittingID     InspectionID     ReinspectionRequestNum     InspStatus
           3                     3591                                                              
    F
           3                     3843                          
    3591                            F
           3                     4437                          
    3843                            F
           3                     4777                          
    4437                            F         
           3                     5069                        
      4777                            F       
           3                     5204                          
    5069                            F
           3                     5242                          
    5204                            F
    I have been asked to create a report of ONLY the inspections/re-inspections that have failed and continue to fail (like above example). This includes any inspections that failed and were never reinspected. 
    For example:
    PermittingID     InspectionID     ReinspectionRequestNum     InspStatus
           17                     8                                                                  
    F
           17                     11                        
                                            F
           17                     16                          
                                          F
           17                    236                          
                                         F         
           17                    237                       
                                            F       
           17                    238                          
                                         F
    I must Exclude any inspections that have failed, but ultimately passed. 
    For example I would exclude ALL below:
    PermittingID     InspectionID     ReinspectionRequestNum     InspStatus
         105                     38                                                              
    F
         105                     76                          
    38                                P
    PermittingID     InspectionID     ReinspectionRequestNum     InspStatus
           3                     3480                                                             
    F
           3                     3669                          
    3480                           F
           3                     3942                          
    3669                           P
    Any help is greatly appreciated with a query to filter out all inspections that have eventually passed.
    Thank you.
    Carmelita

    Hi CKCOMPUTER,
    Regarding your description, are you trying to exclude the records which has the  'P' InspStatus? I am confused by the last sample with the PermittingID 3, I noticed that at the very above the records with 3 were mentioned not being excluded. If that
    is a typo, you may reference the below query to achieve your requirement.
    CREATE TABLE BuildingInspection(PermittingID INT,InspectionID INT,ReinspectionRequestNum INT,InspStatus CHAR(1));
    INSERT INTO BuildingInspection VALUES(3,3591,NULL,'F');
    INSERT INTO BuildingInspection VALUES(3,3843,3591,'F');
    INSERT INTO BuildingInspection VALUES(3,4437,3843,'F');
    INSERT INTO BuildingInspection VALUES(3,4777,4437,'F');
    INSERT INTO BuildingInspection VALUES(3,5069,4777,'F');
    INSERT INTO BuildingInspection VALUES(3,5204,5069,'F');
    INSERT INTO BuildingInspection VALUES(3,5242,5204,'F');
    INSERT INTO BuildingInspection VALUES(17, 8 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(17, 11 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(17, 16 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(17, 236 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(17, 237 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(17, 238 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(105, 38 ,NULL,'F');
    INSERT INTO BuildingInspection VALUES(105, 76 ,38,'P');
    SELECT * FROM BuildingInspection BI WHERE NOT EXISTS(SELECT 1 FROM BuildingInspection WHERE InspStatus='P' AND PermittingID=BI.PermittingID );
    DROP TABLE BuildingInspection;
    If the records with 3 are in the same table with the 3s above, please clarify the correlation.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Performance Issue Crystal Report and Oracle

    Hello,
    We have one procedure that takes 3 input parameters and returns Cursor from Procedure that is used to design the report. There is no caluculation involved here and cursor is opended dynamically. We are using Oracle Native connection.
    When we click on preview button it takes lots of time ( >10 Mins) to show complete data. While we call the same procedure in application and generate HTML report using Cursor returned it is done in < 15 Seconds. Can some point me where to look into to improve the performance of Crystal Report.
    DB: Oracle 10G
    CR: Version XI

    Hi Vadiraja
    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 record 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
    Girish Bhosale

  • ACS 3.3 Windows group mapping problem

    Hi,
    I?m running Cisco Secure ACS v.3.3 at Win 2000 server(sp4). ACS server is member of AD domain X. Additional there are two AD forests, so: domains X and Y are in the same forest, but domain Z is member of the second one. Trust relationships between all domains are established (AD Domain Controllers are w2k3 srv). I need to add Windows AD group mapping and that's no problem in domains X & Y. But when I'm trying to map some groups from Z domain, the "Failed to enumerate Windows groups. If you are using Active Directory consult the installation guide for information." error appears. In ACS documentation I have found information "ACS can only perform group mapping by using the local and global groups to which a user belongs in the domain that authenticated the user. You cannot use group membership in domains that the authenticated domain trusts that is for ACS group mapping. This restriction is not removed by adding a remote group to a group that is local to the domain providing the authentication." As I understand it's impossible to add mapping from the second forest? Am I right? If problem is solved in newer versions of ACS (4.0, 4.1)? Are there any fixes that can help?
    Thanks,
    Peter

    You need to set up proxy.
    http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/ed80211.mspx
    Look for "Cross-Forest Authentication" in above link. And you get the Idea of what I mean. Though in above link its depicted with IAS server, but same is possible with ACS, as both can act as Radius server.
    There is a known bug, CSCsi04187
    PEAP MS-CHAP machine authentication will fail with machine not found if host/ format is sent from client. This only happens if the machine is autenticating to a domain forest that the ACS is not a member of.
    Conditions:
    The Machine authenticating to ACS is in a different domain forest then the ACS and the supplicant is using host/ as the machine name format. You also have to be using PEAP MS-CHAPv2.
    Workaround:
    If the supplicant has the option you can send the macine name in hos/ format.
    Many supplicants do not have this option.
    It is to be fixed for ACS 4.2 release.
    Regards,
    ~JG

  • Updating groups in Active Directory LDAP

    Hi,
    We are making use of the LDAPResourceAdapter to manage user information present in AD.
    To manage group membership, the resource schema contains mapping of Identity System user attribute to the 'ldapGroups' resource attribute and the Group Member Attr is set to 'member'.
    A user form with multi-select component is used to manage group membership. There are no issues while associating a user with a new group, however we are not able to de-link users from their existing groups.
    I thought, Identity Manager will perform a difference between old values and new values of group membership and accordingly update the resource groups. But this doesn't happen and the documentation is silent on how group updates are handled.
    Also in the confirmation page that shows up during the update operation, the old values column does not contain existing group DNs. All group DNs appear under the new value column.
    Has anyone encountered this problem?
    What is the recommended approach for resolving this issue and successfully performing group updates?
    TIA,
    Chetan.

    Hi,
    I have done a similar thing (but using iPlanet ldap) and the group
    memberships deleted OK.
    One thought is that the adapter may be configured to ignore delete
    operations. You can check this by running the resource wizard
    and stepping through until the last page. There is an item called
    "Account Feature Configuration".
    By the way, you say
    "de-link", but as I understand it,
    IDM only maintains "linkage" to a resource account,
    for example LDAP. A group membership is a "resource object",
    which is part of a resource account. Resource objects (groups
    in your case) can only be created/deleted, not de-linked.
    Another thought:
    It could be the following is happening.
    1: The user is associated with a group and the group membership is created on the resource.
    2: The Identity System user attribute that maps to ldapGroups
    is NOT being stored.
    3: The next time an update occurs, the old value is empty and the new
    value contains the groups, calculated from the form.
    4: IDM attempts to re-create the group membership on AD.
    So, even if you try to delete them, the just continue to reappear.
    Can you determine if the DNs of the groups are actually being
    stored?
    I had a similar problem. my Identity System user attribute
    that mapped onto ldapGroups was also called ldapGroups.
    I renamed it to myLdapGroups and used global.myLdapGroups
    in my forms (not nice, I know). This solved the problem for me.
    Hope this helps,
    Please post when you find an answer.

  • How to implement the Oracle Group by function in Crystal reports?

    Hi all,
    In SQL, for example we have a group function like:
    select  district,state, country, continent, sum(no.of people) from world.
    Now, How to implement this group function in crystal reports? Please advise.
    Thanks in advance..
    Regards,
    sriram

    Hi Vinay,
    Thanks for the prompt reply.
    In one of our report, we are supposed to perform group by for 14 columns to get sum of 3 columns and there by displaying 17 columns in the report.
    When we tried in crystal reports to implement this oracle group by functionality:
    1. We created 14 groups from the Insert->Group option.
    2. By performing this, we got 14 group sections vertically(one inside the other).
    3. Then we created the sum(15th column),sum(16th column), sum(17th column)  by Insert->Summary option.
    4. We suppresed all the group sections except for the last group.
    5. Then, dragged all the groups to the last group section along with the summary fields.
    This is how, we tried to acheive the oracle group by function in Crystal reports.
    Please advise, whether our approach is right. If not, please suggest the appropriate approach with a bit detailed explanation.
    Thanks,
    Sriram.

  • Group Messaging

    Verizon,
    I would really like to know the reasoning behind removing group messaging.  Do you not understand that ALL iPhones are equipped with this capability and that many users take advantage of this?  It really can be annoying when receiving a group chat from users who don't know that you don't have the capability and there are 30+ messages.  If you removed it because you plan on implementing your own solution then we the users deserve to know that.  The phone is most definitely capable of this technology as the 8X on EVERY other carrier can perform group messaging.  Please give myself and the users at least some kind of explanation instead of leaving us in the dark.
    Thank you,
    <Full name removed for privacy per the Verizon Wireless Terms of Service.>
    Message was edited by: Verizon Moderator

        Hi Restin, We are dedicated to offering you the very best device experience and do not want to let you down. If an update becomes available, you will be able to find details at the HTC 8X support page: http://support.verizonwireless.com/clc/devices/index.html?p=6791&m=
    Thank you,
    YaleK_VZW
    Please follow us on twitter @VZWSupport

  • Urgent - Oracle Applications Performance - Please Help me!

    Hi folks!
    I´m having a lot of performance troubles in Oracle applications, and the dba and the network analyst can´t help me. I´m having this trouble since 2 weeks, and nobody can explain why. The system is too slow and if i try a simple select in database it takes a lot of time, i think (i think ok?) there are som database troubles...
    I saw some docs
    1. System Mgmt White Paper http://www.oracle.com/appsnet/technology/managing/collateral/wp_managing11i.pdf
    2. System Mgmt PPT http://www.oracle.com/pls/oow/oow_user.download?p_event_id=15&p_file=P39948.zip
    3. Reducing 11i Downtime PPT http://www.oracle.com/pls/oow/oow_user.download?p_event_id=15&p_file=P39947.zip
    4. Performance and Scalability site : There are a couple of excellent presentations and white papers which will give you the right way to do performance tuning. http://www.oracle.com/appsnet/technology/performance/content.html
    but i need something more specifical like
    simple performance tests.
    Best Regards!
    Filipe
    [email protected]

    Hi
    Check this one.
    http://www.appsworld2004.com/scps/controller/catalog
    Search for item 1066. This is a presentation on "Performance Tuning Users Tips and Techniques" by Ahmed Alomari, Applications Performance Group, Oracle Corporation. You may need to register and then login.
    If you cant access this presentation, let me know, I can mail it to you as well.
    There was a similar presentation of 2002 Appsworld as well. Am not able to locate the link yet.
    Best Wishes
    Vinod Subramanian

  • Sorting vs. grouping

    Does a crystal report run faster if using sorting vs. grouping? 
    I have a report that takes 5 1/2 hours to open.  The report currently has 10 groups.
    Invoice #
    Item Type
    Cost Code
    Class
    Category
    Item Number
    Order Number
    Seq #
    Rec Type
    Bill Date
    I actually suppress each header but I do use totals in the Cost Code footer and the Invoice # footer.  I am sure there are other performance options I can look at but wondered if there was a significant impact by using groups vs. changing the report to use sorting.  Note that the report performs the grouping on the PC as I am passing it an ADO.net dataset.
    Thank you,
    Chad

    Hi Chad
    I understand your requirement of improving the performance of the report.However,there are some issues regarding your query of grouping v/s sorting.
    Observations:
    1) As per my understanding 'Grouping' is a concept of binding the data together and presenting it in the form of identifiable bunches(groups).
    2) And sorting is a concept where user arranges the data in the ascending/descending order so that records could be easily identified in a sequence.
    3) Unfortunately,in both the situations we do not have any known ways of improving the report performance unless ofcourse you prefer the "Perform Grouping on Server" option in the "Database" menu.
    Suggestions:
    4) Something that could be tried is to introduce a group selection formula which could show up only those groups which are mostly required all the time and filter out the ones which are not that important(or required).
    5) Another thing that could be tried is to break the data into sub reports.This could reduce the load on one report and the entire report loading operation will be divided into Pre-pass #2 and Pass #2
    Let me know if that helps.
    Thanks

  • SQL to group by n days

    i would like know how i can perform grouping based on every n day interval.
    for example, i want to group the data based on an n=2day interval
    example table:
    DATE VALUE
    12/12/2005 2:52:00 PM 10
    12/12/2005 4:49:00 PM 20
    13/12/2005 5:17:00 AM 30
    13/12/2005 5:20:00 AM 40
    14/12/2005 9:36:00 AM 50
    14/12/2005 9:49:00 AM 60
    expected result:
    STARTDATE ENDDATE SUM(VALUE)
    12/12/2005 13/12/2005 100
    14/12/2005 15/12/2005 110
    but i also want to be able to change the value of n (in days)
    Thanks in advance.
    Simon

    something like...
    SQL> def n = 1
    SQL> select min(hiredate) start_date, min(hiredate)+&&n end_date, sum(sal) from emp
      2  group by hiredate, hiredate+&&n order by 1,2;
    old   1: select min(hiredate) start_date, min(hiredate)+&&n end_date, sum(sal) from emp
    new   1: select min(hiredate) start_date, min(hiredate)+1 end_date, sum(sal) from emp
    old   2: group by hiredate, hiredate+&&n order by 1,2
    new   2: group by hiredate, hiredate+1 order by 1,2
    START_DATE END_DATE     SUM(SAL)
    17/12/1980 18/12/1980        800
    20/02/1981 21/02/1981       1600
    22/02/1981 23/02/1981       1250
    02/04/1981 03/04/1981       2975
    01/05/1981 02/05/1981       2850
    09/06/1981 10/06/1981       2450
    08/09/1981 09/09/1981       1500
    28/09/1981 29/09/1981       1250
    17/11/1981 18/11/1981       5000
    03/12/1981 04/12/1981       3950
    23/01/1982 24/01/1982       1300
    START_DATE END_DATE     SUM(SAL)
    19/04/1987 20/04/1987       3000
    23/05/1987 24/05/1987       1100
    13 rows selected.where n is the 'day interval'

  • Huge Group by operation on Huge Table takes lot of time

    Hi,
    Pl find the below given process which takes of time in execution (approx 5-6 hrs)
    The mailn reason for this is
    1) It Fetch data from huge table partition (i.e 18GB data for per day)
    2)Performs Group by operations
    3)In the where clause Index is not there on destination_number so performs Full Table scan
    I have some idea i.e I need to change the Some Parameter which will make the process faster ,
    Can you please help on this
    create or replace table tmp_kumar nologging as
    SELECT c.series_num , subscriber_id , COUNT(1) cnt , SUM(NVL(total_currency_charge,0))total_currency_charge ,
    TRUNC(disconnect_date) FROM
    (select * from prepcdr.PREPCDR_MAR_P3_10 partition(disconnect_date_11) union all
    select * from prepcdr.PREPCDR_MAR_P3_10 partition(disconnect_date_11_new)) b,
    (SELECT series_num, des, created_dt, LENGTH (series_num) len
    FROM PREPCDR.HSS_SERIES_MAST where home_ind ='Y'
    UNION
    SELECT cimd_number, des, created_dt, LENGTH (cimd_number)
    FROM PREPCDR.HSS_CIMD_MASTER) c
    WHERE b.cdr_call_type = '86'
    AND SUBSTR (b.destination_number, 1, c.len) = c.series_num
    AND c.len = (SELECT MAX(x.len) FROM (SELECT series_num, des, created_dt, LENGTH (series_num) len
    FROM PREPCDR.HSS_SERIES_MAST where home_ind ='Y'
    UNION
    SELECT cimd_number, des, created_dt, LENGTH (cimd_number) len
    FROM PREPCDR.HSS_CIMD_MASTER) x WHERE x.series_num = SUBSTR (b.destination_number, 1, x.len))
    AND disconnect_date >= '11-MAR-2010'
    AND disconnect_date < '12-MAR-2010'
    GROUP BY c.series_num , TRUNC(disconnect_date) , suBscriber_id

    This, most likely, will be more efficient:
    SELECT  c.series_num,
            subscriber_id,
            COUNT(1) cnt,
            SUM(NVL(total_currency_charge,0)) total_currency_charge,
            TRUNC(disconnect_date)
      FROM  (
              select  *
                from  prepcdr.PREPCDR_MAR_P3_10 partition(disconnect_date_11)
             union all
              select  *
                from  prepcdr.PREPCDR_MAR_P3_10 partition(disconnect_date_11_new)
            ) b,
             SELECT  DISTINCT series_num,
                              des,
                              created_dt,
                              len
               FROM  (
                      SELECT  series_num,
                              des,
                              created_dt,
                              len,
                              RANK() OVER(ORDER BY len) rnk
                        FROM  (
                                SELECT  series_num,
                                        des,
                                        created_dt,
                                        LENGTH(series_num) len
                                  FROM  PREPCDR.HSS_SERIES_MAST
                                  where home_ind ='Y'
                               UNION ALL
                                SELECT  cimd_number,
                                        des,
                                        created_dt,
                                        LENGTH(cimd_number)
                                  FROM  PREPCDR.HSS_CIMD_MASTER
               WHERE rnk = 1
            ) c
      WHERE b.cdr_call_type = '86'
        AND SUBSTR(b.destination_number,1,c.len) = c.series_num
       AND disconnect_date >= DATE '2010-03-11'
       AND disconnect_date < DATE '2010-03-12'
      GROUP BY  c.series_num,
                TRUNC(disconnect_date),
                suBscriber_id
    /SY.

  • Grouping the data in Spread sheet component in xcelsius

    Hi,
    I need to know how to perform grouping of data inside the spread sheet table
    For Eg:
    Category             Profit                    Loss
    [+]Manufacturing    10                            5
    [+]Retail                    70                           0
    Here i get the aggregate total of category
    If i expand the "manufacturing category", it could see tyres,products, cars list below
    Category             Profit                    Loss
    [-]Manufacturing    10                            5
    tyres                       5                              1
    Products                 3                              2
    cars                         2                             2
    Can u tel me how to implement this in the Spreasheet componet.
    Note: Can you tel me how to post the attachment,
    Regards,
    Abi

    Hi Prasad,
    Thanks a lot for ur earlier response.
    It solved my queries.
    Regards,
    abirami.

  • Performance issues. Took out EVENT.ADDED_TO_STAGE, Slower!?

    I don't understand. I went through all my code doing the following:
    init() {
         this.addEventListener(Event.ADDED_TO_STAGE, stageReady);
         this.addEventListener("creationComplete", creationComplete);
    public function creationComplete(event:Event=null):void {
         this.removeEventListener("creationComplete", creationComplete);
    public function stageReady(event:Event=null):void {
         this.removeEventListener(Event.ADDED_TO_STAGE, stageReady);
    Now my app runs super slow! Even slower than before. This isn't making any since ... I read this was supposed to help free up memory!!

    I have gone in and checked the box next to Perform Grouping on Server. The check box next to Use Index or Servers for Speed was already checked. The Links for the subreport are set up as follows.
    For subreport: Supported vs. Unsupported (This one comes from the ComputerSystem table)
    Container Report fields to link to: AST_AssetPeople.Asset_ID
    AS_AssetPeople.Asset_ID field link-
    Subreport parameter field to use: ?Pm-AST_AssetPeople.Asset_ID_
    Select data in subreport based on field: AST_ComputerSystem.Asset_ID_
    Asset ID is the only field that I found that the two tables have in common. I believe that I have the links set up correctly, but I could be wrong.
    Either way, I am still having the same problems.

  • Subreport Performance

    Hello Allu2026u2026..
    I have a report with 2 subreports. Both subreports contain data from an outside source which is uploaded into a user defined table.  When the main report had just 1 subreport, it ran fairly quickly.  But when I added the second subreport, it ran for 6 hours or more.  Both subreports are constructed basically the same and when run independently, they run quickly.  The main report grouping is the same for the 2 subs.  I have the 2 subs linked by by the same data field and also have a parameter set up for start & end date which is submitted by the user and driven from the main report.  These parameter fields link back to the subreports which have the same start u2013 end fields.  I do not know why the run time is so long with the secind subreport added.
    All shared variables are working correctly and I am seeing correct expected results, I'm not sure why it takes all day to refresh.
    Anyone experience something similar or have any suggestions or comments as to what could be elongating the refresh time.
    Thanks Dave

    excellent advice as per usual Carl!
    a couple more tips to ensure that your performance matches what you see on the report
    A)
    1) run the report in the designer with the Status Bar showing
    2) watch the number of records coming in...you show see something like 100 of 100, 1200 of 1200...ever 100 of 500 or 1200 of 35666...i.e. the first number is the number of records being written to the report, the second number is the total being brought back from the database
    3) as Carl suggested, a Command can be used to optimize this
    B)
    1) count the points of data that you see in each of your subreports...if you see 10 bars on a chart, an optimized report would bring back only 10 records. if you see 40 cells in a cross-tab, then 40 records, etc.
    2) again, Commands are a good way to go if you cannot get Perform Grouping on Server to optimize your record set
    cheers,
    jamie

Maybe you are looking for

  • Deleting file from .jar file

    I m having trouble with the Forum search, so sorry if this question has been answered before in this forum. If I create a .jar (or an .ear) file, then open the file using Winzip and then delete a file from the zip, does it corrupt the .jar file? I ra

  • Setup problem please anyone help ~~ me !!!

    i was trying to setup adobe photoshop and i clicked setup.exe (file picture display like as a white paper) and it told me to choose application. so i dont know how to change or choose which program .. please anyone help me out on this..

  • Form control grouping

    Hi! I have a problem with grouped form controls in Excel. This is the scenario: In Excel 2007 I create for example 2 radio buttons put within a group box and then I select all 3 controls and group them. I save and reopen the file in 2007 and all is f

  • Adding an app-v package to SCVMM 2012 R2

    Hi, I sequenced an application with App-v Sequencer 5.0 SP1. I don't have an app-v infrastructure (Server, Streaming ...). When the application is sequenced, I have the following files: Report.xml Application_Name.appv Application_Name.msi Applicatio

  • "connection refused" when accessing gmail pop server

    I am having a problem connecting to gmail. I get a "connection refused" error when I try to download or upload mail. This problem started last Saturday Aug, 22nd, give or take a day. As for trouble shooting, here's what info I can share. I am connect