Custom summary formulas

Custom summary formulas allow you to calculate values based on the numeric fields available in the report type. This means that you do not have to create custom formula fields for calculated results if they are only relevant in reports.

Formulas must be 3,900 characters or less. Up to five formulas can be created per report. Fields available for custom summary formulas are Number, Percent, and Currency. To add a new formula to a summary or matrix report, navigate to the Fields pane, where at the top, you will see the formulas folder icon. By double-clicking on the Add Formula option, you can define it and then click on OK. After you have defined a new formula on the report, it automatically gets added to the preview pane as a column for summary reports and as a summary field for matrix reports.

The following screenshot shows you the formula called Avg Expected Revenue, the top-left section of the Fields pane, and how it automatically appears in the preview pane as a column (on the far right) for the example summary report.

Custom summary formulas

To define a formula field, follow these steps:

  1. Click on Add Formula in the Fields pane.
    Custom summary formulas
  2. Enter a column name for the formula. This will be displayed within the report.
  3. Optionally, enter a description.
  4. Select the data type from the Format picklist.
  5. Select the number of decimal places from the Decimal Places picklist.
  6. Set the option denoting where this formula is to be displayed.
  7. The formula calculation will be displayed in the report at the level that is selected.
  8. Build the formula by selecting one of the fields listed in the Summary Fields picklist, and then select the summary type:

    Summary type

    Description

    Sum

    The sum of data in a field or grouping of fields

    Largest Value

    The largest value of data in a field or grouping of fields

    Smallest Value

    The smallest value of data in a field or grouping of fields

    Average

    The average of data in a field or grouping of fields

  9. Click on Operators to add operators to the formula. Select the function category, choose the function you want to use in your formula, and click on Insert.
  10. Click on Check Syntax to check whether the formula contains any errors and then click on OK.

Tip

Hiding details when building new reports

Often when building new reports, you will not necessarily know just how many records are actually going to be returned. This can be the reason for the report in the first place. You might also be experimenting with the report format to see what data is being returned. In these cases, you should set the Hide Details option to prevent the detailed data being returned and show just the "skeleton" of the report—this shows you the number of rows that will be returned. Limiting rows on a tabular report allows you to use it as a source report for the dashboard table and chart components. However, if you change the report format, the Row Limit setting is automatically removed.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.76.164