多くの場合、レポートのセルで # エラー! が発生するのは、 数式が数値をゼロで除算しているためです。
注: 通貨項目は、レコードとレポートには空白として表示されますが、常に数式では 0.00 が設定されます。
分母の値を確認する IF 文を追加します。
たとえば、次の式の場合 : SampleField__c:SUM / SampleField2__c:SUM
次のように記載します : IF(SampleField2__c:SUM = 0, SampleField__c:SUM, SampleField__c:SUM / SampleField2__c:SUM)
たとえば、次のカスタム集計式の場合 : IF( CLOSED:SUM = 0, 0, AMOUNT.CONVERT:SUM/CLOSED:SUM)
レポートは次のように表示されます:
| Amount | Closed | Amount / SUM of Closed | |
| Type: - (3 records) | US 300,000 | 3 | 100,000 |
| Type: New Business (1 record) | US 200,000 | 1 | 200,000 |
| Grand Totals (4 records) | US 500,000 | 4 | 125,000 |
数式の総計は、レコードの数式の結果の合計とは異なります。 これは、総計が上記の数値の合計ではなく、サマリレベルで数式を評価しているためです。 金額の総計がゼロでないため、総計は実行時に計算されます。
上記の例 "AMOUNT.CONVERT:SUM/CLOSED:SUM" では、500.000 / 4 = 125.000 になります。 (100.000+200.000 =) 300.000 にはなりません。
注:
000384796

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.