SAP Crystal Reports 2011, Win User's Guide Page 155

  • Download
  • Add to my manuals
  • Print
  • Page
    / 718
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 154
8.2.5.3 Troubleshooting group selection formulas
In some cases, no values will print when using a group selection formula, even though there are values
that match the selection criteria. Typically, in these cases:
The group selection formula references another formula.
The referenced formula is one that calculates the value of each group as a percentage of the total
value of all groups (in other words a subtotal as a percentage of a grand total).
8.2.5.3.1 To correct a group selection formula
1.
To get started, create a report using the sample database, Xtreme.mdb. Link the Customer and
Orders tables, then place the following fields in the Details section:
{customer.CUSTOMER NAME}
{customer.REGION}
{orders.ORDER ID}
{orders.ORDER AMOUNT}
Note:
Xtreme.mdb is located on the SAP Business Objects Support web site.
For each order, the report shows the customer that placed the order, the region in which that customer
is located, the order ID number, and the amount of the order.
2.
Group the report by the {customer.REGION} field.
3.
Insert a summary that subtotals the {orders.ORDER AMOUNT} field for each {customer.REGION}
group.
The program calculates a subtotal in the {orders.ORDER AMOUNT} field every time the region
changes. See Subtotaling data.
4.
Insert a grand total on the {orders.ORDER AMOUNT} field to see the total value of all orders placed.
5.
Create a formula named Percent that calculates each subtotal as a percentage of the grand total to
see the value of the orders for each region group as a percentage of all orders placed.
Sum({orders.ORDER AMOUNT}, {customer.REGION})
% Sum({orders.ORDER AMOUNT})
6.
Place the formula in the Group Footer section of the report.
7.
Reference the formula (@Percent) in a group selection formula that selects only those groups for
which the percentage (of subtotal to grand total) is less than 5% in order to find out which regions
individually contributed less than 5% of total sales:
{@Percent} < 5
When you click Check, you will receive the following error message:
This formula cannot be used because it must be evaluated later.
2012-03-14155
Sorting, Grouping, and Totaling
Page view 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 717 718

Comments to this Manuals

Edwinfet 29 Feb 2024 | 09:13:09

What are the upsides of contracting skilled web optimization organizations? Expert search marketing companies utilize teams of experts focused on elevating your site's content for browsing engines. This encompasses researchingsearch phrases, adjusting on site characteristics, and managing off-domain enhancements. Moreover, these firms monitor adjustment in from Google parameters and refresh the text on your website as needed. This saves both you your time and your workers from unwanted a

KarenSkaky 17 Apr 2024 | 12:11:41

Securing the security of your home is essential in today's unsettled times. Among the best ways to safeguard your belongings and peace of mind is by committing in a trustworthy safe. Regardless of whether you're securing money, important documents, or precious heirlooms, a safe gives a protected repository solution. Regarding selecting the right safe for your house, there are several elements to consider. Above all, assess your safety requirements. Determine what items you plan to store in

Helenlal 18 Apr 2024 | 10:19:10

Arranging an open-air wedding in Phenix and anxious about the unpredictable weather? Don't let Mother Nature rain on your parade – truly! At [Event Rentals Phoenix], we provide stunning wedding tent rentals that will ensure your distinctive day goes off without an hitch. Our wedding tent rentals are created to supply both charm and functionality. Say "I do" under tha elegant canopy of one of our tents, surrounded by your loved ones and tha breathtaking scenery of Pheonix. With one assortmen

Helenlal 29 Apr 2024 | 07:23:21

In both personal and professional situations, encountering issues is unavoidable. However, mastering productive trouble-shooting techniques is key for triumphing over hurdles and accomplishing success. In this piece, we delve into the strategies and methods for efficiently addressing dilemmas. From analytical thinking to creative brainstorming, we look into various approaches that can help individuals tackle challenges with certainty and accuracy. Effective challenge solving begins wit

Chrisnug 29 Apr 2024 | 16:39:54

Hello, im noob :)