SAP Knowledge Base Article - Public

1296653 - How to remove a group name from Group Tree in Crystal Reports?

Symptom

  • How to delete group name from the group tree?
  • How to remove group name from the Group Tree without removing the group by field as it is required for summarizing the data, in Crystal Reports?

Environment

  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Reproducing the Issue

  1. In Crystal Reports, create a report based on any data source.
  2. Insert 2 groups on the report.
  3. The Group Tree will show both group name values. 
    How to remove the second group from showing in the Group Tree? 

Resolution

  • Group Tree is based on the groups inserted on the report, and there is no option to change what it displays.
      
  • A potential workaround is to not show the second group is to only group by the first group, and insert the second group in a subreport.
      
    1. In Crystal Reports, create a report based on any data source.
    2. Insert a group.
    3. Create another report by inserting a group on the second database field.
    4. Insert this report as a subreport in Group Gooter of main report.
    5. Link the subreport to the main report on the first group database fields.
    6. The main report Group Tree will only show the group inserted on the main report.

Keywords

CR, Group tree , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2016 ; SAP Crystal Reports 2020