Crystal Groups

Hi,
I have a problem in a report.  I want to do a group with the numbers of several invoces. I want to group by number.
Imagine I have 20 rows and one of them doesn´t have any number. Well, when i refresh the data, Crystal it makes me a report just with that line without number because I clicked on the "new page after" option. In fact I dont want to lose that group cause is working properly but I dont want to lose the order of the invoces neither. I want the invoce without number in the same order (I`ve already clicked on the "in original order" option and is not working neither) that the bapi is giving to me but with the group criteria. I think I have to set an exception but I dont find the option.
If I want two groups (so 2 reports) and I have one invoce with no number, Crystal gives me 3 reports (the third one is just with that line without number)
Thanks in advance,
Javier.

Hi Javier, 
You can try using a Group Selection Formula to remove that group like: 
{GroupName (table.InvoiceNumber}) NotEqual 0;
Replace NotEqual with Greater Than and Less Than signs. 
This should do what you want without messing up your order. 
Good luck,
Brian

Similar Messages

  • Layout issue with Crystal Grouping

    Dear all,
    I have created a report with Graph and the records on the group level. The data and graph is showing perfectly fine however the problem is the layout.
    Right after the graph, data starts to show up, which means, the data adjusts itself either on page 1 or 2 by itself. That makes the report look really bad because half of the data is on the first page and half is on the second page.
    I have looked at the section expert options but did not find where I could say "Start section Group1b from new page".
    Could someone please guide me to the right place?
    here is how report shows up
    Page1
    Graph
    Data
    Data
    Data
    Page 2
    Data
    Data
    Data
    What I would like it to do is
    Page1
    Graph
    Page2
    Data
    Data
    Data
    Data
    Data
    The Group Footer is divided from Group 1a to Group 1p.
    Regards
    Jehanzeb

    I think I answered my own question while typing the question.
    I placed the graph on the group header and kept the footer for the data and clicked on Keep group together.
    It worked like a charm
    Regards

  • Crystal Report Group section in new page

    Hi all,
    I have a program written in VB.Net 2005 which display a report. In this report, I have a group by Item type ascending.
    When I run the program and load the report, it display the data correctly.
    When I move my mouse cursor on Group Section Hearder on the report, it will change to Magnify icon.
    When I double click on that Group title which is "Item Type" in my report, it will load a new page beside "Main Report" in Crystal tool bar.
    Problem is it didn't contain Report Header/Footer or Page Header/Footer.
    I like this feature but it only display the group section is not enough for me.
    Why I like it is because my report will have different Item Type. Each type can list up to more than 1 page.
    I want to print the report by Item Type. That means Item A may be total 2 pages, Item B may be total 6 pages.
    All I need to do is load the page like I mention above, it will only contain that Item Type and click on Print to print out particular Item type.
    Another issue is If i supress this Group Section in crystal report during design, when I run the program I can't double click to open up new page beside Main report.
    Any idea and solution for my case????
    Thanks.
    Edited by: scsfdev on Mar 4, 2010 9:34 AM

    Your report will need re-designing. What you are seeing is an expected behavior. Consider redesigning your report - possibly using subreports.
    If i supress this Group Section in crystal report during design, when I run the program I can't double click
    - again, an expected behavior. You suppressed the GroupSection. E.g.; you made it invisible / non functional / not needed by suppressing it...
    Ludek

  • Sub report group tree in main report Using crystal report 12

    Hi experts,
        I have a strange requirement like, same data needs to be grouped two different ways in a same report.  Like
    Store1:
        Summary of sales on each item chart
    Store2:
        Summary of sales on each item chart
    .....it goes like this
    Department1(multiple stores)
          summary of sale on each item chart - store1
          summary of sale on each item chart - store2
         --........ it goes
    Department2
          summary of sale on each item chart - store3
    --........ it goes
       Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
        I achieved  this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
       How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
    I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
    Thanks in advance.

    Hi
    Thanks for the reply.
        Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
        So please me with some different ways and also , please clarrify the following doubts
    1. Can we supress one or more items in the group tree.
    2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
    Please help me

  • How to store the value of sum of group in Crystal Report at the runtime!

    Hello all,
    I creates a Formula Field that hold the value of Sum of Group in Crystal Report. I would like to know how to store it in a variable and pass it to store procedure. Is it an option in Crystal report to do it. I knew that Crystal Report can cache the report for sharing. My detailed issue as following:
    - Created a Formula Field named TOTAL AMOUNT that calculated the complex expression. This TOTAL AMOUNT is dynamic based on group and variables.
    - I would like to store that value from TOTAL AMOUNT and pass it to the stored procedure parameter IN.
    Any helps are much appreciated. Thanks.

    I doubt that this is possible since it would only calculate this value once the report has data.  This sounds more like a report design question that should be asked over [here|SAP Crystal Reports;

  • Hide the 'group tree' in crystal reports 2008

    Hey Guys,
    Please help me out.
    I need to hide the group tree which automatically shoots on the crystal report after execution.
    This is what i need to see. Only the report data (After report execution) i do not need to see the group tree under the tab 'main report' which appears on the left had side of the report.
    I know that in the previous version there was an option which would hide the group tree option under File>Report Option> uncheck Group tree.
    But there is no option here in CR 2008.
    Is there a code i need to insert somewhere in the report??
    Regards,
    Harvino

    Hi Chinmay,
    Thanks for your quick reply, I was late on the reply because I had a load of other things to do. Sorry for that....
    I am aware that we can click the toggle panel to remove the group tree.
    But a user wants to hide the group tree on 1st run,,,, that is causing the problem.....
    I cant seem to find an option we can disable group tree for the user, so that he may not view the group tree..
    Harvin

  • Group in Crystal report 2008

    Hi all!
    In my report, i want to group my data as bellow.
    Warehouse name
       Itemgroup name
           Item Description
    Now i am using Group expert tool, but only group done
    Warehouse
        Itemcode
    Can you show me, how to do?
    Thank you!
    Edited by: Rui Pereira on Jan 27, 2009 5:07 PM

    Hi Tien ,
    Let me go to troubleshooting  :
    1. Are you saying that group expert tool is not showing Item Description
    2. After you did using group expert , it is not doing grouping .
    Solution tips ;
    1.If you are using store procedure , you can group in store procedure before you pull into crystal report.
    2.  If you are not seeing item description, check data type and convert into varchar . Most of the cause is crystal do not like some data type , so  it will not show .
    Hope this helps to narrow
    Thank you
    Bishal

  • Error 1603 when installing Crystal reports XI by group policy

    Hi,
    **I am trying to create a Group policy deployment package of Crystal reports 11.5. I have successfully installed other packages from the same share and witrh the same permissions etc. but when I try to install Crystal I end up with the folowing details in the appmgmt.log:
    **++08-11 16:11:03:781
    +Software installation extension has been called for foreground synchronous policy refresh.+
    +The following policies are to be applied, flags are 1.+
        +in development CR (unique identifier {F3CBE794-92FB-4C74-A048-1C8BE81A4ABC})+
            +System volume path =
    rc.local\SysVol\rc.local\Policies\{F3CBE794-92FB-4C74-A048-1C8BE81A4ABC}\Machine+
            +Active Directory path = LDAP://CN=Machine,cn={F3CBE794-92FB-4C74-A048-1C8BE81A4ABC},cn=policies,cn=system,DC=rc,DC=local+
    +Set the Active Directory path to LDAP://CN=Class Store,CN=Machine,cn={F3CBE794-92FB-4C74-A048-1C8BE81A4ABC},cn=policies,cn=system,DC=rc,DC=local;.+
    +Enumerating applications in the Active Directory for computer BRXWK007377 with flags 5.+
    +The following applications were found in policy in development CR.+
        +Assigned application Crystal Reports XI (flags a0005470).+
    +Found 1 applications in policy in development CR.+
    +Enumerating the managed applications which are currently applied to this user.+
    +No managed applications are currently applied to this user.+
    +Found 0 applications locally that are not included in the set of applications from the Active Directory.+
    +Application Crystal Reports XI from policy in development CR is set for installation because it is assigned to this computer policy.+
    +Assigning application Crystal Reports XI from policy in development CR.+
    +Calling the Windows Installer to advertise application Crystal Reports XI from script C:\WINDOWS\system32\appmgmt\MACHINE\{f29d0933-61ee-4794-9840-78cd8aecf2f5}.aas with flags 69.+
    +The assignment of application Crystal Reports XI from policy in development CR succeeded.+
    +Calling the Windows Installer to install application Crystal Reports XI from policy in development CR.+
    +The install of application Crystal Reports XI from policy in development CR failed.  The error was : %1603+
    +Removing application Crystal Reports XI from the software installation database.+
    +Calling Windows Installer to remove application advertisement for application Crystal Reports XI from script C:\WINDOWS\system32\appmgmt\MACHINE\{f29d0933-61ee-4794-9840-78cd8aecf2f5}.aas.+
    +The removal of the assignment of application Crystal Reports XI from policy in development CR succeeded.+
    +Policy Logging for Software Management is attempting to log application Crystal Reports XI from policy in development CR.+
    +Failed to apply changes to software installation settings.  Software changes could not be applied.  A previous log entry with details should exist.  The error was : %1603+
    +Software installation extension returning with final error code 1603.+
    To create the installation point I copied both CD's to our server and executed a command line setup.exe /a
    Can anyone help me move forwards please?
    Thanks
    Chris

    Hi there,
    Try the following silent install command via the DOS command prompt:
    setup.exe ADDLOCAL=ALL CLIENTLANGUAGE=EN REBOOT=ReallySuppress PIDKEY=B1234-1234567-1234567-1234 INSTALLDIR="C:\Program Files\Business Objects\Crystal Reports 11.5" /qn /l* C:\temp\CRXIr2Trace.txt
    Notes and explanations:
    In the above example, it assumes that you copied the installation media to the C:.  You will also have to change directory to the wherever the win32 directory is.  The setup.exe is located in the win32 folder of the installation media.
    If you had put the win32 directory in say, C:\CRXIr2\win32, then you will have to navigate to this point first before typing the string above.  You will also need to change the product key from B1234-1234567-1234567-1234 to match your own. 
    The ADDLOCAL switch specifies a list of features to install.  ADDLOCAL=ALL then installs all the features.
    The REBOOT=ReallySuppress prevents Crystal Reports from prompting the user to reboot the machine
    The /qn switch performs the installation silently without prompting the user . 
    Finally, the string above also logs the installation to a text file in C:\temp\CRXIr2Trace.txt.
    You can find a full explanation of the switches and silent install string from xir2_cr_install_en.pdf in the installation media.

  • Crystal Reports Group-by-Summarized Data on SAP-BW

    Hi experts
    I am facing some strange problem while building report aginst SAP-BW
    I have two groups of data set in crystal Reports
    Ist group is on Business Area
    2nd Group is on Cost Element(under business Area)
    and (YTD- Amount) Across  Business Area and Cost Element.
    Problem: I am unable to get correct summarized amount for business area.(which should be sum of all cost elements under specific business area)
    PS: I have done hireachial grouping as mentioned for SAP-BW practise.
    And also tried to apply all summarized formulas with no result.
    But iam unable to trace why it is happening.
    Advance thanks
    Krishna

    did you try inserting the summary in a specific group footer?
    regards,
    Raghavendra

  • Need to count the number of groups in a Crystal Reports 2008 report

    I have created a report with three levels of grouping. There are several items in each level.  I want to count the number of groups.  I have tried countdistinct but it counts the number of items in the lowest level of grouping and I want the number of items in the higher  levels.  This is a distribution data base.  I have the data grouped by date, by truck on each date, and by "run" or load on each truck on each date.  I want to count the total number of groups of truck and run, which is the second level of the grouping.  Any ideas? I am fairly new to Crystal.

    Hi Debbie,
         To count the number of groups please try the folling steps:
    1) Create a formula @reset and place this formula in the page header
        whileprintingrecords;
        numbervar i:=0;
    2) Create another formula @evalgroup place this in the group header where you want to count the values.
        whileprintingrecords;
        numbervar i:= i+1;
    3) Create another formula @display and place this in report footer.
        whileprintingrecords;
        numbervar i;
    In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
    Hope this helps!!!
    Regards,
    Vinay

  • How to group by more than one fields in crystal reports

    Hi
    How to create groups in crystal reports by more than one fields, like
    select fields,aggregate functions from table group by a,b,c

    Not sure if I understand your question, but you you could create a formula to generate the string of data you want to group on.  Then simply create a group based on the formula field.
    For example, your formula could do something like (assuming all String fields):
    {table1.FirstName} + {table1.LastName} + {table1.DateOfBirth}
    , and then group on this formula.
    -MJ

  • 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.

  • Crystal Report with "Sub-groups"

    I'm trying to do a crystal report in .Net 2008 in the following format:
    Name____Col1_____Col2____Col3____Time
    ______________________________Dias_Horas_Minutos
    SUBAREA_a
    X____test____AAAA____AAAA1____1____2____3
    Y____test____BBBB_____BBBB1____3____2____1
    _____________________Subtotal____4____4____4
    SUBAREA_b
    X____test____AAAA____AAAA1____1____2____3
    Y____test____BBBB____BBBB1____3____2____1
    _____________________Subtotal____4____4____4
    SUBAREA_c
    X____test____AAAA____AAAA1____1____2____3
    Y____test____BBBB____BBBB1_____3____2____1
    _____________________Subtotal____4____4____4
    _____________________TOTAL____12____12____12
    Is there a way to do this, maybe using a subreport?
    Thanks in advance
    Edited by: lukinpt on Aug 6, 2009 4:29 PM

    Looks like you will have to use subreport(s).
    This:
    Name____Col1_____Col2____Col3____Time
    ______________________________Dias_Horas_Minutos
    could be in the main report. Now, depending on the data, the rest would be in a subreport, grouped on SUBAREA, Alternatively, you would need to create a subreport for SUBAREA_a, SUBAREA_b and SUBAREA_c.
    For more detailed discussion, please post your query to the Report Design forum:
    SAP Crystal Reports
    Ludek

  • Exporting a report with group in crystal report

    Hi all,
    I am new to crystal reports XI.
    I have designed a report in which I have created 2 groups.
    The structure of report is shown below.
    MAIN REPORT:
    Status           1st     2nd 3rd
    A               10      20   30
    B               40      50   60
    When I double click on groups(either A or B) another subreport gets opened.
    The structure of the sub report is
    DETAILED REPORT:
    A            10        20     30
    Name:XYZ
    Age:XY
    Place:XYZ.
    My query is when i export the report in PDF format only the main report is getting exported.
    I have to run this report through BOXI and have to send the mail to users in PDF format.
    But when i export the report in PDF format i am not able to see the detailed report.
    Please give me suggestions how can i resolve this problem.
    Thanks in advance...

    In the report design description I undestand that when you double click on the group header it opens the subreport. I think this might be on demand subreport or you might have used suppress condition for the subreport section using "drilldowngrouplevel". If you are suppressing conditionally and showing the report when you double click on it these feature will work only in crystal report but not in PDF. So it is better to remove conditional suppress and show the complete data so that when you export it to PDF it will show all the data.
    Regards,
    Raghavendra

  • Custom structure grouping in crystal report 2008

    I have a Product Line revenue report, where it is reporting revenue and cost for various oilfield divisions such as oilfield us, oilfield egypt, oilfield oman etc.... and total at the end.
    say if iam developing a custom structure for each division in a BEx query and the results of the queries have to be shown in one report.
    now the custom structure is coming down as a flat structure in crystal report 2008, so I added conditional formatting in X-position to indent, that shows as a hierarchy.
    I will do the same for all the divisions in the report.
    Can I make this each division as groups so I can add the drill-down to see a particular division by selecting that group, instead of scrolling thru pages. Please help!!
    Any suggestion with all that Iam doing to generate the P&L report is greatly appreciated.
    Thanks.

    Hi Ingo,
    This is not hierarchy actually. It is actually BEx structure created in row section which replicating hierarchy levels. In BEx web application it provides the hierarchy look.
    But while using it in either WebI, crystal report or Voyager it gives us a flat column instead of hierachy. I have understood this.
    Using this flat column I am trying to create groups to replicate the hierachy structure. Please let me know if you want more explanation.
    Thanks
    Raghu

Maybe you are looking for