レポートで、日付項目のグループ化を行う時、列の「集計期間単位」で「月」または「年月」を選択することが可能です。
ただし、「月」または「年月」の期間単位は、開始日が月の「1 日」からで、カスタムの開始日を選択することはできません。
数式を使い、日付の値を、任意の開始日から始まる月の表示に変えることが可能です。
数式の例:IF(DAY(DateField__c) >= 21, MOD(MONTH(DateField__c), 12) + 1, MONTH(DateField__c))
サンプルの数式では、21 日から末日までの期間を、次の月の数字で返しています。
例えば、3 月 21 日から 4 月 20 日までを、「4」の数字で返します。12 月 21 日から次の年の 1 月 20 日までが「1」となります。
必要に応じ、月の開始日を「21」から変更してください。
また、'DateField__c' も、対象の項目の名前に差し替えてください。
数式は、レポートの「行レベルの数式」、または対象オブジェクトのカスタム項目にすることが可能です。
レポートの列に、数式からの表示を追加し、グループ化を行います。
005299101

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.